/* Base Styles */
:root {
    --primary-color: #ffffff;
    --secondary-color: #a0a0a0;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #f0f0f0;
    --highlight: #808080;
    --gradient: none;
    --card-bg: rgba(20, 20, 20, 0.8);
    --header-bg: rgba(10, 10, 10, 0.9);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Space Mono', monospace;
    --container-padding: 5%;
    --section-spacing: 5rem;
    --card-spacing: 2rem;
    --mobile-padding: 1.5rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--highlight);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.highlight {
    color: #808080;
    position: relative;
    text-shadow: none;
}

.highlight::after {
    display: none;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    margin: 0.5rem;
    text-align: center;
    transition: none;
}

.btn::before {
    display: none;
}

.btn.primary {
    background-color: #808080;
    color: #ffffff;
    box-shadow: none;
}

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

.btn:hover {
    transform: none;
    box-shadow: none;
}

.btn.primary:hover {
    background-color: #666666;
}

.btn.secondary:hover {
    border-color: #808080;
    color: #808080;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

/* Background Effects */
.stars, .twinkling {
    display: none;
}

/* Star particles */
.star-particle {
    display: none;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0a0a0a;
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: white;
    margin: 0;
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transform: scaleX(0.7);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo:hover h1::after {
    transform: scaleX(1);
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: width 0.3s ease;
}

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

/* Hero Section - Remove floating container and improve alignment */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: 0;
    background: radial-gradient(circle at center, rgba(40, 40, 40, 0.5), rgba(0, 0, 0, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--dark-bg));
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 3rem;
    text-align: left;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    opacity: 0.9;
    text-align: left;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features Section - Fixed 3-column layout */
section.features {
    margin-top: -8rem;
    padding: 0 var(--container-padding);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.features-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 2rem;
}

section.features .feature-card {
    background: var(--card-bg);
    border-radius: 0;
    padding: 2.5rem;
    text-align: left;
    box-shadow: var(--shadow);
    border: var(--border);
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    width: calc(33.333% - 1.33rem);
    flex: 1;
    transform: none !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.feature-card:hover {
    transform: none !important; /* Override the transform on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    float: left;
    margin-right: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
    clear: both;
}

/* Mission Section - Creative alignment */
.mission {
    text-align: left;
    padding: 12rem 0 7rem;
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(30, 30, 30, 0.5), transparent);
    pointer-events: none;
}

.mission .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission h2 {
    text-align: left;
    position: relative;
    padding-left: 2rem;
}

.mission h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    height: 80%;
    width: 4px;
    background: var(--gradient);
}

.mission p {
    max-width: 100%;
    font-size: 1.1rem;
    margin-bottom: 0;
    text-align: left;
}

.mission-text {
    order: 1;
}

.mission-image {
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
    margin: 0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    order: 2;
}

.mission-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    pointer-events: none;
    z-index: 1;
}

.mission-image img {
    width: 100%;
    transition: transform 0.8s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* Materials Section - Creative alignment */
.materials-home {
    background: var(--dark-bg);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

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

.materials-home h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    letter-spacing: 1px;
}

.materials-home .section-intro {
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.85;
}

.materials-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.material-timeline-item {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.material-timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.material-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.material-icon {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-right: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.material-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.material-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--light-text);
    opacity: 0.9;
    flex-grow: 1;
}

.material-specs {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.material-specs li {
    font-size: 0.9rem;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
}

.material-specs li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--highlight);
    font-weight: bold;
}

.materials-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
}

/* Responsive behavior modified to maintain 3 columns on larger screens */
@media (max-width: 992px) {
    section.features {
        margin-top: -6rem;
    }
    
    .features-row {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    section.features .feature-card {
        width: calc(50% - 1rem);
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    section.features {
        margin-top: -4rem;
    }
    
    .features-row {
        flex-wrap: wrap !important;
    }
    
    section.features .feature-card {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }
}

/* Print Services Section - Creative alignment */
.print-services {
    padding: 9rem 0;
    position: relative;
    overflow: hidden;
}

.print-services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at bottom right, rgba(50, 50, 50, 0.2), transparent 70%);
    pointer-events: none;
}

