/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0050FF;
    --light-blue: #66CCFF;
    --white: #FFFFFF;
    --pink: #FFCCE6;
    --ambient-light: #EAF2FF;
    --directional-light: #BBD7FF;
    --text-dark: #1a1a2e;
    --text-light: rgba(255, 255, 255, 0.9);
    
    /* Dark Mode Colors */
    --bg-dark: #0a0a15;
    --bg-dark-secondary: #151520;
    --bg-dark-tertiary: #1f1f2e;
    --text-dark-mode: #e0e0e8;
    --text-dark-mode-secondary: rgba(224, 224, 232, 0.7);
    --nav-bg-dark: rgba(10, 10, 21, 0.9);
    --card-bg-dark: rgba(31, 31, 46, 0.6);
    --border-dark: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: auto;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body {
    font-family: 'Inter', 'Poppins', 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--ambient-light) 0%, #f0f7ff 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    color: var(--text-dark-mode);
}

/* Canvas Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-trail.active {
    opacity: 0.6;
}

@media (hover: none) and (pointer: coarse) {
    .cursor-trail {
        display: none;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(234, 242, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .nav {
    background: rgba(10, 10, 21, 0.4);
    border-bottom: 1px solid var(--border-dark);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.75rem;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-logo {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 80, 255, 0.3));
    transition: transform 0.3s ease;
    object-fit: contain;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.dark-mode-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 80, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.dark-mode-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 80, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 80, 255, 0.12);
}

.dark-mode-toggle:active {
    transform: translateY(0);
}

.dark-mode-toggle svg {
    position: absolute;
    width: 18px;
    height: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: currentColor;
}

.dark-mode-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dark-mode-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

body.dark-mode .dark-mode-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

body.dark-mode .dark-mode-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.dark-mode .dark-mode-toggle {
    background: rgba(31, 31, 46, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark-mode);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .dark-mode-toggle::before {
    background: radial-gradient(circle, rgba(102, 204, 255, 0.2), transparent);
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(31, 31, 46, 0.7);
    border-color: rgba(102, 204, 255, 0.25);
    box-shadow: 0 4px 16px rgba(102, 204, 255, 0.15);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

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

body.dark-mode .menu-toggle span {
    background: var(--text-dark-mode);
}

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

body.dark-mode .nav-link {
    color: var(--text-dark-mode);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    padding: 0 0.75rem;
    line-height: 1;
}

.lang-switcher::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 80, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.lang-switcher:hover::before {
    width: 100%;
    height: 100%;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 80, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 80, 255, 0.12);
}

.lang-switcher:active {
    transform: translateY(0);
}

body.dark-mode .lang-switcher {
    background: rgba(31, 31, 46, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark-mode);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .lang-switcher::before {
    background: radial-gradient(circle, rgba(102, 204, 255, 0.2), transparent);
}

body.dark-mode .lang-switcher:hover {
    background: rgba(31, 31, 46, 0.7);
    border-color: rgba(102, 204, 255, 0.25);
    box-shadow: 0 4px 16px rgba(102, 204, 255, 0.15);
}

.lang-switcher::after {
    display: none; /* Remove underline for language switcher */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 8rem 1.5rem 3rem;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 1rem;
    width: 100%;
}

