* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00D9FF;
    --primary-dark: #00B8D9;
    --secondary: #00FFC6;
    --text-dark: #ffffff;
    --text-light: #a0a0a0;
    --bg-light: #0b0b0b;
    --bg-white: #0b0b0b;
    --bg-dark: #0b0b0b;
    --border: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: rgb(11, 11, 11);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav {
    padding: 1rem 0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.curriculum-btn {
    padding: 0.5rem 1.2rem !important;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: rgba(0, 217, 255, 0.05);
    transition: all 0.3s ease;
}

.curriculum-btn:hover {
    background: var(--primary);
    color: #0b0b0b !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.curriculum-btn::after {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.lang-btn.active {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-link, .footer-icon {
    color: #ffffff;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-link svg, .footer-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.icon-link:hover, .footer-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(0, 217, 255, 0.4));
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 3rem;
    overflow: hidden;
    background: 
        radial-gradient(circle, rgba(0,217,255,0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(138,43,226,0.05) 1px, transparent 1px),
        linear-gradient(135deg, #0a0e27 0%, #1a1d3e 50%, #0f1229 100%);
    background-size: 50px 50px, 25px 25px, 100% 100%;
    background-position: 0 0, 12.5px 12.5px, 0 0;
    animation: dots-drift 20s linear infinite;
}

@keyframes dots-drift {
    0% { background-position: 0 0, 12.5px 12.5px, 0 0; }
    100% { background-position: 50px 50px, 62.5px 62.5px, 0 0; }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.organic-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(138, 43, 226, 0.12) 100%);
    opacity: 1;
    filter: blur(0px);
    backdrop-filter: blur(50px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 
        0 0 80px rgba(0, 217, 255, 0.3),
        0 0 150px rgba(138, 43, 226, 0.2),
        inset 0 0 80px rgba(0, 217, 255, 0.05);
}

.shape-1 {
    width: 700px;
    height: 800px;
    top: -300px;
    left: -150px;
    border-radius: 40% 60% 65% 35% / 45% 55% 45% 55%;
    transform: rotate(-25deg);
    animation: organic-morph-1 20s ease-in-out infinite, organic-pulse-1 8s ease-in-out infinite;
}

.shape-2 {
    width: 600px;
    height: 700px;
    bottom: -200px;
    right: -100px;
    border-radius: 55% 45% 60% 40% / 50% 50% 60% 40%;
    transform: rotate(20deg);
    opacity: 0.9;
    animation: organic-morph-2 25s ease-in-out infinite reverse, organic-pulse-2 10s ease-in-out infinite;
}

@keyframes organic-morph-1 {
    0%, 100% {
        border-radius: 40% 60% 65% 35% / 45% 55% 45% 55%;
    }
    50% {
        border-radius: 60% 40% 50% 50% / 55% 45% 60% 40%;
    }
}

@keyframes organic-morph-2 {
    0%, 100% {
        border-radius: 55% 45% 60% 40% / 50% 50% 60% 40%;
    }
    50% {
        border-radius: 45% 55% 40% 60% / 60% 40% 50% 50%;
    }
}

@keyframes organic-pulse-1 {
    0%, 100% {
        transform: rotate(-25deg) scale(1);
        box-shadow: 
            0 0 60px rgba(0, 217, 255, 0.4),
            0 0 120px rgba(0, 217, 255, 0.2),
            inset 0 0 60px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: rotate(-28deg) scale(1.05);
        box-shadow: 
            0 0 80px rgba(0, 217, 255, 0.6),
            0 0 150px rgba(0, 217, 255, 0.3),
            inset 0 0 80px rgba(255, 255, 255, 0.15);
    }
}

@keyframes organic-pulse-2 {
    0%, 100% {
        transform: rotate(20deg) scale(1);
        box-shadow: 
            0 0 60px rgba(0, 217, 255, 0.4),
            0 0 120px rgba(0, 217, 255, 0.2),
            inset 0 0 60px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: rotate(23deg) scale(1.08);
        box-shadow: 
            0 0 80px rgba(0, 255, 198, 0.6),
            0 0 150px rgba(0, 255, 198, 0.3),
            inset 0 0 80px rgba(255, 255, 255, 0.15);
    }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    align-items: center;
    text-align: center;
}

.hero-avatar {
    width: 180px;
    height: 180px;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 30px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 217, 255, 0.4),
        inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    animation: avatar-float 8s ease-in-out infinite;
    border: none;
    position: relative;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradient-rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-avatar:hover::before {
    opacity: 1;
}

@keyframes gradient-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes avatar-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(0, 217, 255, 0.4),
            inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
    50% { 
        transform: translateY(-15px) rotate(2deg); 
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(0, 217, 255, 0.6),
            inset 0 0 0 3px rgba(255, 255, 255, 0.2);
    }
}

.hero-avatar:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 217, 255, 0.8),
        inset 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
    background: #000000;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-greeting {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    display: block;
    letter-spacing: -0.02em;
    animation: text-glow 3s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 217, 255, 0.6), 0 0 40px rgba(138, 43, 226, 0.3);
    }
}

