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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    overflow-x: hidden;
    background: #0a0a0a;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #2a2a2a;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8f5cff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}



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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(143, 92, 255, 0.2);
    color: #b16cea;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(143, 92, 255, 0.3);
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #b16cea;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(143, 92, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #b16cea;
    border: 2px solid #b16cea;
}

.btn-secondary:hover {
    background: #b16cea;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #b16cea;
    border: 2px solid #b16cea;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: #b16cea;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(143, 92, 255, 0.2);
    border: 4px solid rgba(143, 92, 255, 0.3);
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.hero-visual-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.innovation-hub {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-center {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    border: 2px solid rgba(143, 92, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.pulse-ring:nth-child(1) {
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.pulse-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    width: 100px;
    height: 100px;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.hub-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(143, 92, 255, 0.5);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(143, 92, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(143, 92, 255, 0.8);
    }
}

.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stream {
    position: absolute;
    display: flex;
    gap: 0.5rem;
}

.stream-1 {
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
}

.stream-2 {
    top: 60%;
    right: 15%;
    transform: rotate(-30deg);
}

.stream-3 {
    bottom: 25%;
    left: 20%;
    transform: rotate(15deg);
}

.data-point {
    width: 6px;
    height: 6px;
    background: #b16cea;
    border-radius: 50%;
    animation: dataFlow 2s ease-in-out infinite;
}

.data-point:nth-child(1) { animation-delay: 0s; }
.data-point:nth-child(2) { animation-delay: 0.3s; }
.data-point:nth-child(3) { animation-delay: 0.6s; }
.data-point:nth-child(4) { animation-delay: 0.9s; }

@keyframes dataFlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.innovation-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 25px;
    height: 25px;
    background: rgba(143, 92, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b16cea;
    font-size: 0.7rem;
    border: 1px solid rgba(143, 92, 255, 0.3);
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
        opacity: 1;
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b16cea;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(143, 92, 255, 0.3);
    backdrop-filter: blur(10px);
}

.floating-card:nth-child(1) {
    top: 20%;
    right: -5%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 65%;
    right: -5%;
    animation-delay: 1.5s;
}

.floating-card:nth-child(3) {
    top: 70%;
    left: -5%;
    animation-delay: 3s;
}

.floating-card:nth-child(4) {
    top: 45%;
    right: -5%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 4.5s;
}

.floating-card:nth-child(5) {
    top: 45%;
    left: -5%;
    animation-delay: 6s;
}

.floating-card:nth-child(6) {
    top: 25%;
    left: -5%;
    animation-delay: 7.5s;
}

.floating-card:nth-child(7) {
    top: 10%;
    left: 45%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 9s;
}

.floating-card i {
    font-size: 1.2rem;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background: #1a1a1a;
}

/* Featured Projects Grid */
.featured-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.featured-project-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    backdrop-filter: blur(10px);
}

.featured-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(143, 92, 255, 0.4);
}

.featured-project-card.main {
    grid-column: 1;
}

.featured-project-card .project-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.featured-project-card.main .project-image {
    height: 320px;
}

.featured-project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.featured-project-card:hover .project-image img {
    transform: scale(1.05);
}

.featured-project-card:hover .project-image {
    box-shadow: 0 12px 35px rgba(143, 92, 255, 0.2);
}

.project-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
}

.project-category {
    background: rgba(143, 92, 255, 0.95);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(143, 92, 255, 0.3);
    backdrop-filter: blur(10px);
}

.featured-project-card .project-content {
    padding: 2rem;
}

.featured-project-card.main .project-content {
    padding: 2.5rem;
}

.project-header {
    margin-bottom: 1.5rem;
}

.featured-project-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
}

.featured-project-card.main h3 {
    font-size: 1.8rem;
}

.project-role {
    color: #b16cea;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-project-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.highlight {
    background: rgba(143, 92, 255, 0.15);
    color: #b16cea;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(143, 92, 255, 0.3);
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(143, 92, 255, 0.25);
    transform: translateY(-1px);
}

.project-metrics {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(143, 92, 255, 0.2);
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b16cea;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #b0b0b0;
    font-weight: 500;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    align-items: center;
}

.project-buttons .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.project-buttons .btn-outline {
    background: transparent;
    color: #b16cea;
    border: 2px solid rgba(143, 92, 255, 0.3);
}

.project-buttons .btn-outline:hover {
    background: rgba(143, 92, 255, 0.1);
    border-color: rgba(143, 92, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(143, 92, 255, 0.2);
}

.project-buttons .btn-primary {
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    color: white;
    box-shadow: 0 4px 15px rgba(143, 92, 255, 0.3);
}

.project-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #8f5cff, #b16cea);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(143, 92, 255, 0.4);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(143, 92, 255, 0.3);
    transform: translateY(-2px);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: #b16cea;
    font-size: 1.2rem;
}

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

.skill-tag {
    background: rgba(26, 26, 26, 0.8);
    color: #b16cea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(143, 92, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(143, 92, 255, 0.2);
    transform: translateY(-1px);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    backdrop-filter: blur(10px);
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(143, 92, 255, 0.3);
}

.project-visual {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    z-index: 1;
}

.project-visual .orbit-visual {
    width: 100%;
    height: 100%;
}

.project-visual .orbit-center {
    width: 70px;
    height: 70px;
}

.project-visual .orbit-center i {
    font-size: 1.5rem;
}

