/* Modern Kell&Rock Website CSS */

/* CSS Variables */
:root {
    /* Modern Color Palette */
    --primary: #1a1614;
    --secondary: #c9a961;
    --accent: #FF6B6B;
    --dark: #0a0908;
    --light: #fafafa;
    --gray-100: #f8f8f8;
    --gray-200: #e8e8e8;
    --gray-300: #d8d8d8;
    --gray-400: #a8a8a8;
    --gray-500: #787878;
    --gray-600: #484848;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c9a961 0%, #e6c584 100%);
    --gradient-dark: linear-gradient(135deg, #1a1614 0%, #2d2825 100%);
    --gradient-text: linear-gradient(135deg, #c9a961 0%, #e6c584 50%, #c9a961 100%);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    background: var(--light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

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

/* Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Modern Navigation */
.modern-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

.modern-btn {
    background: var(--gradient-primary);
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    transition: var(--transition);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-icon span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Modern Hero */
.modern-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transform: skewX(-15deg);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(201, 169, 97, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 169, 97, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-filled {
    background: var(--primary);
    color: var(--light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-filled:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.delay-1 { animation-delay: 2s; }
.delay-2 { animation-delay: 4s; }

/* Section Styles */
section {
    padding: var(--space-xxl) 0;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-intro h2 {
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* Modern Services */
.modern-services {
    background: var(--gray-100);
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-tile {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tile-content {
    padding: 3rem;
}

.tile-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.tile-icon svg {
    width: 30px;
    height: 30px;
}

.service-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-tile p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.tile-features {
    list-style: none;
}

.tile-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

.tile-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.tile-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    background: var(--gray-50);
    transform: translateY(100%);
    transition: var(--transition);
}

.service-tile:hover .tile-hover {
    transform: translateY(0);
}

.explore-link {
    color: var(--secondary);
    font-weight: 600;
}

/* Modern Process */
.modern-process {
    background: white;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.process-connector {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

/* Modern Portfolio */
.modern-portfolio {
    background: var(--gray-100);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 22, 20, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.project-type {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Portfolio Gallery Section */
.portfolio-section {
    background: var(--gray-100);
    padding: var(--space-xxl) 0;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 22, 20, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay span {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
}

/* Modern About */
.modern-about {
    background: white;
}

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

.about-intro {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-block {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
}

.feature-block h4 {
    margin-bottom: 0.5rem;
}

.about-visual {
    position: relative;
}

.visual-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.visual-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: 2rem;
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.badge-content h3 {
    font-size: 3rem;
    color: var(--primary);
}

.badge-content p {
    color: var(--primary);
    font-weight: 600;
}

/* Modern Testimonials */
.modern-testimonials {
    background: var(--gray-100);
    padding: var(--space-xl) 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Modern CTA */
.modern-cta {
    background: var(--gradient-dark);
    padding: var(--space-xl) 0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.cta-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.offer-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Modern Contact */
.modern-contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.item-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Modern Form */
.contact-form-card {
    background: var(--gray-100);
    padding: 3rem;
    border-radius: 20px;
}

.contact-form-card h3 {
    margin-bottom: 2rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-field label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-field input:focus ~ label,
.form-field input:valid ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:valid ~ label {
    top: -0.5rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.form-field select {
    cursor: pointer;
}

.form-submit {
    background: var(--gradient-primary);
    color: var(--primary);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

/* Technical Section */
.technical-section {
    background: var(--gray-100);
    padding: var(--space-xxl) 0;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
}

.tech-header h3 {
    color: var(--primary);
    margin: 0;
}

.tech-content {
    padding: 2rem;
}

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

.brand-item {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
}

.brand-item:hover {
    background: var(--secondary);
    color: var(--primary);
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

.tech-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

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

.standard-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 10px;
}

.standard-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.standard-item span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Lab Section */
.lab-section {
    background: white;
    padding: var(--space-xxl) 0;
}

.lab-content {
    margin-top: 3rem;
}

.lab-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.lab-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.lab-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.lab-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lab-badge span {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.lab-info h3 {
    margin-bottom: 1rem;
}

.lab-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.lab-capabilities {
    margin-top: 2rem;
}

.lab-capabilities h4 {
    margin-bottom: 1.5rem;
}

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

.test-item {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
}

.test-item:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

.test-item:hover * {
    color: var(--primary);
}

.test-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.test-item h5 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.test-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

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

.lab-feature {
    background: var(--gray-100);
    border-radius: 20px;
    overflow: hidden;
}

.feature-header {
    background: var(--gradient-primary);
    padding: 1.5rem;
    text-align: center;
}

.feature-header h4 {
    margin: 0;
    color: var(--primary);
}

.lab-feature > p {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--gray-600);
}

.parameter-list,
.report-list {
    list-style: none;
    padding: 1.5rem;
}

.parameter-list li,
.report-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

.parameter-list li::before,
.report-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.cert-list {
    padding: 1.5rem;
}

.cert-item {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cert-item span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Work Section */
.work-section {
    background: white;
    padding: var(--space-xxl) 0;
}

.work-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

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

.work-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.work-item h3 {
    margin-bottom: 1rem;
}

.work-item p {
    color: var(--gray-500);
}

/* Original Portfolio Section - Remove old styles */
.modern-portfolio {
    display: none;
}

/* Modern Footer */
.modern-footer {
    background: var(--primary);
    color: white;
    padding: var(--space-xl) 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.modern-footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links a,
.footer-services a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--secondary);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-grid,
    .contact-grid,
    .cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .menu-icon {
        display: flex;
    }
    
    /* Mobile Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Mobile Sections */
    section {
        padding: var(--space-xl) 0;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-connector {
        display: none;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}