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

:root {
    --primary: #0a0e27;
    --secondary: #1a1f3a;
    --accent: #00d4ff;
    --accent-warm: #ff6b35;
    --text: #e8eaf6;
    --text-muted: #c1c9e4;
    --background: #050816;
}

[data-theme="light"] {
    --primary: #ffffff;
    --secondary: #f5f7fa;
    --accent: #0099cc;
    --accent-warm: #ff6b35;
    --text: #1a1f3a;
    --text-muted: #192843;
    --background: #fafbfc;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    /*background: linear-gradient(135deg, var(--accent), var(--accent-warm));*/
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    transition: all 0.3s;
    margin-left: 2rem;
    vertical-align: middle;
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 212, 255, 0.4);
}

.theme-toggle:active {
    transform: translateY(0) scale(0.98);
}

nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border: 0;
}


.lang-button {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

nav a.lang-button:after {
    /*display: none;*/

    content: '';
    /*position: absolute;*/
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s;
}

.lang-button:hover {
    color: var(--accent);
}

.lang-button.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
    background: transparent;
}

.lang-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    border: none;
    border-radius: 20%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transition: all 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 0.8;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .bg-animation {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 153, 204, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(138, 43, 226, 0.03) 0%, transparent 50%);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    animation: slideDown 0.6s ease-out;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] header {
    background: rgba(250, 251, 252, 0.9);
    border-bottom: 1px solid rgba(0, 153, 204, 0.15);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    letter-spacing: -0.01em;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--accent);
}

nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem 5% 4rem;
}

.hero-wrapper {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

.hero h1 {
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.typing-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    text-align: left;
}

.cursor {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blink 1s step-end infinite;
    font-weight: 400;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

[data-theme="light"]  .hero h1 {
    -webkit-text-fill-color: var(--accent);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 15px;
    display: flex;
    align-items: normal;
    justify-content: normal;
    font-size: 8rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), #0099cc);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Services Section */
.services {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    color: var(--accent);
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out both;
}


[data-theme="light"] .service-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 153, 204, 0.15);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

[data-theme="light"] .service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 153, 204, 0.15);
}

.service-img {
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    margin-bottom: 1.5rem;
}

.service-img img {
    width: 100%;
}

.service-card h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 6rem 5%;
    background: rgba(26, 31, 58, 0.3);
    transition: background-color 0.3s ease;
}

[data-theme="light"] .about {
    background: rgba(240, 243, 248, 0.6);
}

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

.about-text {
    text-align: center;
    margin-bottom: 3rem;
}

.about-text h2 {
    color: var(--accent);
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

.about-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

[data-theme="light"] .about-tabs {
    border-bottom: 2px solid rgba(0, 153, 204, 0.2);
}

.tab-button {
    flex: 1;
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-family: 'Oxanium', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--accent);
}

.tab-button.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
    background: transparent;
}

.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    padding: 3rem 0;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

.image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    font-size: 6rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.tab-text h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.tab-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.tab-text p:last-child {
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s;
    cursor: pointer;
}

[data-theme="light"] .portfolio-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 153, 204, 0.15);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

[data-theme="light"] .portfolio-item:hover {
    box-shadow: 0 20px 60px rgba(0, 153, 204, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;  /* ADD THIS LINE */
    position: relative;
    z-index: 1;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%),
        repeating-linear-gradient(90deg, rgba(0, 212, 255, 0.05) 0px, transparent 2px, transparent 4px, rgba(0, 212, 255, 0.05) 6px);
    animation: shimmer 3s infinite;
}

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

.portfolio-content {
    padding: 2rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.portfolio-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background: rgba(26, 31, 58, 0.3);
    transition: background-color 0.3s ease;
}

[data-theme="light"] .testimonials {
    background: rgba(240, 243, 248, 0.6);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 153, 204, 0.15);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2);
}

[data-theme="light"] .testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(0, 153, 204, 0.15);
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.author-info {
    display: flex;
    align-items: baseline;
}

.author-info h4 {
    font-weight: 600;
    margin-right: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rating {
    margin-top: 1.5rem;
    color: #ffd700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-content {
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 153, 204, 0.15);
}