.print-services h2 {
    text-align: left;
    margin-bottom: 4rem;
    position: relative;
    padding-left: 2rem;
}

.print-services h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    height: 80%;
    width: 4px;
    background: var(--gradient);
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tabs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.tabs::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--highlight), transparent);
    z-index: 1;
}

.tab-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

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

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

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.tab-image {
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.tab-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}

.tab-image img {
    width: 100%;
    transition: transform 0.8s ease;
    filter: grayscale(70%);
}

.tab-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.tab-info {
    position: relative;
    padding-left: 2rem;
}

.tab-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--highlight), transparent);
}

.service-features {
    margin: 1.5rem 0 2rem;
}

.service-features li {
    margin-bottom: 0.9rem;
    position: relative;
    padding-left: 1.8rem;
}

.service-features li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--highlight);
}

/* Process Section - Creative alignment */
.how-it-works {
    background: radial-gradient(ellipse at bottom, var(--darker-bg), var(--dark-bg));
    padding: 9rem 0;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('images/stars.png') repeat;
    opacity: 0.3;
    animation: slow-spin 240s linear infinite;
    pointer-events: none;
}

.how-it-works h2 {
    text-align: right;
    position: relative;
    padding-right: 2rem;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0.5rem;
    height: 80%;
    width: 4px;
    background: var(--gradient);
}

.how-it-works .section-intro {
    text-align: right;
    margin: 0 0 4rem auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 5rem 0;
    position: relative;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: 0;
    opacity: 0.5;
}

.process-step {
    background: var(--card-bg);
    border-radius: 0;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    border: var(--border);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.process-step:nth-child(even) {
    transform: translateY(30px);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.1);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 10px;
    line-height: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.process-step h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-left: 1rem;
}

.process-step h3::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--highlight);
}

.process-step p {
    text-align: left;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cta-buttons.center {
    justify-content: center;
    margin-top: 4rem;
}

/* CTA Section - Creative alignment */
.cta-section {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 9rem 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0;
    padding: 3rem 3rem 3rem 5rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 0;
    border-left: 4px solid var(--highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.cta-content h2 {
    margin-bottom: 1.5rem;
    text-align: left;
}

.cta-content p {
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    font-size: 1.1rem;
    text-align: left;
}

.cta-content .cta-buttons {
    justify-content: flex-start;
}

/* Footer - Creative alignment */
footer {
    background-color: var(--darker-bg);
    padding: 7rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(40,40,40,0.2), transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.footer-logo p {
    opacity: 0.7;
    text-align: left;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-left: 1rem;
    text-align: left;
}

.footer-links h3::before, .footer-contact h3::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--highlight);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
    text-align: left;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--highlight);
}

.footer-contact p {
    margin-bottom: 1rem;
    opacity: 0.7;
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

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

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    background: var(--gradient);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: var(--border);
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .tab-content.active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tab-image {
        order: -1;
    }
    
    section.features { /* Adjust features for medium screens */
        flex-direction: row !important;
        justify-content: center !important;
        margin-top: -6rem;
    }
    
    section.features .feature-card {
        flex-basis: calc(50% - 2rem) !important;
        flex: 1 0 calc(50% - 2rem) !important;
        min-width: 280px !important;
    }
    
    section.features {
        margin-top: -6rem;
    }
    
    .mission .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-text, .mission-image {
        order: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero .container {
        padding: 1.5rem;
        clip-path: none;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section.features {
        flex-direction: row !important;
        justify-content: center !important;
        margin-top: -4rem;
        gap: 1.5rem;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: var(--border);
        z-index: 1000;
        box-shadow: var(--shadow);
    }
    
    nav ul.active {
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--highlight);
    }
    
    .mobile-nav-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--highlight);
        background: none;
        border: none;
    }
    
    .material-timeline-item {
        flex-direction: column;
        gap: 1rem;
        padding-left: 0;
    }
    
    .material-timeline-item:nth-child(even) {
        margin-top: 0;
    }
    
    .material-icon {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto 1rem;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2rem !important;
        padding: 1.5rem 0 0.5rem 0 !important;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: 1.2rem !important;
        text-align: center !important;
        padding-left: 0 !important;
    }
    
    .footer-links h3, .footer-contact h3 {
        padding-left: 0 !important;
        text-align: center !important;
    }
    
    .footer-links ul, .footer-contact ul {
        padding-left: 0 !important;
        text-align: center !important;
    }
    
    .footer-links ul li, .footer-contact p {
        text-align: center !important;
    }
    
    .social-icons {
        justify-content: center !important;
        margin-top: 1.2rem !important;
    }
    
    .materials-timeline {
        grid-template-columns: 1fr;
    }
    
    .materials-home h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 6rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .process-steps::after {
        display: none;
    }
    
    .process-step:nth-child(even) {
        transform: none;
    }
    
    .cta-content {
        padding: 1.5rem;
        clip-path: none;
    }
}

