:root {
    --primary: #10b981; /* Emerald green */
    --secondary: #0ea5e9; /* Sky blue */
    --accent: #f472b6; /* Pink */
    --dark: #1e293b; /* Slate 800 */
    --light: #f8fafc; /* Slate 50 */
    --gray: #94a3b8; /* Slate 400 */
    --card-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c4zIgLAAAFDUlEQVR4AY3TxXZrMQxEUTk2M/P7P2ljJpPeW1rvC5vFA2D8PxVU1XLFqFSzKmejVqtZDRXU1LKGulquqGcNDTUroqWWNbTVrIiOWtbQVbMiemrZQF/NihioZQNDNStipJYNjNWsiIlaNjBVsyJmatlAX82KWKhlA0s1K2KlNg2s1bKBjZoVsVWbBnZq2cBezYo4qE0DR7Vs4KRmRZzVpoGLWjZwVbMibmrTwF0tG3ioWRFPtWngpZYNvNWsiI/aNPBRywY+albEV20a+KllA381K+KvNg0EtWwgqFkRQW0aiGrZQFSzIpLaNJDUsoGkZkUMatPAoJYNDGpWxKg2DYxq2cCoZkWMatPAqJYNjGpWxKQ2DUxq2cCkZkVMatPApJYNTGpWxKw2Dcxq2cCsZkXMat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: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Blob animations */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 100px;
    left: -50px;
    animation: float 18s ease-in-out infinite reverse;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

/* Header */
header {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    width: calc(100% - 40px);
    max-width: 1300px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Create a centered container for the header content */
header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 3px 8px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% - 5px);
    right: 20px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    width: 200px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    gap: 20px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 3px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 30px;
}

.menu-toggle.active .bar:first-child {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

.bar {
    height: 2px;
    width: 100%;
    background-color: var(--light);
    transition: var(--transition);
}

.menu-toggle:hover .bar:first-child {
    transform: translateY(1px);
}

.menu-toggle:hover .bar:last-child {
    transform: translateY(-1px);
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    padding-top: 100px;
}

.hero-section .content {
    max-width: 800px;
}

.hero-section .content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero-intro {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Glitch effect */
.glitch {
    position: relative;
    color: var(--light);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--accent);
    z-index: -1;
    animation: glitch-effect 3s infinite;
}

.glitch::after {
    color: var(--primary);
    z-index: -2;
    animation: glitch-effect 2s infinite reverse;
}

@keyframes glitch-effect {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

.cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.primary:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 100%;
    max-width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(14, 165, 233, 0.2));
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.5);
}

.image-overlay span {
    color: var(--light);
    font-size: 1.2rem;
    font-weight: 500;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-category h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 15px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(16, 185, 129, 0.2);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

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

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.project-content p {
    margin-bottom: 20px;
    color: var(--gray);
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tag {
    padding: 5px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--light);
}

/* Blog Section */
.blog-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.blog-coming-soon {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.newsletter {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-family: 'Inter', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    padding: 15px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-link:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-5px);
}

.contact-link i {
    font-size: 1.2rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--light);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    .hero-intro {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .blob-1 {
        width: 300px;
        height: 300px;
    }
    
    .blob-2 {
        width: 200px;
        height: 200px;
    }
    
    .blob-3 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-intro {
        font-size: 1rem;
    }
    
    .cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        align-items: center;
    }
}

@media (max-width: 1240px) {
    header .logo {
        margin-left: calc((100vw - 1200px) / 2 + 20px);
    }
    
    .nav-links {
        right: calc((100vw - 1200px) / 2 + 20px);
    }
}

@media (max-width: 768px) {
    header .logo {
        margin-left: 20px;
    }
    
    .nav-links.active {
        right: 20px;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
    margin: 0 auto;
}

.projects-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.project-card {
    width: 350px;
    flex-shrink: 0;
    margin: 0 15px;
}

.carousel-arrow {
    background: rgba(16, 185, 129, 0.2);
    color: var(--light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    position: absolute;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.carousel-arrow:hover {
    background: var(--primary);
}

.carousel-arrow:focus {
    outline: none;
}

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

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 50px;
    }
    
    .project-card {
        width: 300px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 40px;
    }
    
    .project-card {
        width: 260px;
    }
}

.inline-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.inline-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Domains Section */
.domains-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.domains-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--gray);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.domain-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.domain-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(14, 165, 233, 0.05));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.domain-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(16, 185, 129, 0.2);
}

.domain-item:hover::before {
    opacity: 1;
}

.domain-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 10px;
    font-family: 'Sora', sans-serif;
}

.domain-status {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    display: inline-block;
    transition: var(--transition);
}

.domain-item:hover .domain-status {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}

.domains-note {
    font-size: 1rem;
    color: var(--gray);
    margin-top: 20px;
}

/* Responsive adjustments for domains */
@media (max-width: 768px) {
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .domain-item {
        padding: 20px;
    }
    
    .domain-name {
        font-size: 1.2rem;
    }
}