/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    /* Colors */
    --primary-color: #1e3a8a;
    --primary-dark: #1e293b;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;

    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Utility Classes
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: var(--transition-base);
    text-align: center;
    cursor: pointer;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn--secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn--full {
    width: 100%;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}

.nav__brand {
    z-index: 1001;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo__image {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);
}

.logo__image:hover {
    transform: scale(1.05);
}

.logo__text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo__subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav__item--dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav__item--dropdown:hover .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__menu li {
    list-style: none;
}

.dropdown__link {
    display: block;
    padding: 12px 24px;
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-base);
    position: relative;
}

.dropdown__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition-base);
}

.dropdown__link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: 28px;
}

.dropdown__link:hover::before {
    transform: scaleY(1);
}

.lang__select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: var(--transition-base);
}

.lang__select:hover {
    border-color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-base);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg');
    opacity: 0.03;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero__highlight {
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    animation: float 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .process-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.5);
}

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

/* ========================================
   About Section
   ======================================== */

.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.about__paragraph {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature__icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.feature__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature__text {
    font-size: 15px;
    color: var(--text-secondary);
}

.about__support {
    margin-top: 40px;
    padding: 24px;
    background: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.support__text {
    font-size: 15px;
    color: var(--text-secondary);
}

.about__image {
    position: relative;
}

.image__wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image__wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.image__wrapper:hover img {
    transform: scale(1.05);
}

.image__badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: var(--section-padding) 0;
    background: white;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service__card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    cursor: pointer;
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service__icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.service__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
}

.service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.service__card:hover .service__image img {
    transform: scale(1.05);
}

.service__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service__description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Projects Section
   ======================================== */

.projects {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.project__card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.project__image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.project__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: var(--transition-base);
}

.project__card:hover .project__overlay {
    opacity: 1;
}

.project__card:hover .project__image img {
    transform: scale(1.1);
}

.project__category {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.projects__cta {
    text-align: center;
}

.cta__text {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 24px;
}

/* ========================================
   Career Section
   ======================================== */

.career {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section__subtitle {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    margin: 16px 0 24px 0;
}

.career__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-top: 60px;
}

.career__benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit__card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.benefit__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.benefit__icon svg {
    width: 30px;
    height: 30px;
}

.benefit__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.career__cta {
    display: flex;
    align-items: flex-start;
}

.cta__card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta__title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta__text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    opacity: 0.95;
}

.cta__card .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.cta__card .btn:hover {
    background: var(--text-primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .career__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .benefit__card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .benefit__card {
        padding: 24px;
    }

    .benefit__title {
        font-size: 18px;
    }

    .cta__card {
        padding: 32px 24px;
    }

    .cta__title {
        font-size: 22px;
    }
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: var(--section-padding) 0;
    background: white;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info__card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: var(--transition-base);
}

.info__card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.info__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info__icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.info__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact__form {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: 16px;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 15px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: white;
    transition: var(--transition-base);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__message {
    margin-top: 20px;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form__message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form__message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.footer__tagline {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__text {
    font-size: 15px;
    line-height: 1.7;
}

.footer__title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 15px;
    transition: var(--transition-base);
}

.footer__link:hover {
    color: white;
    padding-left: 8px;
}

.footer__contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.6;
}

.footer__contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__copyright {
    font-size: 14px;
}

.footer__credits {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery {
    padding: var(--section-padding) 0;
    background: white;
}

.gallery__tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery__tab {
    padding: 12px 32px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-base);
    cursor: pointer;
}

.gallery__tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gallery__tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gallery__load-more {
    text-align: center;
    margin-bottom: 60px;
}

.gallery__load-more .btn {
    min-width: 200px;
    font-size: 16px;
    padding: 14px 32px;
}

.gallery__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    transition: var(--transition-base);
}

.gallery__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery__item img,
.gallery__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.gallery__item:hover img,
.gallery__item:hover video {
    transform: scale(1.1);
}

.gallery__item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-type {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery__item-type svg {
    width: 16px;
    height: 16px;
}

.gallery__item-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery__item-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.gallery__loader {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery__loader p {
    color: var(--text-secondary);
    font-size: 16px;
}

.gallery__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.gallery__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.gallery__empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    opacity: 0.3;
}

.gallery__empty-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.gallery__empty-text {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Lightbox Modal
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox__content img,
.lightbox__content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10000;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox__close {
    top: 30px;
    right: 30px;
}

.lightbox__prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox__next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lightbox__caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    max-width: 80%;
    text-align: center;
}

/* ========================================
   Process Detail Pages
   ======================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--text-light);
}

.process-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
}

.process-hero__title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.process-hero__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.process-content {
    padding: 80px 0;
}

.process-grid {
    max-width: 900px;
    margin: 0 auto;
}

.process-main {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.process-description h2,
.process-equipment h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.process-description p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.equipment-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: var(--transition-base);
}

.equipment-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.equipment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.equipment-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.equipment-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.process-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.technical-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.technical-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.technical-list svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
    flex-shrink: 0;
}

.related-processes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-processes li a {
    display: block;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.related-processes li a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.sidebar-cta h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.sidebar-cta p {
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.sidebar-cta .btn {
    background: white;
    color: var(--primary-color);
}

.sidebar-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Process Gallery
   ======================================== */

.process-images-section {
    margin-top: 80px;
}

.process-images-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.process-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    max-width: 500px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.gallery-item:only-child {
    max-width: 600px;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .section__title {
        font-size: 36px;
    }

    .hero__title {
        font-size: 42px;
    }

    .about__content,
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .stat__number {
        font-size: 36px;
    }

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

    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .gallery__stats {
        gap: 40px;
    }

    .process-hero__title {
        font-size: 40px;
    }

    .process-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
        gap: 24px;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active .hamburger {
        background: transparent;
    }

    .nav__toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav__toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Mobile Dropdown */
    .dropdown__menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-secondary);
        margin-top: 8px;
        border-radius: 8px;
        padding: 8px 0;
    }

    .dropdown__link {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section__title {
        font-size: 32px;
    }

    .section__description {
        font-size: 16px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__description {
        font-size: 16px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat__number {
        font-size: 32px;
    }

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

    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact__form {
        padding: 32px 24px;
    }

    .about__image {
        order: -1;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery__tabs {
        gap: 8px;
    }

    .gallery__tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .gallery__stats {
        flex-direction: column;
        gap: 24px;
    }

    .lightbox__close,
    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
    }

    .lightbox__close {
        top: 20px;
        right: 20px;
    }

    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }

    .lightbox__caption {
        font-size: 14px;
        padding: 12px 16px;
        bottom: 20px;
    }

    .process-hero {
        padding: 120px 0 60px;
    }

    .process-hero__title {
        font-size: 32px;
    }

    .process-hero__subtitle {
        font-size: 18px;
    }

    .process-content {
        padding: 60px 0;
    }

    .process-description h2,
    .process-equipment h2,
    .process-images-section h2 {
        font-size: 26px;
    }

    .equipment-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .equipment-icon {
        width: 50px;
        height: 50px;
    }

    .process-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }

    .gallery-item {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .section__title {
        font-size: 28px;
    }

    .logo__text {
        font-size: 20px;
    }

    .project__card {
        height: 300px;
    }

    .service__card {
        padding: 32px 24px;
    }

    .process-hero__title {
        font-size: 28px;
    }

    .process-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        height: 250px;
    }
}

/* ========================================
   Animations (AOS Alternative)
   ======================================== */

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Timeline Section
   ======================================== */
.timeline {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.timeline__container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    padding: 20px 0;
}

.timeline__line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    top: 0;
    opacity: 0.2;
}

.timeline__item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline__item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline__dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    transition: var(--transition-base);
}

