/* Reset and Base Styles */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



:root {

    /* Dark Theme Colors */

    --primary-black: #0a0a0a;

    --secondary-black: #1a1a1a;

    --dark-grey: #2a2a2a;

    --medium-grey: #404040;

    --light-grey: #6b6b6b;

    --lighter-grey: #9ca3af;

    --white: #ffffff;

    

    /* Blue Accent Colors */

    --primary-blue: #3b82f6;

    --secondary-blue: #1d4ed8;

    --light-blue: #60a5fa;

    --dark-blue: #1e3a8a;

    

    /* Gradients */

    --blue-gradient: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));

    --dark-gradient: linear-gradient(135deg, var(--primary-black), var(--secondary-black));

    

    /* Typography */

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    

    /* Spacing */

    --section-padding: 80px 0;

    --container-padding: 0 20px;

    

    /* Transitions */

    --transition: all 0.3s ease;

}



body {

    font-family: var(--font-family);

    background-color: var(--primary-black);

    color: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

    overflow-y: auto;

    margin: 0;

    padding: 0;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: var(--container-padding);

}



/* 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: var(--transition);

}



.nav-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.nav-logo {

    display: flex;

    align-items: center;

}

.logo-img {

    height: 60px;

    width: auto;

    max-width: 200px;

    object-fit: contain;

    transition: var(--transition);

}

.logo-img:hover {

    transform: scale(1.05);

}



.nav-menu {

    display: flex;

    list-style: none;

    gap: 2rem;

}



.nav-link {

    color: var(--white);

    text-decoration: none;

    font-weight: 500;

    transition: var(--transition);

    position: relative;

}



.nav-link:hover {

    color: var(--primary-blue);

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--blue-gradient);

    transition: var(--transition);

}



.nav-link:hover::after {

    width: 100%;

}



.hamburger {

    display: none;

    flex-direction: column;

    cursor: pointer;

}



.bar {

    width: 25px;

    height: 3px;

    background: var(--white);

    margin: 3px 0;

    transition: var(--transition);

}



/* Hero Section */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    background: var(--dark-gradient);

    position: relative;

    overflow: hidden;

}



.hero::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);

    pointer-events: none;

}



.hero-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.hero-title {

    font-size: 3.5rem;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 1.5rem;

}



.highlight {

    background: var(--blue-gradient);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.hero-subtitle {

    font-size: 1.2rem;

    color: var(--lighter-grey);

    margin-bottom: 2rem;

    line-height: 1.8;

}



.hero-buttons {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}



.btn {

    padding: 12px 30px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    transition: var(--transition);

    display: inline-block;

    border: none;

    cursor: pointer;

    font-size: 1rem;

}



.btn-primary {

    background: var(--blue-gradient);

    color: var(--white);

}



.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);

}



.btn-secondary {

    background: transparent;

    color: var(--white);

    border: 2px solid var(--medium-grey);

}



.btn-secondary:hover {

    border-color: var(--primary-blue);

    color: var(--primary-blue);

    transform: translateY(-2px);

}



/* Code Animation */

.code-animation {

    background: var(--secondary-black);

    border-radius: 12px;

    padding: 2rem;

    border: 1px solid var(--medium-grey);

    font-family: 'Courier New', monospace;

    font-size: 1rem;

    line-height: 1.8;

}



.code-line {

    margin-bottom: 0.5rem;

}



.indent {

    margin-left: 2rem;

}



.code-keyword {

    color: var(--light-blue);

}



.code-function {

    color: var(--primary-blue);

}



.code-variable {

    color: var(--light-blue);

}



.code-string {

    color: #10b981;

}



/* Services Section */

.services {

    padding: var(--section-padding);

    background: var(--secondary-black);

}



.section-header {

    text-align: center;

    margin-bottom: 4rem;

}



.section-header h2 {

    font-size: 2.5rem;

    font-weight: 700;

    margin-bottom: 1rem;

    color: var(--white);

}



.section-header p {

    font-size: 1.1rem;

    color: var(--lighter-grey);

}



.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

}