.hero-name {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    display: block;
    line-height: 0.95;
    letter-spacing: -0.04em;
    position: relative;
    animation: text-glow-strong 3s ease-in-out infinite;
}

@keyframes text-glow-strong {
    0%, 100% {
        text-shadow: 0 0 30px rgba(0, 217, 255, 0.5), 0 0 50px rgba(138, 43, 226, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 217, 255, 0.7), 0 0 60px rgba(138, 43, 226, 0.5);
    }
}

.hero-right {
    position: absolute;
    top: -50px;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.hero-photo-wrapper {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(0, 217, 255, 0.3);
    box-shadow: 
        0 0 60px rgba(0, 217, 255, 0.4),
        0 0 100px rgba(138, 43, 226, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.5);
    animation: photo-float 6s ease-in-out infinite;
    transition: all 0.4s ease;
}

.hero-photo-wrapper:hover {
    transform: scale(1.08);
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 
        0 0 80px rgba(0, 217, 255, 0.6),
        0 0 120px rgba(138, 43, 226, 0.5),
        0 25px 60px rgba(0, 0, 0, 0.6);
}

@keyframes photo-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.hero-main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: screen;
    filter: 
        contrast(1.15) 
        brightness(1.1);
    transition: all 0.5s ease;
}

.hero-main-photo:hover {
    transform: scale(1.1);
    filter: 
        contrast(1.2) 
        brightness(1.15);
}

.hero-signature {
    position: relative;
    bottom: auto;
    right: auto;
    z-index: 4;
    opacity: 0.9;
    animation: draw-signature 3s ease-out, signature-pulse 4s ease-in-out infinite 3s;
    width: 120px;
    height: auto;
}

@keyframes signature-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 15px rgba(0, 217, 255, 0.8));
    }
}

.hero-signature svg {
    width: 180px;
    height: 80px;
    filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.5));
}

.hero-signature path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-path 3s ease-out forwards;
}

@keyframes draw-path {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-signature {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0b0b0b 0%, #151515 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.companies {
    margin-bottom: 3rem;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 3rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.company-logos-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll-carousel 20s linear infinite;
    width: fit-content;
}

.company-logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    padding: 1rem 2rem;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
}

.company-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.4s ease;
    opacity: 0.7;
}

.company-logo.filled img {
    opacity: 1;
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 20px rgba(0, 217, 255, 0.6));
}

.company-logo:hover img {
    transform: scale(1.15);
    filter: brightness(1.4) contrast(1.3) drop-shadow(0 0 30px rgba(0, 217, 255, 0.8));
    opacity: 1;
}

.about-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    text-align: left;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Services Section */
.services {
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, rgb(11, 11, 11) 0%, rgb(15, 18, 41) 100%);
    position: relative;
}

.services .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), #8a2be2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-icon svg {
    stroke: #ffffff;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #8a2be2);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary);
}

/* Tech Badges */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.tech-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.tech-badge:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4);
    background: rgba(0, 217, 255, 0.05);
}

.tech-badge svg {
    width: 48px;
    height: 48px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.3));
    transition: all 0.3s ease;
}

.tech-badge img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.3));
    transition: all 0.3s ease;
}

.tech-badge:hover svg {
    filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.5));
    transform: scale(1.1);
}

.tech-badge:hover img {
    filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.5));
    transform: scale(1.1);
}

.tech-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: rgb(11, 11, 11);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(135deg, rgb(18, 18, 18) 0%, rgb(22, 22, 22) 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid rgba(0, 217, 255, 0.1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.3);
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgb(18, 18, 18);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-footer {
    padding: 1.5rem;
    background: transparent;
    text-align: right;
}

.project-footer span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}