.project-visual .orbit-dot {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

.project-visual .orbit-dot i {
    font-size: 0.8rem;
}



.project-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: block;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-image:hover {
    box-shadow: 0 12px 35px rgba(143, 92, 255, 0.2);
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-details {
    background: rgba(26, 26, 26, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #b16cea;
}

.project-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.project-details ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.project-details li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #b0b0b0;
}

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

.tag {
    background: rgba(26, 26, 26, 0.8);
    color: #b16cea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(143, 92, 255, 0.3);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-text p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-buttons {
    margin: 2rem 0;
}

.about-buttons .btn {
    margin-right: 1rem;
}

.certificates h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.certificate-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certificate {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.certificate:hover {
    transform: translateY(-2px);
    border-color: rgba(143, 92, 255, 0.3);
    box-shadow: 0 8px 25px rgba(143, 92, 255, 0.15);
    background: rgba(26, 26, 26, 0.9);
}

.certificate i {
    color: #8f5cff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.certificate:hover i {
    color: #b16cea;
}

.certificate span {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.certificate:hover span {
    color: #ffffff;
}

.about-visual {
    position: relative;
    width: 320px;
    height: 320px;
}

/* Orbit visual */
.orbit-visual { position: relative; width: 100%; height: 100%; }
.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 3px solid rgba(143, 92, 255, 0.4);
    box-shadow: 0 15px 35px rgba(143, 92, 255, 0.25);
    display: flex; align-items: center; justify-content: center;
    color: #ffffff;
    animation: centerPulse 4s ease-in-out infinite;
}
.orbit-center i { 
    color: #b16cea; 
    font-size: 2.2rem; 
    filter: drop-shadow(0 0 8px rgba(143, 92, 255, 0.5));
}

.orbit-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
}

.orbit-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    background: rgba(143, 92, 255, 0.18);
    border: 1px solid rgba(143, 92, 255, 0.35);
    color: #b16cea;
    padding: .4rem .65rem;
    border-radius: 999px;
    display: flex; align-items: center; gap: .35rem;
    font-size: .8rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    animation: insideOut 6s ease-in-out infinite;
    animation-delay: var(--d);
}
.orbit-dot i { color: #b16cea; font-size: .95rem; }

@keyframes centerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 15px 35px rgba(143, 92, 255, 0.25);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 20px 45px rgba(143, 92, 255, 0.4);
    }
}

@keyframes insideOut {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.8) translateY(0);
        opacity: 0.7;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1) translateY(-12px);
        opacity: 1;
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #2a2a2a;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(143, 92, 255, 0.3);
}

.contact-item i {
    font-size: 1.5rem;
    color: #8f5cff;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-item p {
    color: #b0b0b0;
    margin: 0;
}

.contact-form {
    background: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: rgba(143, 92, 255, 0.3);
    box-shadow: 0 15px 35px rgba(143, 92, 255, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: rgba(26, 26, 26, 0.8);
    color: #e0e0e0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8f5cff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
}

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

/* Contact form specific button styling */
.contact-form .btn-primary {
    background: linear-gradient(135deg, #b16cea, #8f5cff);
    color: white;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(143, 92, 255, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #b0b0b0;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #2a2a2a;
}

/* Responsive Design - Mobile First Approach */

/* Large Screens (27-inch monitors and above) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .nav-container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .featured-projects-grid {
        max-width: 1200px;
        gap: 2.5rem;
    }
    
    .projects-grid {
        max-width: 1400px;
        gap: 2.5rem;
    }
    
    .skills-grid {
        max-width: 1400px;
        gap: 2.5rem;
    }
    
    .about-content {
        max-width: 1400px;
        gap: 5rem;
    }
    
    .contact-content {
        max-width: 1400px;
        gap: 5rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 5rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .project-image {
        height: 250px;
    }
    
    .featured-project-card .project-image {
        height: 320px;
    }
    
    .featured-project-card.main .project-image {
        height: 360px;
    }
}

/* Large Tablets and Small Laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image {
        width: 280px;
        height: 280px;
    }
    
    .featured-projects-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-project-card.main {
        grid-row: span 1;
    }

    .skills-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card.large {
        grid-column: span 1;
    }

    .about-content {
        max-width: 100%;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-content {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }



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

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

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }

    .floating-elements {
        display: none;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-project-card.main {
        grid-row: span 1;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .project-card.large {
        grid-column: span 1;
    }

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

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

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

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

    .featured-project-card .project-content {
        padding: 1rem;
    }

    .featured-project-card.main .project-content {
        padding: 1.5rem;
    }

    .project-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .metric {
        text-align: center;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .featured-project-card .project-image {
        height: 220px;
    }
    
    .featured-project-card.main .project-image {
        height: 240px;
    }
}

/* Large Mobile */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-image {
        width: 220px;
        height: 220px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .featured-projects-grid,
    .projects-grid,
    .skills-grid,
    .about-content,
    .contact-content {
        max-width: 100%;
    }
    
    .project-image {
        height: 170px;
    }
    
    .featured-project-card .project-image {
        height: 210px;
    }
    
    .featured-project-card.main .project-image {
        height: 230px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat {
        min-width: 60px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .featured-project-card .project-content {
        padding: 1rem;
    }

    .featured-project-card.main .project-content {
        padding: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-image {
        width: 180px;
        height: 180px;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .skill-category {
        padding: 0.8rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-form {
        padding: 0.8rem;
    }
    
    .featured-projects-grid,
    .projects-grid,
    .skills-grid,
    .about-content,
    .contact-content {
        max-width: 100%;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-image {
        width: 150px;
        height: 150px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .featured-projects-grid,
    .projects-grid,
    .skills-grid,
    .about-content,
    .contact-content {
        max-width: 100%;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .project-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-elements,
    .hero-buttons,
    .cta-buttons,
    .back-button {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section {
        padding: 20px 0;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat {
        min-width: 60px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .featured-project-card .project-content {
        padding: 1rem;
    }

    .featured-project-card.main .project-content {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}