@media (max-width: 1200px) {
    .materials-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .material-timeline-item:nth-child(3n+1),
    .material-timeline-item:nth-child(3n+2) {
        transform: translateY(0);
    }
    
    .material-timeline-item:nth-child(even) {
        transform: translateY(30px);
    }
}

@media (max-width: 768px) {
    .materials-timeline {
        grid-template-columns: 1fr;
    }
    
    .materials-home h2 {
        font-size: 2.2rem;
    }
    .material-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .material-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    section.features {
        flex-wrap: wrap !important;
        margin-top: -4rem;
        gap: 1.5rem;
    }
    
    section.features .feature-card {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .material-timeline-item {
        padding: 1.5rem;
    }
    .material-specs {
        grid-template-columns: 1fr;
    }
    .materials-home h2 {
        font-size: 2rem;
    }
    .feature-card {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem !important;
    }
}

.material-timeline-item,
.material-timeline-item:nth-child(even) {
    transform: translateY(0);
}

.materials-home h2 {
    font-size: 2.2rem;
}

.materials-home .section-intro {
    padding-left: 2rem;
}

/* Journey Page Specific Styles */
.page-header {
    text-align: center;
    padding: 5rem 0 3rem;
    background-color: var(--darker-bg);
}

.page-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    max-width: 750px;
    margin: 0 auto;
}

.journey-container,
.timeline-section,
.featured-projects,
.team-compact,
.cta-section-compact {
    padding: 4.5rem var(--container-padding);
    max-width: 1000px;
    margin: 0 auto;
}

.journey-card {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 10px;
    padding: 2.5rem 3rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow);
}

.journey-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--highlight);
    position: relative;
    padding-bottom: 0.75rem;
}

.journey-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
}

.journey-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    opacity: 0.9;
}

.journey-card p:last-of-type {
    margin-bottom: 0;
}

/* Timeline Section Refinements */
.timeline-section h3,
.featured-projects h3,
.team-compact h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.timeline-compact {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
}

.timeline-compact::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 14px;
    bottom: 10px;
    width: 4px;
    background: var(--highlight);
    opacity: 0.25;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 55px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--darker-bg);
    border: 3px solid var(--highlight);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -30px;
    top: 1px;
    background: var(--darker-bg);
    color: var(--highlight);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--highlight);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 3;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.75rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--highlight);
    position: relative;
}

.timeline-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--light-text);
}

.timeline-content p {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Projects and Team Grids (Compact) Refinements */
.projects-grid-compact,
.team-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card-compact,
.team-member-compact {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card-compact:hover,
.team-member-compact:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.project-card-compact h4,
.team-member-compact h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--highlight);
}

.team-member-compact .member-role {
    font-size: 1rem;
    color: var(--highlight);
    opacity: 0.75;
    margin-bottom: 1rem;
    font-style: italic;
}

.project-card-compact p,
.team-member-compact p:not(.member-role) {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
    opacity: 0.85;
    flex-grow: 1;
    margin-bottom: 0;
}

/* CTA Section Compact Refinements */
.cta-section-compact {
    text-align: center;
    background: var(--darker-bg);
    padding: 5rem var(--container-padding) 6rem;
}

.cta-section-compact h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-section-compact p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