.project-card:hover .project-footer span {
    color: var(--primary);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.faq .section-title {
    color: #ffffff;
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 4rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s;
    flex-shrink: 0;
    stroke: #ffffff;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 6rem 0;
    background: rgb(11, 11, 11);
}

.contact-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.contact-avatar {
    animation: float 6s ease-in-out infinite;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.5),
        0 0 50px rgba(138, 43, 226, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.contact-avatar img:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 40px rgba(0, 217, 255, 0.7),
        0 0 70px rgba(138, 43, 226, 0.5),
        0 15px 50px rgba(0, 0, 0, 0.4);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.contact .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin: 0;
    color: var(--text-dark);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    background: rgb(18, 18, 18);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info p {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: rgb(25, 25, 25);
    color: #ffffff;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgb(30, 30, 30);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    max-height: 300px;
    border-radius: 12px;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: rgb(11, 11, 11);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: rgb(11, 11, 11);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-icon {
    color: var(--text-light);
    transition: color 0.3s, transform 0.3s;
}

.footer-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        padding-top: 120px;
    }

    .hero-left {
        align-items: center;
        gap: 2rem;
    }

    .hero-right {
        top: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    .hero-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .hero-avatar {
        width: 150px;
        height: 150px;
    }

    .hero-photo-wrapper {
        max-width: 350px;
    }

    .shape-1 {
        width: 500px;
        height: 600px;
        top: -200px;
        left: -150px;
    }

    .shape-2 {
        width: 450px;
        height: 550px;
        bottom: -150px;
        right: -120px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .tech-badges {
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .tech-badge {
        padding: 1.25rem 1.5rem;
        min-width: 100px;
    }

    .tech-badge svg {
        width: 40px;
        height: 40px;
    }

    .tech-badge img {
        width: 40px;
        height: 40px;
    }

    .tech-badge span {
        font-size: 0.85rem;
    }

    .contact-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
    }

    .nav-links a:not(.curriculum-btn) {
        display: none;
    }

    .curriculum-btn {
        display: flex !important;
    }

    .nav-right {
        gap: 1rem;
    }
    
    .language-selector {
        gap: 0.25rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }

    .social-icons {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1rem 2rem;
    }

    .hero-content {
        padding-top: 0;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-left {
        align-items: center;
        text-align: center;
    }

    .hero-avatar {
        width: 100px;
        height: 100px;
    }

    .hero-photo-wrapper {
        width: 120px;
        height: 120px;
    }

    .hero-right {
        position: static;
        transform: none;
    }

    .greeting {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-signature svg {
        width: 140px;
        height: 60px;
    }

    .shape-1 {
        width: 400px;
        height: 500px;
        left: -150px;
        top: -150px;
    }

    .shape-2 {
        width: 380px;
        height: 450px;
        right: -120px;
        bottom: -120px;
    }

    .company-logos {
        gap: 1.5rem;
        flex-direction: column;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .tech-badges {
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .tech-badge {
        padding: 1rem 1.25rem;
        min-width: 90px;
    }

    .tech-badge svg {
        width: 32px;
        height: 32px;
    }

    .tech-badge img {
        width: 32px;
        height: 32px;
    }

    .tech-badge span {
        font-size: 0.8rem;
    }

    .about,
    .projects,
    .faq,
    .contact {
        padding: 4rem 0;
    }

    .services {
        padding: 4rem 0 3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-greeting {
        font-size: 1.5rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-avatar {
        width: 120px;
        height: 120px;
    }

    .hero-avatar {
        width: 90px;
        height: 90px;
    }

    .hero-photo-wrapper {
        width: 110px;
        height: 110px;
    }

    .hero-right {
        position: static;
        transform: none;
    }

    .hero-content {
        padding-top: 20px;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-left {
        align-items: center;
        text-align: center;
    }

    .hero-signature svg {
        width: 120px;
        height: 50px;
    }

    .shape-1 {
        width: 350px;
        height: 400px;
        left: -120px;
        top: -120px;
    }

    .shape-2 {
        width: 320px;
        height: 380px;
        right: -100px;
        bottom: -100px;
    }

    .company-logo img {
        height: 60px;
    }

    .contact-content {
        padding: 1.5rem;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1.5rem;
    }
}

/* Mouse Trail Particle Effect */
.trail-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--primary), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: trail-fade 1s linear forwards;
}

@keyframes trail-fade {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Floating Particles in Hero */
.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: float-particle linear infinite;
    box-shadow: 0 0 10px var(--primary);
}

.floating-particle.purple {
    background: #8a2be2;
    box-shadow: 0 0 10px #8a2be2;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* Avatar 3D Hover Effect */
.hero-avatar {
    transform-style: preserve-3d;
}

.hero-avatar img {
    transform: translateZ(20px);
}