.contact h2 {
    color: var(--accent);
    font-family: 'Oxanium', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.contact p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-form {
    text-align: left;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
    padding: 1rem 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 0;
    color: var(--text);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    border-bottom: 2px solid rgba(0, 153, 204, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
    box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

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

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.contact-divider {
    position: relative;
    text-align: center;
    margin: 2.5rem 0 2rem;
}

.contact-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.contact-divider span {
    position: relative;
    background: rgba(26, 31, 58, 0.9);
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

[data-theme="light"] .contact-divider span {
    background: rgba(255, 255, 255, 0.9);
}

.contact-email-tel {
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.contact-email {
    font-size: 1.3rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.contact-email:hover {
    transform: translateY(-3px);
    text-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
}

.contact-email-tel span {
    margin: 1rem 1rem 0;
}

.contact-phone-nr {
    color: var(--accent);
    text-decoration: none;
}

/* Responsive form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        padding: 2rem 1.5rem;
    }
}


/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    display: flex;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 4rem 0rem 2rem 2rem;
    z-index: 10001;
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

[data-theme="light"] .modal-content {
    background: rgba(250, 251, 252, 0.98);
    border: 1px solid rgba(0, 153, 204, 0.2);
}

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

.modal-close {
    position: absolute;
    z-index: 10002;
    top: 13px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(0, 212, 255, 0.3);
    border: none;
    border-radius: 50%;
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-image-container {
    overflow: auto;
    padding-right: 2rem;
}

.modal-image {
    width: 100%;
    display: flex;
    align-items: flex-start;  /* CHANGED from center */
    justify-content: center;
    font-size: 8rem;
    position: relative;
}

/* Custom scrollbar for modal image */
.modal-image-container::-webkit-scrollbar {
    width: 2px;
}

.modal-image-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-image-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.modal-image-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-warm);
}

.modal-image img {
    width: 100%;
    height: auto;  /* CHANGED from 100% */
    min-height: 100%;  /* ADD THIS */
    object-fit: contain;  /* CHANGED from cover */
    object-position: top center;  /* ADD THIS */
    position: relative;
    display: block;  /* ADD THIS */
}

/*.modal-image::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background:*/
/*            linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);*/
/*    animation: shimmer 3s infinite;*/
/*}*/

.modal-info {
    text-align: left;
    margin-bottom: 2rem;
}

.modal-info-head {
    display: flex;
    align-items: baseline;
}

.modal-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.modal-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 1rem;
}

/* Footer */
footer {
    padding: 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    background: rgba(5, 8, 22, 0.8);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] footer {
    background: rgba(250, 251, 252, 0.9);
    border-top: 1px solid rgba(0, 153, 204, 0.15);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5% 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-column h4 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.footer-logo {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.footer-caption {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-menu,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-menu a,
.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-menu a:hover,
.footer-contact a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 2rem 5%;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(0, 153, 204, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-info strong {
    color: var(--accent);
    font-weight: 600;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 8, 22, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(0, 212, 255, 0.1);
    }

    [data-theme="light"] nav {
        background: rgba(250, 251, 252, 0.98);
        border-left: 1px solid rgba(0, 153, 204, 0.2);
    }

    nav.active {
        right: 0;
    }

    nav a {
        margin: 0;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    [data-theme="light"] nav a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav a:after {
        display: none;
    }

    .lang-button {
        padding: 0 0 10px;
        justify-content: center;
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 2rem;
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(0, 212, 255, 0.2);
    }
    

    .theme-toggle {
        margin-left: 0;
        margin-top: 1.5rem;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }
    
    .hero-wrapper {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        padding-top: 3rem;
        text-align: center;
    }

    .hero-image {
        width: 100%;
    }
    
    .hero-image-placeholder {
        max-width: none;
        font-size: 5rem;
    }

    .hero-image-placeholder img {
        width: 100%;
        object-fit: cover;
    }

    .typing-text-wrap {
        display: flex;
        justify-content: center;
    }

    .tab-content.active {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .image-placeholder {
        width: 250px;
        height: 200px;
        font-size: 4rem;
        margin: 0 auto;
    }
    
    .tab-text h3 {
        font-size: 1.5rem;
    }
    
    .about-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-button {
        border-bottom: 2px solid rgba(0, 212, 255, 0.2);
        margin-bottom: 0;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: left;
    }
    
    [data-theme="light"] .tab-button {
        border-bottom: 2px solid rgba(0, 153, 204, 0.2);
    }
    
    .tab-button.active {
        border-bottom-color: var(--accent);
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 5% 2rem;
    }
    
    .footer-caption {
        max-width: 100%;
    }
    
    .footer-bottom {
        padding: 1.5rem 5%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .portfolio-modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.5rem 0 1.5rem 1.5rem;
        max-height: 95vh;
    }

    .modal-image-container {
        padding-right: 1.5rem;
    }

    .modal-info-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-tags {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .modal-image {
        max-height: 400px;  /* CHANGED from height: 250px */
        font-size: 5rem;
    }

    .modal-info h3 {
        font-size: 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}