.hero-logo-container {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 80, 255, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    font-family: 'Poppins', 'Inter', 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* گرادیانت بر اساس رنگ‌های لوگو (کمرنگ‌تر) */
    background: linear-gradient(135deg, #2a5ef0, #2a8ef0);
    /* تنظیمات رنگ قبلی (کامنت شده):
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

body.dark-mode .hero-title {
    /* گرادیانت بر اساس رنگ‌های لوگو (برای حالت تاریک - کمرنگ‌تر) */
    background: linear-gradient(135deg, #2a8ef0, #2a5ef0);
    /* تنظیمات رنگ قبلی (کامنت شده):
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(26, 26, 46, 0.7);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.page-next-button {
    position: fixed;
    left: 50%;
    bottom: 1.75rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: transparent;
    border: 2px solid #2a5ef0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 900;
    box-shadow: none;
    transform: translateX(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: fixed;
}

.page-next-button::before {
    content: "";
    width: 0;
    height: 0;
    border: none;
    z-index: 2;
}

.page-next-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid rgba(42, 94, 240, 0.4);
    transform: scale(1);
    opacity: 1;
    animation: pageNextRipple 2.4s ease-out infinite;
    z-index: 1;
}

.page-next-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

.page-next-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.page-next-button.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    animation: pageNextFadeOut 0.45s ease-out forwards;
}

.page-next-button:not(.is-hidden) {
    animation: pageNextFadeIn 0.45s ease-out forwards, pageNextPulse 2.8s ease-out infinite;
}

body.dark-mode .page-next-button {
    background: transparent;
    border-color: var(--primary-blue);
    box-shadow: none;
}

@keyframes pageNextPulse {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(-2px);
        opacity: 1;
    }
}

@keyframes pageNextFadeOut {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(6px);
        opacity: 0;
    }
}

@keyframes pageNextFadeIn {
    0% {
        transform: translateX(-50%) translateY(6px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes pageNextRipple {
    0% {
        transform: scale(1);
        opacity: 0.95;
    }
    60% {
        transform: scale(1.8);
        opacity: 0.25;
    }
    85% {
        transform: scale(2.1);
        opacity: 0;
    }
    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

/* Sections */
.section {
    position: relative;
    padding: 5rem 2rem;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Portfolio section exception - allow it to be taller than 100vh */
.section.portfolio-section {
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Contact section - compact and fit to content */
.section.contact-section {
    min-height: 100vh;
    justify-content: flex-start;
    padding: 5.5rem 2rem 1.5rem;
    scroll-margin-top: 90px; /* Account for fixed navigation */
    display: flex;
    flex-direction: column;
}

.section.contact-section .container {
    height: auto;
    padding: 0;
    flex: 1;
}

.section.portfolio-section .container {
    max-height: none;
    height: auto;
    display: block;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.3s ease;
}

body.dark-mode .section-title {
    color: var(--text-dark-mode);
}

body.dark-mode .hero-subtitle {
    color: var(--text-dark-mode-secondary);
}

body.dark-mode .hero-description {
    color: var(--text-dark-mode-secondary);
}

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

.text-block {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.text-block p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 2;
    color: rgba(26, 26, 46, 0.8);
    transition: color 0.3s ease;
}

body.dark-mode .text-block p {
    color: var(--text-dark-mode-secondary);
}

/* About Tabs & Team */
.about-section-content {
    max-width: 1050px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-showcase {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-showcase-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 620px;
    opacity: 0;
    transform: translateY(24px);
}

.team-showcase-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--text-dark);
}

body.dark-mode .team-showcase-title {
    color: var(--text-dark-mode);
}

.team-showcase-subtitle {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(26, 26, 46, 0.65);
}

body.dark-mode .team-showcase-subtitle {
    color: var(--text-dark-mode-secondary);
}

.team-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 0.75rem 1rem;
    margin: 0 -0.75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.team-row::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (max-width: 1024px) {
    .team-row {
        gap: 1.25rem;
        padding: 0 0.5rem 1rem;
        margin: 0 -0.5rem;
    }
}

@media (max-width: 768px) {
    .team-row {
        gap: 1.15rem;
    }
}

@media (max-width: 540px) {
    .team-row {
        gap: 1rem;
        padding: 0 0.35rem 1rem;
        margin: 0 -0.35rem;
    }
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 1.5rem 1.5rem 1.75rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 14px 36px rgba(0, 80, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    width: 100%;
    min-height: 100%;
    flex: 0 0 clamp(260px, 28vw, 320px);
    opacity: 0;
    transform: translateY(30px);
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .team-card {
    background: rgba(31, 31, 46, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    mask-composite: exclude;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.025);
    border-color: rgba(0, 80, 255, 0.42);
    box-shadow:
        0 18px 52px rgba(0, 80, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.dark-mode .team-card:hover {
    border-color: rgba(102, 204, 255, 0.42);
    box-shadow:
        0 18px 52px rgba(102, 204, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.team-card-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    padding-bottom: 0.35rem;
}

.team-avatar {
    width: min(85%, 320px);
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0, 80, 255, 0.25), rgba(102, 204, 255, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    letter-spacing: -0.02em;
    overflow: hidden;
    box-shadow:
        0 20px 42px rgba(0, 80, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.team-avatar.has-image {
    padding: 0;
    background: rgba(255, 255, 255, 0.18);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary-blue);
}

body.dark-mode .team-avatar {
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.18), rgba(0, 80, 255, 0.22));
    color: var(--light-blue);
}

.team-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

body.dark-mode .team-name {
    color: var(--text-dark-mode);
}

.team-role {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(26, 26, 46, 0.62);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 80, 255, 0.08);
}

body.dark-mode .team-role {
    color: rgba(224, 224, 232, 0.72);
    background: rgba(102, 204, 255, 0.12);
}

.team-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(26, 26, 46, 0.72);
    max-width: 26ch;
}

body.dark-mode .team-bio {
    color: var(--text-dark-mode-secondary);
}

.team-card-footer {
    margin-top: auto;
}

.team-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.team-social-link {
    text-decoration: none;
}

.team-social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 80, 255, 0.1);
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 80, 255, 0.25);
}

.team-social-link:hover .team-social-pill {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 80, 255, 0.25);
    border-color: transparent;
}

body.dark-mode .team-social-pill {
    background: rgba(102, 204, 255, 0.08);
    color: var(--light-blue);
    border-color: rgba(102, 204, 255, 0.2);
}

body.dark-mode .team-social-link:hover .team-social-pill {
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.95), rgba(0, 80, 255, 0.95));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(102, 204, 255, 0.28);
}

