/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
::-moz-selection { /* Code for Firefox */
  color: #b0b8cc;
  background: #050810;
}

::selection {
  color: #b0b8cc;
  background: #050810;
}
:root {
    /* Colors - Based on mockup dark theme */
    --primary-color: #5C7EAE;
    --secondary-color: #0066cc;
    --accent-color: #00d4ff;
    --dark-bg: #040710;
    --darker-bg: #050810;
    --card-bg: #131824;
    --text-primary: #ffffff;
    --text-secondary: #b0b8cc;
    --text-muted: #6b7280;
    --border-color: #1f2937;

    /* Typography */
    --font-main: 'Montserrat',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Days','Arial', sans-serif;
    --font-heading-sm: 'Days','Arial', sans-serif;


    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Container */
    --container-max-width: 1640px;
    --container-padding: 2rem;

    /* button */
    --action-gradient: linear-gradient(45deg, #0c101d 10%, #364883 200%);
}

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

/* Blurred Background Elements */
.
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.4), transparent);
    top: -200px;
    right: -200px;
}

body::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.3), transparent);
    bottom: -150px;
    left: -150px;
}

.blur-element {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .25;
    pointer-events: none;
    z-index: 2;
}

.blur-element-1 {
    width: 300px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent);
    top: 30%;
    left: 10%;
}

.blur-element-2 {
    width: 450px;
    height: 1210px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.35), transparent);
    top: -30%;
    right: -5%;
}

.blur-element-3 {
    width: 970px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.25), transparent);
    bottom: 0%;
    left: 50%;
}
.container {
    position: relative;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}
.blur_it{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.color_blue, .highlight{
    color: var(--primary-color);
}
.cyclebb1, .cyclebb2, .cyclebb3 {
    top: 0;
    width: 20rem;
    height: 40rem;
    background-color: var(--secondary-color);
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    position: absolute;
    filter: blur(120px);
    transform: translate(-50px, -340px) rotate(8deg)scale(2.5, 1);
    opacity: 0.35;
}
.cyclebb2 {
    transform: translate(440px, 70px)rotate(88deg);
    background: linear-gradient(90deg, var(--secondary-color) 0%, #0449a5 100%);
    opacity: 0.15;
    filter: blur(120px);
}
.cyclebb3 {
    transform: translate(170px, 130px) rotate(-24deg);
    background: linear-gradient(90deg, #547b9b 0%, #0449a5 100%);
    opacity: 1;
    filter: blur(250px);
}
.cyclebb3.cb_l {
    transform: translate(70px, -310px) rotate(-105deg);
    height: 60rem;
    right: 30rem;
}
.cyclebb1.cb_l {
    transform: translate(530px, -100px) rotate(8deg) scale(2.5, 1);
}
.z0{z-index: 0;}
.z1{z-index: 1;}
.z2{z-index: 2;}
.z3{z-index: 3;}
.z4{z-index: 4;}
.z5{z-index: 5;}
.z6{z-index: 6;}
.z7{z-index: 7;}
.z8{z-index: 8;}
.z9{z-index: 9;}


/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: normal;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.05em;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--action-gradient);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}
.btn-secondary svg path{
    transition: all 0.3s ease;
}
.btn-secondary:hover svg path{
    fill: var(--text-primary) !important;
}
span.arrow-right {
    position: absolute;
    display: inline-block;
    height: 25px;
    width: 25px;
}
span.arrow-right svg {
    height: 25px;
    width: 25px;
    line-height: 25px;
}
/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Ensure all sections are above blur elements */
section {
    position: relative;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.navbar-left {
    display: flex;
    font-family: var(--font-heading);
    align-items: center;
    gap: 2rem;
}

.navbar-right {
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    margin-right: 1rem;
}

.logo-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}
a.logo-link img {
    max-width: 140px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0.3rem;
    background-color: rgba(10, 14, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu li:first-child a {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-header {
    font-family: var(--font-heading);
    font-weight: unset;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    background: var(--action-gradient);
    border-radius: 6px;
}

.btn-header:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-header svg rect{
    transition: all 0.3s ease;
}
.btn-header:hover svg rect{
    fill: var(--text-primary) !important;
}

.btn-icon {
    width: 14px;
    height: 14px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%); */
    /* Background image will be added here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.hero-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(4, 7, 16, 0.4) 0%, rgba(4, 7, 16, 0.6) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 2rem;
    width: 100%;
    min-height: 70vh;
    align-items: start;
}

.hero-right {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    justify-self: end;
}

.hero-left {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
}

.hero-title {
    font-size: 4rem;
    font-weight: unset;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.hero-title-blue {
    color: var(--primary-color);
}
span.hero-title-blue{
    white-space: nowrap;
}
.hero-grid-icon {
    color: var(--primary-color);
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-align: left;
}

/* ========================================
   Specialization Section
   ======================================== */
.back_wrap{
    background: linear-gradient(0deg, rgba(18, 24, 33,0.5) 0%, rgba(40, 51, 73,0.5) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 41, 55, 0.3);
    transition: all 0.3s ease;
}
.specialization {
    padding: var(--spacing-xl) 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: visible;
}

.specialization-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 800px;
    position: relative;
    right: -10rem;
}

.specialization-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 90%;
    z-index: 0;
}

.specialization-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.specialization-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.specialization-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.specialization-label {
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid var(--border-color);
}

.specialization-right {
    width: 77%;
    display: flex;
    align-items: center;
    z-index: 1;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    position: relative;
}

/* Vertical divider in the middle */
.services-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(92, 126, 174, 0.2);
    transform: translateX(-50%);
}

.service-card {
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Horizontal borders that don't cross the vertical line */
.service-card:not(:nth-child(5)):not(:nth-child(6))::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(92, 126, 174, 0.2);
}

/* Make horizontal borders stop before center for left column */
.service-card:nth-child(odd):not(:nth-child(5))::after {
    right: 2rem;
    left: 2rem;
}

/* Make horizontal borders start after center for right column */
.service-card:nth-child(even):not(:nth-child(6))::after {
    left: 2rem;
    right: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;

}

.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.7;
    opacity: 0.9;
}

