/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
}

:root {
    --primary-color: #00A3FF;
    --secondary-color: #1B6370;
    --background-dark: #000000;
    --text-light: #FFFFFF;
    --text-classic: #ABABAB;
    --text-gray: #888888;
    --spacing-lg: 200px;
    --spacing-md: 80px;
    --spacing-sm: 30px;
    --solution-img-space: 80px;
    --solution-img-width: calc(calc(100% - var(--solution-img-space)) / 4);
    --solution-img-large: calc((3 * calc(calc(100% - var(--solution-img-space)) / 4)) + calc(var(--solution-img-space) / 2));
    --solution-img-middle: calc((2 * calc(calc(100% - var(--solution-img-space)) / 4)));
}

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

b {
    font-weight: 400;
}

/* Header and Navigation */
.header {
    position: relative;
    min-height: 100vh;
    background: 
        linear-gradient(to top right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3)),
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    overflow: hidden;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--spacing-sm);
    z-index: 100;
    max-width: 100vw
}

.logo img {
    max-width: 320px;
    width: 30vw;
}

.nav-links {
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 224, 255, 1), rgba(0, 0, 0, 1)) 1;
    display: flex;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    box-sizing: border-box;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
}

.nav-links>a, .nav-links>div {
    font-weight: 300;
    font-size: 16px;
    transition: color 0.3s ease;
    
    background: rgba(0, 0, 0, 0.5); 
    padding: 11px 36px;
}