.team-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.team-empty-card {
    position: relative;
    max-width: 520px;
    padding: 2.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 80, 255, 0.12);
}

.team-empty-card p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(26, 26, 46, 0.7);
}

.team-empty-accent {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    box-shadow: 0 18px 42px rgba(0, 80, 255, 0.28);
    opacity: 0.65;
}

body.dark-mode .team-empty-card {
    background: rgba(31, 31, 46, 0.55);
    border: 1px solid var(--border-dark);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

body.dark-mode .team-empty-card p {
    color: var(--text-dark-mode-secondary);
}

@media (max-width: 768px) {
    .team-showcase {
        margin-top: 2rem;
    }

    .team-showcase-header {
        max-width: none;
    }

    .team-card {
        padding: 1.4rem 1.35rem 1.6rem;
        flex: 0 0 clamp(240px, 48vw, 320px);
    }

    .team-card-body {
        align-items: flex-start;
        text-align: left;
    }

    .team-name,
    .team-role,
    .team-bio {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .team-card {
        gap: 1rem;
        padding: 1.35rem;
        flex: 0 0 clamp(220px, 80vw, 280px);
    }

    .team-avatar {
        width: 88%;
        max-width: 250px;
        border-radius: 26px;
        font-size: 1.9rem;
    }
}

/* Services Section */
.services-section {
    background: transparent;
    backdrop-filter: none;
    transition: background 0.3s ease;
    padding-top: 6rem !important;
    justify-content: flex-start;
    scroll-margin-top: 90px;
}

body.dark-mode .services-section {
    background: transparent;
}

/* Services Scroll Container */
.services-scroll-container {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 4rem;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-bottom: 1rem;
}

.service-card {
    opacity: 0;
    transform: translateY(30px);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 80, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.dark-mode .service-card {
    background: rgba(31, 31, 46, 0.6);
    border: 1px solid var(--border-dark);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent
    );
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 80, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 80, 255, 0.4);
}

body.dark-mode .service-card:hover {
    box-shadow: 
        0 16px 48px rgba(102, 204, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 204, 255, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 18px;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 80, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 80, 255, 0.4);
}

.service-card:hover .service-icon::before {
    width: 120%;
    height: 120%;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: white;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

body.dark-mode .service-title {
    color: var(--text-dark-mode);
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(26, 26, 46, 0.8);
    transition: color 0.3s ease;
    flex: 1;
}

body.dark-mode .service-description {
    color: var(--text-dark-mode-secondary);
}

/* Portfolio Section - Override section defaults */
.portfolio-section {
    background: transparent;
    backdrop-filter: none;
    transition: background 0.3s ease;
}

body.dark-mode .portfolio-section {
    background: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.portfolio-item-inner {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 80, 255, 0.2);
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.portfolio-item:hover .portfolio-item-inner {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 80, 255, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 80, 255, 0.8), rgba(102, 204, 255, 0.8));
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.portfolio-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.portfolio-tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.portfolio-tech-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.dark-mode .portfolio-tech-tag {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .portfolio-tech-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (hover: none) and (pointer: coarse) {
    .portfolio-item {
        cursor: default;
        transform: none;
        opacity: 1;
    }

    .portfolio-item-inner {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0, 80, 255, 0.18);
    }

    .portfolio-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35), transparent);
    }

    .portfolio-item:hover .portfolio-item-inner {
        transform: none;
        box-shadow: 0 10px 28px rgba(0, 80, 255, 0.22);
    }

    .portfolio-item:hover .portfolio-overlay {
        transform: translateY(0);
    }
}