.service-card {

    background: var(--dark-grey);

    padding: 2rem;

    border-radius: 12px;

    text-align: center;

    transition: var(--transition);

    border: 1px solid var(--medium-grey);

}



.service-card:hover {

    transform: translateY(-5px);

    border-color: var(--primary-blue);

    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);

}



.service-icon {

    width: 80px;

    height: 80px;

    background: var(--blue-gradient);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 1.5rem;

    font-size: 2rem;

    color: var(--white);

}



.service-card h3 {

    font-size: 1.3rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: var(--white);

}



.service-card p {

    color: var(--lighter-grey);

    line-height: 1.6;

}



/* About Section */

.about {

    padding: var(--section-padding);

    background: var(--primary-black);

}



/* Projects Carousel Section */

.projects {

    padding: var(--section-padding);

    background: var(--secondary-black);

}



.carousel-container {

    position: relative;

    max-width: 800px;

    margin: 0 auto;

}



.carousel-wrapper {

    overflow: hidden;

    border-radius: 12px;

    background: var(--dark-grey);

    border: 1px solid var(--medium-grey);

}



.carousel-track {

    display: flex;

    transition: transform 0.5s ease-in-out;

}



.project-slide {

    min-width: 100%;

    display: none;

    flex-direction: column;

}



.project-slide.active {

    display: flex;

}



.project-image {

    width: 100%;

    height: 250px;

    overflow: hidden;

}



.project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;

}



.project-slide:hover .project-image img {

    transform: scale(1.05);

}



.project-content {

    padding: 2rem;

}



.project-content h3 {

    font-size: 1.5rem;

    font-weight: 600;

    color: var(--white);

    margin-bottom: 1rem;

}



.project-content p {

    color: var(--lighter-grey);

    line-height: 1.6;

}



.carousel-controls {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 2rem;

    gap: 1rem;

}



.carousel-btn {

    background: var(--primary-blue);

    border: none;

    color: var(--white);

    width: 50px;

    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: var(--transition);

    font-size: 1.2rem;

}



.carousel-btn:hover {

    background: var(--secondary-blue);

    transform: scale(1.1);

}



.carousel-btn:disabled {

    background: var(--medium-grey);

    cursor: not-allowed;

    transform: none;

}



.carousel-dots {

    display: flex;

    gap: 0.5rem;

    flex: 1;

    justify-content: center;

}



.dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--medium-grey);

    cursor: pointer;

    transition: var(--transition);

}



.dot.active,

.dot:hover {

    background: var(--primary-blue);

    transform: scale(1.2);

}



.about-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.about-text h2 {

    font-size: 2.5rem;

    font-weight: 700;

    margin-bottom: 2rem;

    color: var(--white);

}



.about-text p {

    font-size: 1.1rem;

    color: var(--lighter-grey);

    margin-bottom: 1.5rem;

    line-height: 1.8;

}



.stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

    margin-top: 3rem;

}



.stat {

    text-align: center;

}



.stat h3 {

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--primary-blue);

    margin-bottom: 0.5rem;

}



.stat p {

    color: var(--lighter-grey);

    font-weight: 500;

}



.tech-stack {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1rem;

}



.tech-item {

    background: var(--dark-grey);

    padding: 1rem;

    border-radius: 8px;

    text-align: center;

    font-weight: 600;

    color: var(--white);

    border: 1px solid var(--medium-grey);

    transition: var(--transition);

}



.tech-item:hover {

    background: var(--primary-blue);

    transform: translateY(-2px);

}



/* Contact Section */

.contact {

    padding: var(--section-padding);

    background: var(--secondary-black);

}



.contact-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    margin-top: 3rem;

}



.contact-info {

    display: flex;

    flex-direction: column;

    gap: 2rem;

}



.contact-item {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1.5rem;

    background: var(--dark-grey);

    border-radius: 12px;

    border: 1px solid var(--medium-grey);

}



.contact-item i {

    font-size: 1.5rem;

    color: var(--primary-blue);

    width: 40px;

    text-align: center;

}