/* Responsive adjustments for Journey Page */
@media (max-width: 992px) {
    .projects-grid-compact,
    .team-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header h2 {
        font-size: 2.8rem;
    }
    .page-header p {
        font-size: 1.15rem;
    }
    .timeline-compact::before {
        left: 10px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-date {
        left: -15px;
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
    .timeline-section h3,
    .featured-projects h3,
    .team-compact h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    .page-header h2 {
        font-size: 2.2rem;
    }
    .journey-card {
        padding: 2rem;
    }
    .journey-card h3 {
        font-size: 1.8rem;
    }
    .project-card-compact,
    .team-member-compact {
        padding: 2rem;
    }
    .timeline-date {
        position: relative;
        left: 0;
        transform: translateX(0);
        margin-bottom: 0.75rem;
        display: inline-block;
        top: 0;
    }
    .timeline-item {
        padding-left: 25px;
    }
    .timeline-item::before {
        left: -5px;
        top: 8px;
    }
    .timeline-compact::before {
        left: 4px;
    }
}

/* Materials & Technology Section - Timeline-Style Showcase */
.materials-home h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.materials-home .section-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.9;
}

.materials-showcase-timeline {
    position: relative;
    max-width: 900px; /* Wider for material details */
    margin: 2rem auto 0;
}

.materials-showcase-timeline::before { /* The central timeline line */
    content: '';
    position: absolute;
    top: 15px; /* Adjust to align with badges */
    left: 20px; 
    bottom: 15px;
    width: 4px;
    background: var(--highlight);
    opacity: 0.25;
    border-radius: 2px;
    z-index: 0;
}

.material-showcase-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 70px; /* More space for the wider badge */
}

.material-showcase-item:last-child {
    margin-bottom: 0;
}

.material-name-badge {
    position: absolute;
    left: -60px; /* Adjust to fit wider badge, pull further left */
    top: 0px;
    background: var(--darker-bg);
    color: var(--highlight);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    font-family: var(--font-heading);
    border: 2px solid var(--highlight);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    z-index: 3;
    min-width: 180px; /* Ensure enough width for content */
    text-align: center;
    white-space: nowrap;
}

.material-showcase-item::before { /* Dot on the timeline */
    content: '';
    position: absolute;
    left: 12px; /* Center on the 4px line */
    top: 10px; 
    width: 20px;
    height: 20px;
    background: var(--darker-bg);
    border: 4px solid var(--highlight);
    border-radius: 50%;
    z-index: 2;
}

.material-showcase-content {
    background: var(--card-bg); /* Use card background */
    padding: 2rem 2.5rem;
    border-radius: 10px;
    border: var(--border);
    box-shadow: var(--shadow);
    position: relative; 
}

.material-showcase-content h4 { /* Sub-heading for material context */
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.material-showcase-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.material-specs-grid {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.material-showcase-content .material-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive columns for specs */
    gap: 0.75rem 1.5rem; /* Row and column gap */
}

.material-showcase-content .material-specs li {
    font-size: 0.95rem;
    color: var(--secondary-color);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.material-showcase-content .material-specs li strong {
    color: var(--light-text);
    margin-right: 0.25em;
}

.material-showcase-content .material-specs li::before { /* Custom bullet */
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--highlight);
    font-weight: bold;
}

.materials-cta {
    text-align: center;
    margin-top: 4rem; 
}

/* Responsive for Materials Showcase Timeline */
@media (max-width: 768px) {
    .materials-showcase-timeline::before {
        left: 10px;
    }
    .material-showcase-item {
        padding-left: 40px;
    }
    .material-name-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        left: -20px;
        min-width: 140px;
    }
    .material-showcase-item::before {
        left: 2px;
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .materials-home .section-intro {
        font-size: 1.05rem;
    }
    .material-name-badge {
        position: relative; /* Stack badge above content */
        left: 0;
        transform: translateX(0);
        margin-bottom: 1rem;
        display: inline-block;
        top: 0;
        text-align: left;
    }
    .material-showcase-item {
        padding-left: 20px; /* Space for the dot only */
    }
    .material-showcase-item::before {
        left: -8px; /* Adjust dot for stacked badge */
        top: 5px;
    }
    .materials-showcase-timeline::before {
        left: 0px;
    }
    .material-showcase-content .material-specs {
        grid-template-columns: 1fr; /* Single column for specs */
    }
}

/* Ultra small screens optimization */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem; /* Smaller padding on very small screens */
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero h2 {
        font-size: 1.8rem !important;
    }
    
    .hero .container {
        padding: 1.2rem;
    }
    
    section.features {
        margin-top: -3rem;
    }
    
    .feature-card {
        padding: 1.5rem !important;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-right: 1rem;
    }
    
    /* Improve tab usability on small screens */
    .tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        margin-bottom: 0.5rem;
        width: calc(50% - 0.5rem);
        text-align: center;
        padding: 0.6rem 0.2rem;
        font-size: 0.8rem;
    }
    
    /* Fix CTA section on small screens */
    .cta-content {
        padding: 1.5rem;
        clip-path: none;
    }
    
    /* Improve footer layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Ensure the active state for mobile navigation links is visible */