/* Contact Section */
.contact-section {
    text-align: left;
}

.contact-section .section-title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
}

.contact-section .text-block {
    margin-bottom: 0.5rem;
}

.contact-section .text-block p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    min-height: fit-content;
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .section.contact-section {
        padding: 5rem 1.5rem 1.5rem;
        scroll-margin-top: 80px;
    }
    
    .section.contact-section .container {
        padding: 0;
        max-height: calc(100vh - 6.5rem);
    }
    
    .contact-info-section {
        height: auto;
    }
}

.contact-info-section {
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

body.dark-mode .contact-detail-item {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-dark);
}

body.dark-mode .contact-detail-content h3 {
    color: var(--text-dark-mode-secondary);
}

body.dark-mode .contact-link {
    color: var(--light-blue);
}

.contact-detail-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 80, 255, 0.12);
    background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .contact-detail-item:hover {
    background: rgba(31, 31, 46, 0.8);
    box-shadow: 0 4px 16px rgba(102, 204, 255, 0.2);
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--white);
}

.contact-detail-content h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(26, 26, 46, 0.6);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

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

.contact-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

body.dark-mode .contact-icon {
    color: var(--white);
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.45), rgba(0, 80, 255, 0.65));
}

/* Glass Form - Liquid Glass Style */
.contact-form-container {
    opacity: 0;
    transform: translateY(30px);
}

.glass-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1.25rem;
    box-shadow: 
        0 8px 32px rgba(0, 80, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

body.dark-mode .glass-form {
    background: rgba(31, 31, 46, 0.6);
    border: 1px solid var(--border-dark);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent
    );
}

.form-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: left;
    transition: color 0.3s ease;
}

body.dark-mode .form-title {
    color: var(--text-dark-mode);
}

body.dark-mode .form-group label {
    color: var(--text-dark-mode-secondary);
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(26, 26, 46, 0.7);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(31, 31, 46, 0.5);
    border: 1px solid var(--border-dark);
    color: var(--text-dark-mode);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: var(--text-dark-mode-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.45);
    border-color: var(--primary-blue);
    box-shadow: 
        0 0 0 3px rgba(0, 80, 255, 0.08),
        0 2px 8px rgba(0, 80, 255, 0.12);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(31, 31, 46, 0.7);
    border-color: var(--light-blue);
    box-shadow: 
        0 0 0 3px rgba(102, 204, 255, 0.2),
        0 2px 8px rgba(102, 204, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(26, 26, 46, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
    max-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 80, 255, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: 0.25rem;
}

body.dark-mode .submit-btn {
    box-shadow: 0 4px 12px rgba(102, 204, 255, 0.3);
}

body.dark-mode .submit-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 204, 255, 0.4);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 80, 255, 0.35);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(234, 242, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1;
    min-height: auto;
    transition: background 0.3s ease;
}