.nav-links>a:hover, .nav-links>div:hover{
    background: #00E0FF; 
}
.nav-links a.active {
    background: rgba(0, 0, 0, 0.8); 
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 var(--spacing-md) var(--spacing-md);
    background-image: url('assets/images/prot_169.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    position: relative;
    z-index: 2;
    font-size: 64px;
    font-weight: 200;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-top-shadow {
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: radial-gradient(at 0% 0%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 40%);
    z-index: 2;
}

.hero-bottom-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: radial-gradient(at 0% 100%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
    z-index: 2;
}

.cta-button {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 2;
    gap: 10px;
    line-height: 1;
    width: 214px;
    height: 60px;
    padding: 14px 9px;
    background-color: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.down-arrow {
    font-size: 36px;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Section Headers */
h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #2AACB8;
    font-weight: 300;
    text-align: left;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Case Studies Section */
.case-studies {
    padding: var(--spacing-lg) var(--spacing-sm);
    background-color: var(--background-dark);
    position: relative;
    padding: var(--spacing-md) 5%;
    margin: var(--spacing-md) auto;
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 60px;
}

.case-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.slider-nav {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 6px;
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

#quality-policy h2 {
    color: #58cce0;
}

.quality-principles {
    line-height: 1.6;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-nav svg {
    width: 20px;
    height: 20px;
}

.case-grid {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: -1000px;
    width: 100%;
    height: 600px;
    transform-style: preserve-3d;
}

.case-item {
    position: absolute;
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
    transform: scale(0.6);
    display: none;
    width: 60%;
    margin: auto;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.case-item.active {
    opacity: 1;
    left: 0;
    right: 0;
    margin: auto;
    transform: scale(1) rotateY(0deg) translateY(10%);
    display: block;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.case-item.prev {
    opacity: 0.7;
    transform: scale(0.6) translateX(-30%);
    display: block;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    left: 0;
}

.case-item.next {
    right: 0;
    opacity: 0.7;
    transform: scale(0.6) translateX(30%);
    display: block;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.case-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.case-item:hover img, .case-item:hover .case-overlay  {
    transform: scale(1.02);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.case-overlay h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 300;
    color: #00E0FF;
}

.case-overlay p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
}

@media (max-width: 768px) {
    .case-studies {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .case-studies h2 {
        margin-bottom: 32px;
    }

    .case-item img {
        height: 400px;
    }
    
    .case-overlay {
        padding: 20px;
    }
    
    .case-overlay h3 {
        font-size: 24px;
    }
    
    .case-overlay p {
        font-size: 16px;
    }

    .case-item.active {
        width: 80%;
    }

    .product-hero-image>img {
        max-height: 45vh;
    }
}

/* Products Section */
.products {
    background-color: var(--background-dark);
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 10vh 5%;
    margin: var(--spacing-md) auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-item {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.product-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 30px;
    border-radius: 6px;
    transition: all 0.3s ease;
    object-fit: contain;
    flex-grow: 1;
}

.product-item h3 {
    font-size: 36px;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 0;
    transition: color 0.3s ease, scale 0.3s ease;
    text-align: center;
    width: 100%;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-item:hover h3 {
    color: #1B6370;
    scale: 1.15;
    font-weight: 400;
}

.product-line-container {
    width: 0;
    position: absolute;
    top: 2rem;
    left: 0;
    overflow: hidden;
    transition: width 1s ease;
}


/* Solutions Section */
.solutions {
    padding: var(--spacing-lg) var(--spacing-sm);
    background-color: var(--background-dark);
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-lg) 5%;
}

.solutions-content {
    flex: 1;
    padding-top: 40px;
    max-width: 400px;
}

.solutions-intro {
    font-size: 24px;
    margin-bottom: 40px;
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 300;
}

.solutions-list {
    list-style: none;
    padding: 0;
}

.solutions-list li {
    color: #2aacb8b2;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 300;
    transition: color 0.3s ease;
    cursor: pointer;
}

.solutions-list li:hover {
    color: #2AACB8;
}

.solutions-grid {
    position: relative;
    width: max(50%, 600px);
}

.solutions-image {
    position: absolute;
    height: 380px;
    width: var(--solution-img-width);
    height: var(--solution-img-width);
    margin: auto;
    transition: width 0.5s ease, height 0.5s ease;
}

.solutions-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Remove the general hover effect on the grid */
.solutions-grid:hover .solutions-image:not(:hover) {
    /* Remove this rule that was causing all images to collapse on gap hover */
}

/* Keep the hover effect only for direct hover on images */
.solutions-image:hover {
    width: 100% !important;
    height: 100% !important;
    z-index: 10;
}

.solutions-image.hover {
    width: 100% !important;
    height: 100% !important;
    z-index: 10;
}

.solutions-image.unhover {
    width: 0% !important;
    height: 0% !important;
}

/* Footer */
.footer {
    background-color: #151515;
    padding: 60px var(--spacing-md);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
}

.footer-email {
    display: flex;
}

.email-input {
    background-color: #181A1B;
    border: none;
    padding: 20px;
    color: var(--text-light);
    font-size: 16px;
    width: 300px;
    outline: none;
}

.email-input::placeholder {
    color: var(--text-gray);
}

.confirm-button {
    background-color: #34383A;
    color: "black";
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.confirm-button:hover {
    background-color: rgba(217, 217, 217, 0.3);
}

.footer-divider {
    height: 1px;
    background-color: rgba(217, 217, 217, 0.1);
    margin: 40px 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-address {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: rgba(217, 217, 217, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-column a {
    display: block;
    color: rgba(217, 217, 217, 0.6);
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.social-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 1;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .products::before {
        width: 60%;
    }
    
    .product-grid {
        gap: 40px;
        margin-top: 60px;
    }
    
    .product-item h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px var(--spacing-sm);
    }
    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

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

    .email-input {
        width: 100%;
    }

    .footer-email {
        width: 100%;
        flex-direction: column;
    }

    .products::before {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .solutions {
        padding: var(--spacing-md) var(--spacing-sm);
        flex-direction: column;
    }

    .solutions-content {
        max-width: 100%;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-image-large {
        grid-column: span 2;
        height: 300px;
    }

    .solutions-image-small {
        grid-column: span 1;
        height: 200px;
    }
}

@media (max-width: 1024px) {
    :root {
        --spacing-lg: 6rem;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .case-grid,
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 5rem;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .case-grid,
    .product-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .solutions {
        flex-direction: column;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-image-large,
    .solutions-image-small,
    .solutions-image-medium {
        grid-column: 1;
        height: 200px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 32px
    }
    .nav-links {
        display: none;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        
    }

    .cta-button {
        margin: auto;
        font-size: 1.2rem;
        height: auto;
        width: fit-content;
        padding: 10px 20px 12px;
    }

    .down-arrow {
        font-size: 31px;
    }

}

/* Product Hero Section */
.product-hero {
    height: 100vh;
    background: linear-gradient(to right, #000000 60%, #004952 100%);
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.product-hero-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 80px;
}

.product-hero-text {
    flex: 1;
}

.product-hero-text h1 {
    font-size: 5rem;
    font-weight: 100;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 2rem;
}

.product-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

/* Technical Specifications Section */
.technical-specs {
    padding: 5rem 5%;
    background-color: #000000;
    color: #ffffff;
    padding: var(--spacing-md) 5%;
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.specs-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.specs-image {
    flex: 2;
    position: relative;
}

.specs-image img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    border-radius: 10px;
}

.shadow-right { 
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.shadow-left { 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.specs-grid {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-self: end;
    margin-bottom: 5%;
    margin-left: -80px;
    width: 100%;
    justify-content: center;
}

.specs-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 360px;
    max-width: 100%;
    margin: auto;
}

.specs-label {
    color: #888888;
    font-size: 1.6rem;
    font-weight: 300;
}

.specs-value, .specs-item b {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-hero-text h1 {
        font-size: 3rem;
    }

    .specs-container {
        flex-direction: column;
    }

    .specs-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
}

@media (max-width: 820px) {
    .nav-links.active {
        background: linear-gradient(-135deg, black, #000000c9, transparent);
        width: 100%;
    }
    .nav-links>a, .nav-links>div {
        background-color: transparent;
    }
}

@media (max-width: 768px) {
    .product-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .product-hero-text h1 {
        font-size: 2.5rem;
    }

    .product-hero-image>img {
        width: auto;
    }

    .specs-grid {
        padding: 0 10%;
        grid-template-columns: 1fr;
        align-self: center;
        margin: auto;
    }

    .specs-label {
        font-size: 1.2rem;
    }

    .specs-value {
        font-size: 1.2rem;
    }
    
    .specs-image {
        width: 90%;
    }
    
    .specs-image img {
        height: 550px;
    }
}

@media (max-width: 480px) {
    
    .specs-image img{
        height: 400px;
    }
}

/* Feature Sections */
.feature-section {
    position: relative;
    padding: 6rem 5%;
    background-color: #000000;
    color: #ffffff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 5%;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 0 auto;
    max-width: 1200px;
}

.feature-content.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 300;
    color: #00E0FF;
    margin-bottom: 2rem;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #888888;
    width: 80%;
}

.feature-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.gradient-text-green {
    background: linear-gradient(to right, #006A07, #65FF6F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(to right, #B7287E, #EA8BC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-hyper {
    background: linear-gradient(to right, #306F7A, #58CCE0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.green-line, .purple-line {
    position: absolute;
    right: 0;
    width: 0%;
    height: 100%;
    overflow: hidden;
    transition: width 1s ease;
}

.green-line {
    top: 10%;
}

.green-line.left {
    left: 0;
}

.green-line.right {
    right: 0;
    transform: scaleX(-1);
}

.purple-line img {
    float: right;
}

.purple-line.top {
    top: 10%;
}

.purple-line.bottom {
    bottom: 10%;
    transform: scaleY(-1);
}


.feature-image-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.feature-image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

#product-line {
    width:  90vw;
}

/* Update Responsive Design for Feature Sections */
@media (max-width: 1024px) {
    .feature-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .feature-content.reverse {
        flex-direction: column;
    }

    .feature-text h2 {
        font-size: 2.5rem;
    }

    .feature-text h3 {
        font-size: 1.3rem;
    }

    .feature-image,
    .feature-image-grid {
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
    }

    .feature-image-grid {
        grid-template-columns: repeat(2, 1fr); /* Ensure side by side even on tablet */
    }

    .green-line {
        top: 0;
    }

    .purple-line {
        display: none;
    }

    #product-line {
        width: auto;
    }

}

@media (max-width: 768px) {
    .feature-section {
        padding: var(--spacing-lg) 5%;
    }

    .feature-text h2 {
        font-size: 2rem;
    }

    .feature-text h3 {
        font-size: 1.1rem;
    }

    .feature-text p {
        margin: auto;
    }

    .feature-image-grid {
        grid-template-columns: 1fr; /* Stack on mobile only */
        gap: 15px;
    }

    .feature-image-grid img {
        height: 250px !important;
    }
}

/* Hyper Mapper Specific Styles */
.mapping {
    background: linear-gradient(to right, #000000 60%, #004952 100%);
}

.portability {
    background: linear-gradient(to left, #000000 60%, #004952 100%);
}

.visualization {
    background: linear-gradient(to right, #000000 60%, #004952 100%);
}

/* Update components.js for Hyper Mapper navigation */
@media (max-width: 1024px) {
    .product-hero {
        height: 100vh;
        padding: 0 5%;
    }
}

/* Mapper Frontend Grid Specific Styles */
.mapper-frontend-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 2rem;
}

.mapper-frontend-grid video {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .mapper-frontend-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mapper-frontend-grid img {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .product-hero {
        height: 100vh;
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    .product-hero {
        height: 100vh;
    }
    
    .product-hero-content {
        padding-top: 60px;
    }
}

/* About Page Styles */
.about-hero {
    min-height: 100vh;
    background-color: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 5%;
}

.about-hero-content {
    max-width: 1000px;
    text-align: left;
    font-weight: 200;
    color: var(--text-classic);
    font-size: 1.5rem;
    line-height: 1.2;
}

.about-logo {
    width: 300px;
    margin-bottom: 3rem;
}

.about-description {
    line-height: 1.6;
}

.about-company-image {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.company-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.company-image:hover {
    transform: scale(1.02);
}

.about-team {
    background: linear-gradient(to right, #000000 60%, #004952 100%);
    padding: var(--spacing-lg) 5%;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 200;
    margin-bottom: 2rem;
}

.about-team .services-list {
    list-style: none;
    padding: 0;
}

.about-team .services-list li {
    font-size: 1.2rem;
    color: #00E0FF;
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.about-team .services-list li:hover {
    opacity: 1;
}

.about-quality {
    background-color: var(--background-dark);
    padding: var(--spacing-lg) 5%;
}

.quality-content {
    max-width: 800px;
    margin: 0 auto;
}

.quality-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 300;
}

.about-services {
    background: linear-gradient(to left, #000000 60%, #004952 100%);
    padding: var(--spacing-lg) 5%;
}

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

.services-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.services-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 4rem;
    max-width: 800px;
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item p {
    font-size: 1.2rem;
    color: #00E0FF;
    font-weight: 300;
}

/* About Page Responsive Styles */
@media (max-width: 1024px) {
    .about-description,
    .team-description,
    .quality-description,
    .services-description {
        font-size: 1.2rem;
    }

    .services-content h2 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .about-logo {
        width: 200px;
    }

    .about-description,
    .team-description,
    .quality-description,
    .services-description {
        font-size: 1.1rem;
    }

    .services-content h2 {
        font-size: 2rem;
    }

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

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

.about-services-list {
    padding: 0;
    margin: 2rem 0;
    padding-left: 2rem;
}

.about-services-list li {
    margin-bottom: 1rem;
    font-size: inherit;
}


@media (max-width: 768px) {
    .about-services-list li {
        font-size: 1.1rem;
    }
}

/* News Section Styles */
.news {
    background-color: var(--background-dark);
    padding: var(--spacing-md) 5%;
    margin: var(--spacing-md) auto;
}

.news h2 {
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    position: relative;
    overflow: hidden;
    background-color: #111111;
    transition: transform 0.3s ease;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px;
    background: linear-gradient(45deg, #58CCE088, #000000);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: block;
    font-size: 0.9rem;
    color: #306F7A;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 300;
}

.read-more {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    color: var(--text-classic);
}

.read-more:hover {
    opacity: 1;
}

/* News Section Responsive Styles */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news h2 {
        font-size: 2.5rem;
    }

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

    .news-item img {
        height: 200px;
    }
}

/* Work Process Section */
.work-process {
    background-color: var(--background-dark);
    padding: var(--spacing-lg) 5%;
    text-align: center;
}

.work-process h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 300;
    text-align: center;
}

.work-process h3 {
    font-size: 2rem;
    text-align: center;
    color: #01cb00;
    font-weight: 600;
}


.process-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 8rem auto ;
}

.process-item {
    flex: 1;
    max-width: 350px;
    text-align: center;
    position: relative;
}

.process-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: dashed 1px #888888;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon img {
    width: 60px;
    height: 60px;
    color: #00E0FF;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #306F7A;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1rem;
}

.process-connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, #00E0FF 50%, transparent 50%);
    background-size: 20px 2px;
    margin-top: 60px;
}

.process-item h3 {
    color: #01cb00;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-item p {
    color: var(--text-classic);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.process-cta {
    text-align: center;
}

.process-cta .cta-button {
    border: solid 1px #00E0FF;
    border-radius: 0;
    background-color: transparent;
    margin: auto;
    color: #00E0FF;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-cta .cta-button:hover {
    transform: translateY(-2px);
    background: #33E6FF;
    color: var(--background-dark);
}

@media (max-width: 1024px) {
    .process-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #00E0FF 50%, transparent 50%);
        background-size: 2px 20px;
        margin: 0;
    }

    .process-item {
        max-width: 500px;
    }

    .work-process h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .work-process h2 {
        font-size: 2rem;
    }

    .process-item h3 {
        font-size: 1.3rem;
    }

    .process-icon {
        width: 100px;
        height: 100px;
    }

    .process-icon img {
        width: 50px;
        height: 50px;
    }

    .process-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Partners Section */
.partners {
    background-color: var(--background-dark);
    padding: var(--spacing-md) 5%;
    margin: var(--spacing-md) auto;
    text-align: center;
}

.partners h2 {
    font-size: 3rem;
    color: #495256;
    margin-bottom: 4rem;
    font-weight: 300;
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.partner-item {
    flex: 0 1 300px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.partner-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.partner-item:hover {
    transform: translateY(-5px);
}


@media (max-width: 1024px) {
    .partners h2 {
        font-size: 2.5rem;
    }

    .partner-item {
        flex: 0 1 250px;
    }
}

@media (max-width: 768px) {
    .partners h2 {
        font-size: 2rem;
    }

    .partner-item {
        flex: 0 1 200px;
        padding: 1rem;
    }
}

/* Contact Page Styles */
.contact {
    min-height: 100vh;
    background-color: var(--background-dark);
    padding: var(--spacing-lg) 5% var(--spacing-md);
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-classic);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #306F7A;
}

.contact-link {
    color: #306F7A;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-address {
    color: var(--text-classic);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

.contact-form {
    padding: 3rem;
    border-radius: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
    background: linear-gradient(to bottom, #306F7A33, #000000);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    background: linear-gradient(to top, #306F7A33, #000000);

}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00E0FF;
}

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

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid #306F7A;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: linear-gradient(to right, #306F7A, #000000);
    border-color: transparent;
    border-right-color: black;
}

/* Open Positions Form */
.contact-form.open-positions-form {
    width: 820px;
    max-width: 100%;
}

.open-positions-form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.open-positions-form h3 {
    text-align: center;
    margin: 1rem auto;
    font-weight: 400;
    color: var(--text-classic);
}

/* Contact Page Responsive Styles */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .contact-info h1 {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

/* Open Positions Section */
.positions-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-button {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover, .filter-button.active {
    background-color: rgba(88, 204, 224, 0.1);
    border-color: #58CCE0;
}

.position-item.hidden {
    display: none;
}

.no-positions {
    text-align: center;
    padding: 3rem;
    color: var(--text-classic);
    font-size: 1.2rem;
}

.open-positions {
    background-color: var(--background-dark);
    padding: var(--spacing-md) 5% ;
    margin: var(--spacing-md) auto;
}

.open-positions h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 300;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.open-positions .highlight {
    color: #00E0FF;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.position-item {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.position-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px;
    background: linear-gradient(45deg, #58CCE088, #000000);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.position-item:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.position-item:hover::before {
    opacity: 1;
}

.position-item h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.position-details {
    display: flex;
    flex-direction: column;
}

.position-details span {
    color: var(--text-classic);
    font-size: 1rem;
    font-weight: 300;
}

/* Open Positions Page Styles */
.position-description {
    margin-top: 1.5rem;
    color: var(--text-classic);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.position-item:hover .position-description {
    opacity: 1;
    max-height: 500px;
}

.apply-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #58CCE0;
    color: #000000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.apply-button:hover {
    background-color: #306F7A;
    color: #ffffff;
}

/* Open Positions Responsive Styles */
@media (max-width: 1024px) {
    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .open-positions h2 {
        font-size: 2.5rem;
        text-align: center;
    }
}

/* Responsive styles for open positions page */
@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .open-positions h2 {
        font-size: 2rem;
    }
    
    .position-item {
        padding: 1.5rem;
    }
    
    .position-description {
        opacity: 1;
        max-height: none;
    }
    
    .positions-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Map Section */
.map-section {
    width: 100%;
    background-color: var(--background-dark);
    padding: 0;
}

.map-container {
    width: 100%;
    max-width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: filter 0.3s ease;
}


@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
}

/* Position Detail Page Styles */
.position-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) 2rem;
}

.position-header {
    text-align: center;
    margin-bottom: 3rem;
}

.position-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.position-meta {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    color: #666;
}

.position-meta span{
    background-color: #161616;
    width: auto;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #ffffff;
}

.position-role-overview,
.position-responsibilities,
.position-requirements,
.position-skills {
    margin-bottom: 3rem;
}

.position-role-overview h3,
.position-responsibilities h3,
.position-requirements h3,
.position-skills h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
}

.position-role-overview p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.position-responsibilities ul,
.position-requirements ul,
.position-skills ul {
    list-style-type: disc;
    padding-left: 2rem;
    color: var(--text-gray);
}

.position-responsibilities li,
.position-requirements li,
.position-skills li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.position-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.back-link {
    color: #434343;
    text-decoration: none;
    font-size: 1.1rem;
}

.back-link:hover {
    text-decoration: underline;
}

.apply-button {
    background-color: #00E0FF;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}


@media (max-width: 768px) {
    .position-detail-container {
        padding: 1rem;
    }

    .position-header h1 {
        font-size: 2rem;
    }

    .position-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .position-role-overview h2,
    .position-responsibilities h2,
    .position-requirements h2,
    .position-skills h2 {
        font-size: 1.5rem;
    }

    .position-role-overview p,
    .position-responsibilities li,
    .position-requirements li,
    .position-skills li {
        font-size: 1rem;
    }

    .position-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .back-link,
    .apply-button {
        width: 100%;
        text-align: center;
    }
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 4px;
    max-height: 0;
    height: auto;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dropdown-content a {
    color: #ABABAB;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    border-top: 1px solid transparent;
}

.dropdown-content a:hover {
    box-sizing: border-box;
    background-color: #151515;
    border-color: #00E0FF;
}

.nav-dropdown:hover .dropdown-content {
    max-height: 300px;
}

.dropdown-trigger {
    position: relative;
    padding-right: 1.5rem;
}

.dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.skills-and-form-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.position-skills {
    flex: 1;
    padding: 2rem;
    border-radius: 8px;
}

.contact-form {
    padding: 2rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .skills-and-form-container {
        flex-direction: column;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    position: relative;
    transition: background-color 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: transform 0.3s;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.mobile-menu-btn.active .menu-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 10px;
        margin-top: 5px;
    }

    .dropdown-content.active {
        display: block;
    }

    .dropdown-trigger.active {
        color: var(--text-light);
    }

    .nav-links a {
        width: 100%;
        text-align: left;
    }
    
    .nav-links>div:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .dropdown-trigger::after {
        float: right;
        transition: transform 0.3s;
    }

    .dropdown-trigger.active::after {
        transform: rotate(45deg);
    }
} 