@media (max-width: 768px) {
    nav a.active {
        color: var(--highlight);
        font-weight: bold;
    }
    
    nav a.active:after {
        width: 50%; /* Show half underline on mobile */
        left: 25%; /* Center the underline */
    }
}

/* Add better color contrast for tabs */
.tab-btn {
    border: 2px solid rgba(255, 255, 255, 0.15); /* Slightly more visible border */
}

.tab-btn.active {
    background: var(--gradient);
    color: var(--darker-bg); /* Ensure text is readable on gradient */
    font-weight: bold;
}

/* Ensure better contrast for all text */
p {
    color: var(--light-text);
}

/* Enhance scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Better tap targets for mobile */
@media (max-width: 768px) {
    .btn {
        padding: 0.9rem 1.8rem;
        margin: 0.5rem 0.3rem;
        min-width: 120px; /* Ensure buttons are wide enough to tap */
    }
    
    nav a, .footer-links a {
        padding: 0.7rem 0;
        display: inline-block; /* Ensure tap area is good */
    }
}

/* Override mobile hamburger menu icons to white */
.mobile-toggle, .mobile-nav-toggle {
    color: #ffffff !important;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form,
.contact-info {
  background: var(--card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-form h3,
.contact-info h3 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

.info-card {
  background: var(--card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.info-card .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--highlight);
  border-radius: 50%;
  color: var(--dark-bg);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.info-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.info-card p {
  font-size: 1rem;
  margin: 0.25rem 0;
}

.social-card {
  background: var(--card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.social-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.social-card .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.social-card .social-link {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--dark-bg);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.social-card .social-link:hover {
  background: var(--highlight);
  color: var(--light-text);
}

/* FAQ Section Styles */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.accordion {
  border-top: var(--border);
}
.accordion-item {
  border-bottom: var(--border);
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
}
.accordion-header h3 {
  font-size: 1.2rem;
  margin: 0;
}
.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.active .accordion-content {
  max-height: 300px;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Map Section Styles */
.map-section {
  text-align: center;
  padding: 2rem 0;
}
.map-section h3 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}
.map-container {
  max-width: 800px;
  margin: 0 auto;
}
.map-image {
  width: 100%;
  height: auto;
  border: var(--border);
  border-radius: 8px;
}

/* Contact Section Background */
section.contact-grid {
  padding: var(--section-spacing) var(--container-padding);
  background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(10,10,15,0.8));
  border-radius: 10px;
  margin-bottom: var(--section-spacing);
}

/* Form Input & Button Styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--light-text);
  font-family: var(--font-body);
  margin: 0.5rem 0 1rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--highlight);
}

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
}

/* Align info cards vertically and add spacing */
.contact-info {
  display: grid;
  gap: 2rem;
}

/* Form layout: two columns on desktop, single column on mobile */
.contact-form form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.contact-form form .form-group:nth-child(n+5) {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .contact-form form {
    grid-template-columns: 1fr;
  }
}

/* Team Layout: founder card full width with production/design side-by-side */
.team-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.team-subrow {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.team-subrow .team-member-compact {
    flex: 1;
    min-width: 280px;
}
.team-photo-placeholder {
    width: 150px;
    height: 150px;
    background: var(--border);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* Styling for founder profile image */
.founder-card .team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.5rem;
}

/* Center-align text and content in founder card */
.founder-card {
    text-align: center;
}

   