body.dark-mode .footer {
    background: var(--nav-bg-dark);
    border-top: 1px solid var(--border-dark);
}

.footer p {
    color: rgba(26, 26, 46, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

body.dark-mode .footer p {
    color: var(--text-dark-mode-secondary);
}

/* Responsive Design */
/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }

    .nav {
        padding: 0.85rem 0;
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-logo {
        height: 25px;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-container {
        gap: 0.75rem;
    }

    .nav-controls {
        gap: 0.75rem;
    }

    .dark-mode-toggle {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }

    .dark-mode-toggle svg {
        width: 16px;
        height: 16px;
    }

    .lang-switcher {
        min-width: 38px;
        height: 38px;
        border-radius: 9px;
        font-size: 0.78rem;
        padding: 0 0.55rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(234, 242, 255, 0.85);
        backdrop-filter: blur(18px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    body.dark-mode .nav-menu {
        background: rgba(10, 10, 21, 0.65);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero {
        min-height: calc(100vh - 70px);
        padding: 6rem 1.25rem 3rem;
    }

    .hero-content {
        padding-top: 0;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        min-height: auto;
        padding: 3.5rem 1.25rem;
        justify-content: flex-start;
    }

    .section .container {
        padding: 0;
        width: 100%;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
        margin-bottom: 1.75rem;
    }

    .text-block {
        margin-bottom: 1.75rem;
    }

    .text-block p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .about-section .section-content {
        text-align: left;
    }

    .services-section {
        padding-top: 4.75rem !important;
        scroll-margin-top: 70px;
    }

    .services-scroll-container {
        margin: 2rem 0 0;
        overflow: visible;
        max-height: none;
        padding-bottom: 0;
    }

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

    .service-card {
        padding: 1.85rem;
        text-align: left;
        align-items: flex-start;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }

    .service-icon svg {
        width: 38px;
        height: 38px;
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item {
        min-height: 220px;
    }

    .portfolio-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .section.contact-section {
        padding: 4rem 1.25rem 2rem;
        scroll-margin-top: 70px;
    }

    .section.contact-section .container {
        padding: 0;
        max-height: none;
    }

    .contact-info-section {
        gap: 1rem;
    }

    .contact-details {
        gap: 0.75rem;
    }

    .contact-detail-item {
        padding: 0.75rem 0.9rem;
    }

    .glass-form {
        padding: 1.5rem;
        width: 100%;
    }

    .form-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.75rem 0.85rem;
    }

    .submit-btn {
        width: 100%;
        padding: 0.85rem 1.1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-controls {
        gap: 0.55rem;
    }

    .nav-menu {
        top: 58px;
    }

    .dark-mode-toggle {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .dark-mode-toggle svg {
        width: 14px;
        height: 14px;
    }

    .lang-switcher {
        min-width: 34px;
        height: 34px;
        border-radius: 8px;
        font-size: 0.7rem;
        padding: 0 0.4rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: calc(100vh - 70px);
        padding: 5.5rem 1rem 2.25rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
        margin-bottom: 0.85rem;
    }

    .hero-description {
        font-size: clamp(0.9rem, 4.5vw, 1rem);
    }

    .section {
        padding: 3.25rem 1rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
        margin-bottom: 1.25rem;
    }

    .text-block {
        margin-bottom: 1.5rem;
    }

    .services-section {
        padding-top: 4.25rem !important;
        scroll-margin-top: 60px;
    }

    .service-card {
        padding: 1.6rem;
    }

    .service-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 0.85rem;
    }

    .service-icon svg {
        width: 32px;
        height: 32px;
    }

    .service-title {
        font-size: 1.05rem;
    }

    .portfolio-item {
        min-height: 200px;
    }

    .portfolio-description {
        font-size: 0.9rem;
    }

    .contact-detail-item {
        padding: 0.75rem 0.8rem;
        gap: 0.6rem;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .glass-form {
        padding: 1.25rem;
    }

    .form-group {
        margin-bottom: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Glow Effects for Interactive Elements */
.portfolio-item-inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue), var(--pink));
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-item-inner::before {
    opacity: 0.6;
}