.timeline__item:hover .timeline__dot {
    background-color: var(--secondary-color);
    transform: translateX(-50%) scale(1.2);
}

.timeline__date {
    position: absolute;
    top: -2px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 120px;
}

.timeline__item:nth-child(odd) .timeline__date {
    left: calc(50% + 40px);
    text-align: left;
}

.timeline__item:nth-child(even) .timeline__date {
    right: calc(50% + 40px);
    text-align: right;
}

.timeline__content {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 90%;
    position: relative;
    transition: var(--transition-base);
    border-bottom: 4px solid transparent;
}

.timeline__item:hover .timeline__content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.timeline__item--highlight .timeline__content {
    border-bottom-color: var(--secondary-color);
    background: linear-gradient(to bottom right, #fff, #fff9f0);
}

.timeline__item--highlight .timeline__dot {
    background-color: var(--secondary-color);
}

.timeline__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline__line {
        left: 30px;
    }
    
    .timeline__item {
        padding-right: 0 !important;
        padding-left: 70px !important;
        justify-content: flex-start !important;
    }
    
    .timeline__dot {
        left: 30px;
    }
    
    .timeline__date {
        position: relative;
        display: block;
        margin-bottom: 10px;
        left: 0 !important;
        right: 0 !important;
        text-align: left !important;
        width: auto;
    }
    
    .timeline__content {
        width: 100%;
    }
}
