
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}


.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    justify-self: start; 
}

.nav-menu {
    display: flex;
    gap: 30px;
    justify-self: center; 
}

.nav-link {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.lang-dropdown {
    background-color: #111111;
    border: 1px solid #222222;
    padding: 6px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.lang-dropdown i {
    font-size: 10px;
    color: #666666;
}


.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.hero-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #1c1c1e;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}


.aimstars-bg {
    background-image: url();
}

.fluxaim-bg {
    background-image: url();
    min-height: 340px;
    align-items: flex-end;
    justify-content: flex-start;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.hero-content.content-left {
    text-align: left;
    width: 100%;
    padding: 50px;
}

.brand-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.brand-title-secondary {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.brand-subtitle {
    font-size: 16px;
    color: #aaaaaa;
    margin-bottom: 24px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.btn-white {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 32px;
}

.btn-white:hover {
    background-color: #e5e5e5;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-small { padding: 10px 24px; }
.btn-icon-text { padding: 10px 24px; gap: 8px; }

.btn-outline {
    background: transparent;
    border: 1px solid #333333;
    color: #ffffff;
}

.btn-outline:hover {
    border-color: #ffffff;
    background-color: #111111;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #222222;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    border-color: #ffffff;
    background-color: #111111;
}


.about-section, .portfolio-page-section {
    padding-top: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 80%;
    height: 1px;
    background-color: #1c1c1e;
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.about-avatar-wrapper {
    background-color: #111111;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid #1c1c1e;
}

.about-avatar {
    width: 100%;
    border-radius: 14px;
    filter: grayscale(100%);
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-heading { font-size: 15px; font-weight: 700; }
.info-text { color: #888888; font-size: 15px; line-height: 1.6; }
.social-row { display: flex; gap: 12px; }


.companies-section { padding-top: 40px; }
.company-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.company-preview img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #111111;
}

.company-desc { display: flex; flex-direction: column; gap: 14px; }
.company-logo-text { font-size: 24px; font-weight: 800; letter-spacing: 2px; }
.italic-font { font-style: italic; }
.company-text { color: #888888; font-size: 14px; line-height: 1.6; }
.company-actions { display: flex; gap: 12px; }


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.project-item-card {
    background-color: #080808;
    border: 1px solid #1c1c1e;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-item-card:hover {
    transform: translateY(-4px);
    border-color: #333333;
}

.project-img-holder img {
    width: 100%;
    height: auto;
    display: block;
}

.project-meta {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-tag {
    font-size: 11px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 700;
}

.project-item-title { font-size: 20px; font-weight: 700; }
.project-item-text { color: #ffffff; font-size: 14px; min-height: 66px; }
.project-links { display: flex; gap: 12px; align-items: center; }


@media (max-width: 768px) {
    .site-header { padding: 20px; }
    .nav-menu { display: none; }
    .brand-title { font-size: 38px; letter-spacing: 4px; }
    .about-grid, .company-card { grid-template-columns: 1fr; gap: 20px; }
    .section-title::after { display: none; }
}

.hero-card {
    position: relative !important;
    overflow: hidden !important; 
}


.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: translate(-50%, -50%);
    z-index: 0; 
    pointer-events: none; 
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1 !important;
}


.hero-content {
    position: relative !important;
    z-index: 2 !important;
}