.contact-item h4 {

    color: var(--white);

    margin-bottom: 0.5rem;

}



.contact-item p {

    color: var(--lighter-grey);

}



.contact-form {

    background: var(--dark-grey);

    padding: 2rem;

    border-radius: 12px;

    border: 1px solid var(--medium-grey);

}



.form-group {

    margin-bottom: 1.5rem;

}



.form-group input,

.form-group textarea {

    width: 100%;

    padding: 1rem;

    background: var(--secondary-black);

    border: 1px solid var(--medium-grey);

    border-radius: 8px;

    color: var(--white);

    font-family: var(--font-family);

    transition: var(--transition);

}



.form-group input:focus,

.form-group textarea:focus {

    outline: none;

    border-color: var(--primary-blue);

    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);

}



.form-group input::placeholder,

.form-group textarea::placeholder {

    color: var(--light-grey);

}



/* Footer */

.footer {

    background: var(--primary-black);

    padding: 3rem 0 1rem;

    border-top: 1px solid var(--medium-grey);

}



.footer-content {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-bottom: 2rem;

}



.footer-section h3,

.footer-section h4 {

    color: var(--white);

    margin-bottom: 1rem;

}



.footer-section p {

    color: var(--lighter-grey);

    line-height: 1.6;

}



.footer-section ul {

    list-style: none;

}



.footer-section ul li {

    margin-bottom: 0.5rem;

}



.footer-section ul li a {

    color: var(--lighter-grey);

    text-decoration: none;

    transition: var(--transition);

}



.footer-section ul li a:hover {

    color: var(--primary-blue);

}



.social-links {

    display: flex;

    gap: 1rem;

}



.social-links a {

    width: 40px;

    height: 40px;

    background: var(--dark-grey);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    text-decoration: none;

    transition: var(--transition);

    border: 1px solid var(--medium-grey);

}



.social-links a:hover {

    background: var(--primary-blue);

    transform: translateY(-2px);

}



.footer-bottom {

    text-align: center;

    padding-top: 2rem;

    border-top: 1px solid var(--medium-grey);

    color: var(--lighter-grey);

}



/* Responsive Design */

@media (max-width: 768px) {

    .hamburger {

        display: flex;

    }

    

    .nav-menu {

        position: fixed;

        left: -100%;

        top: 80px;

        flex-direction: column;

        background-color: var(--secondary-black);

        width: 100%;

        text-align: center;

        transition: 0.3s;

        padding: 2rem 0;

        border-top: 1px solid var(--medium-grey);

        z-index: 999;

        max-height: calc(100vh - 80px);

        overflow-y: auto;

    }

    

    .nav-menu.active {

        left: 0;

    }

    

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;

        gap: 2rem;

    }

    

    .hero-title {

        font-size: 2.5rem;

    }

    

    .about-content {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .contact-content {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .stats {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    .tech-stack {

        grid-template-columns: 1fr;

    }

    

    .hero-buttons {

        justify-content: center;

    }

    

    .logo-img {

        height: 50px;

        max-width: 180px;

    }

    

    .carousel-controls {

        flex-direction: column;

        gap: 1rem;

    }

    

    .carousel-btn {

        width: 40px;

        height: 40px;

    }

    

    .project-content {

        padding: 1.5rem;

    }

    

    .project-content h3 {

        font-size: 1.3rem;

    }

}



@media (max-width: 480px) {

    .hero-title {

        font-size: 2rem;

    }

    

    .section-header h2 {

        font-size: 2rem;

    }

    

    .services-grid {

        grid-template-columns: 1fr;

    }

    

    .footer-content {

        grid-template-columns: 1fr;

        text-align: center;

    }

}



/* Smooth Scrolling */

html {

    scroll-behavior: smooth;

}



/* Animation Classes */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.fade-in-up {

    animation: fadeInUp 0.6s ease-out;

}



/* Loading Animation */

.loading {

    opacity: 0;

    transform: translateY(20px);

    transition: all 0.6s ease;

}



.loading.loaded {

    opacity: 1;

    transform: translateY(0);

}