/* ========================================
   Full Cycle Section
   ======================================== */
.full-cycle {
    padding: var(--spacing-xl) 0;
    position: relative;
    min-height: 77vh !important;
    align-content: center;
}

.cycle-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.cycle-label {
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid var(--border-color);
    display: inline-block;
}
span.cycle-label span::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 10px;
    margin-bottom: 2px;
    background-color: var(--primary-color);
    display: inline-block;
}
.cycle-content {
    position: relative;
    display: block;
    min-height: 600px;
}

.cycle-text {
    position: relative;
    z-index: 2;
    max-width: 50%;
    padding-right: 2rem;
}

.section-title-left {
    font-size: 4rem;
    font-weight: unset;
    text-align: left;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section-title-left span {
    color: var(--primary-color);
}

.cycle-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.cycle-intro strong {
    color: var(--text-primary);
}

.cycle-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.cycle-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cycle-diagram {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
}

.diagram-image {
    width: 100%;
    height: inherit;

    min-width: 850px;
    aspect-ratio: 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-bg);
}

.projects-header {
    padding: 2rem 0;
}

.projects-label {
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid var(--border-color);
    display: inline-block;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.project-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    /* aspect-ratio: 16/10; */
}
.project-image img {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.project-card:hover {
    transform: translateY(-8px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 100%;
    /* Project images will be placed here */
    background-size: cover;
    background-position: center;
}

.project-overlay {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0;
    opacity: 1;
    transition: all 0.4s ease;
}

.project-content {
    position: relative;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-category {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.projects-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}
.projects-cta .btn {
    padding: 1rem 3.5rem 1rem 2.5rem;
}
/* ========================================
   Clients & Partners Sections
   ======================================== */
.clients,
.partners {
    min-height: 45vh;
    align-content: center;
    padding: var(--spacing-xl) 0;
}

.clients {
    background-color: var(--darker-bg);
}

.partners {
    background-color: var(--dark-bg);
}

.clients-header,
.partners-header {
    padding: 2rem 0;
}

.clients-label,
.partners-label {
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid var(--border-color);
    display: inline-block;
}

.clients-grid,
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: var(--spacing-lg);
}

.client-logo,
.partner-logo {
    min-width: 180px;
    height: 80px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Logos will be placed here */
}
.client-logo img, .partner-logo img{
    padding: 1rem;
    max-width: 180px;
    max-height: 75px;
}
.client-logo:hover,
.partner-logo:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* ========================================
   Cooperation / Contact Section
   ======================================== */
.cooperation {
    min-height: 80vh;
    align-content: center;
    padding: var(--spacing-xl) 0;
    
}

section#cooperation .container {
    max-width: unset;
}
.cooperation-content {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
}
.cooperation-title {
    font-size: 4rem;
    font-weight: unset;
    align-content: center;
    text-align: left;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
        width: 10%;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: linear-gradient(0deg, rgba(18, 24, 33, 0.5) 0%, rgba(40, 51, 73, 0.5) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 41, 55, 0.3);
    width: 50%; 
}

.form-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-right .form-group {
    height: 100%;
}

.form-right textarea {
    height: 100%;
    resize: none;
}

.form-group {
    width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    font-family: var(--font-heading);
    color: var(--text-primary) !important;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: unset;
    border-bottom: 1px solid rgba(92, 126, 174, 0.2);
    border-radius: unset;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(19, 24, 36, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(176, 184, 204, 0.5);
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.form-footer .btn {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
    max-width: 500px;
    line-height: 1.5;
}
select option {
    background: #010c1aeb;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}
footer.footer .container {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
        font-family: var(--font-heading);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
        font-family: var(--font-heading);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* ========================================
   Responsive Design
   ======================================== */
/* Small Screen */
@media (max-width: 1440px) {
    :root {
/* Container */
    --container-max-width: 1400px;
    }

    .specialization-wrapper{        
        right: auto;
        justify-content: end;
    }
    .cooperation-content{
        flex-direction: column;
        align-items: center;
    }

    .cooperation-title{
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    h2.cooperation-title br {
        display: none;
    }
    .contact-form{
        width: 100%;
    }
    
}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
        --spacing-xl: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-left {
        gap: 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .btn-header {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .cycle-content {
        min-height: 500px;
    }

    .cycle-text {
        max-width: 60%;
    }

    .diagram-image {
        width: 450px;
        height: 450px;
    }

    .section-title-left {
        font-size: 2.5rem;
    }

    .specialization {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    .services-grid::before {
        display: none;
    }
    .service-card:not(:nth-child(6)):not(:nth-child(6))::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background-color: rgba(92, 126, 174, 0.2);
    }
    .specialization-wrapper {
        flex-direction: column;
        width: 100%;
        min-height: auto;
    }

    .specialization-left {
        width: 100%;
        transform: none;
        top: auto;
        left: auto;
        margin-bottom: 3rem;
    }

    .specialization-right {
        width: 100%;
    }

    .specialization-image {
        min-height: 400px;
    }

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

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

    .contact-form {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .cooperation-title {
        font-size: 2rem;
    }

    .form-right textarea {
        min-height: 300px;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-disclaimer {
        text-align: left;
    }

    /* Blur elements - Tablet */
    .cyclebb1, .cyclebb2, .cyclebb3 {
        width: 15rem;
        height: 30rem;
        filter: blur(100px);
        transform: translate(-30px, -250px) rotate(8deg) scale(2, 1);
    }

    .cyclebb2 {
        transform: translate(320px, 50px) rotate(88deg);
        filter: blur(100px);
    }

    .cyclebb3 {
        transform: translate(120px, 100px) rotate(-24deg);
        filter: blur(200px);
    }

    .cyclebb3.cb_l {
        transform: translate(50px, -220px) rotate(-105deg);
        height: 45rem;
        right: 20rem;
    }

    .cyclebb1.cb_l {
        transform: translate(380px, -80px) rotate(8deg) scale(2, 1);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-lg: 3rem;
        --spacing-xl: 3rem;
    }
    .blur_it{
        background-color: rgba(10, 14, 26, 0.98);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        backdrop-filter: unset;
        -webkit-backdrop-filter: unset;
        mask-image: unset;
        -webkit-mask-image:unset;
    }
    .navbar-left .nav-menu {
        display: none;
    }

    .navbar-right {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 3rem;
        min-height: 60vh;
    }

    .hero-right {
        grid-column: 1;
        grid-row: 1;
        align-items: flex-start;
        justify-self: start;
    }

    .hero-left {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-subtitle {
        text-align: left;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    .cycle-header{
        top: 0;
        left: 0;
    }
    .diagram-image img{
        width: 200%;
        height: 200%;
        position: absolute;
        right: 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    section.full-cycle .container {
        padding: 2rem 2rem;
        background: linear-gradient(0deg, rgba(18, 24, 33, 0.5) 0%, rgba(40, 51, 73, 0.5) 100%);
        backdrop-filter: blur(10px);
        margin: 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .cycle-content {
        min-height: 400px;
    }

    .cycle-text {
        padding-right: 0;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .cycle-diagram {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        padding: 10rem 0rem 4rem;
    }

    .diagram-image {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .section-title-left {
        font-size: 2rem;
    }

    .specialization {
        min-height: auto;
        z-index: 1;
    }

    .specialization-wrapper {
        flex-direction: column;
    }

    .specialization-left {
        width: 100%;
        height: 300px;
        transform: none;
        top: auto;
        left: auto;
        margin-bottom: 2rem;
    }

    .specialization-right {
        width: 100%;
    }

    .specialization-image {
        min-height: 300px;
    }

    .clients-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .cooperation-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .form-left {
        gap: 1rem;
    }

    .form-right textarea {
        min-height: 200px;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .form-disclaimer {
        text-align: left;
    }

    /* Blur elements - Mobile */
    .cyclebb1, .cyclebb2, .cyclebb3 {
        width: 10rem;
        height: 20rem;
        filter: blur(80px);
        transform: translate(-20px, -150px) rotate(8deg) scale(1.5, 1);
        opacity: 0.25;
    }

    .cyclebb2 {
        transform: translate(200px, 30px) rotate(88deg);
        filter: blur(80px);
        opacity: 0.12;
    }

    .cyclebb3 {
        transform: translate(80px, 60px) rotate(-24deg);
        filter: blur(150px);
        opacity: 0.8;
    }

    .cyclebb3.cb_l {
        display: none;
    }

    .cyclebb1.cb_l {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    span.hero-title-blue{
        white-space: normal;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem 0;
    }

    .clients-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .diagram-image img{
        width: 210%;
        height: 120%;
        right: 0;
        position: absolute;
    }
    /* Blur elements - Small Mobile */
    .cyclebb1, .cyclebb2, .cyclebb3 {
        width: 8rem;
        height: 16rem;
        filter: blur(60px);
        transform: translate(-10px, -100px) rotate(8deg) scale(1.2, 1);
        opacity: 0.2;
    }

    .cyclebb2 {
        transform: translate(120px, 20px) rotate(88deg);
        filter: blur(60px);
        opacity: 0.1;
    }

    .cyclebb3 {
        transform: translate(50px, 40px) rotate(-24deg);
        filter: blur(100px);
        opacity: 0.6;
    }

    .cyclebb3.cb_l {
        display: none;
    }

    .cyclebb1.cb_l {
        display: none;
    }
    
}
@media (max-width: 320px) {
    body{
        overflow-x: hidden;
    }
    :root {
        --container-max-width: 320px;
    }
    .back_wrap{
        padding: 1rem;
    }
    .cyclebb2 {
        transform: translate(50px, -6px) rotate(88deg);
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .contact-form{
        padding: 1rem;
    }
    .form-group input, .form-group textarea{
        padding: 0.8rem 0rem;
    }

}

/* ========================================
   Projects Page Styles
   ======================================== */
.projects-hero {
    min-height: 60vh;
    padding-top: 100px;
}

.projects-hero .hero-title {
    font-size: 4rem;
}

/* ========================================
   Project Detail Page Styles
   ======================================== */
.project-detail-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.project-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.project-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(4, 7, 16, 0.7) 0%, rgba(4, 7, 16, 0.9) 100%);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 3;
}

.project-detail-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: unset;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* Project Description Section */
.project-description-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-bg);
}

.project-description-content {
    max-width: 1200px;
    margin: 0 auto;
}

.project-description-text {
    margin-top: var(--spacing-lg);
}

.project-description-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

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

/* Related Projects Section */
.related-projects {
    padding: var(--spacing-xl) 0;
    background-color: var(--darker-bg);
    position: relative;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-color: var(--dark-bg);
    position: relative;
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: unset;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* ========================================
   Policy Pages (Privacy Policy / Terms of Use)
   ======================================== */
.policy-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-color: var(--dark-bg);
    position: relative;
}

.policy-hero-content {
    position: relative;
    z-index: 1;
}

.policy-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: unset;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.policy-content {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.policy-text {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

.policy-text h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.policy-text h2:first-child {
    margin-top: 0;
}

.policy-text h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.policy-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.policy-text ul,
.policy-text ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
}

.policy-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-text a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.policy-text strong {
    color: var(--text-primary);
}

/* ========================================
   Responsive Styles for New Pages
   ======================================== */
@media (max-width: 768px) {
    .projects-hero {
        min-height: 50vh;
    }

    .projects-hero .hero-title {
        font-size: 2.5rem;
    }

    .project-detail-hero {
        min-height: 50vh;
    }

    .project-detail-title {
        font-size: 2.5rem;
    }

    .project-description-section {
        padding: var(--spacing-lg) 0;
    }

    .about-hero {
        min-height: 30vh;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .policy-hero {
        min-height: 30vh;
    }

    .policy-hero-title {
        font-size: 2.5rem;
    }

    .policy-content {
        padding: var(--spacing-md) 0 var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .projects-hero .hero-title {
        font-size: 2rem;
    }

    .project-detail-title {
        font-size: 2rem;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .policy-hero-title {
        font-size: 2rem;
    }

    .policy-text h2 {
        font-size: 1.25rem;
    }

    .project-description-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 300px) {
        :root {
        --container-max-width: 300px;
    }
}