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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    color: #2c2c2c;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e9ecef;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

.logo h1 {
    color: #dc3545;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav li {
    height: 100%;
    display: flex;
}

.nav a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0;
    min-height: 60px;
}

.nav a:hover {
    color: white;
    background: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.nav a.active {
    color: white;
    background: #dc3545;
    box-shadow: 0 3px 10px rgba(220,53,69,0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c2c2c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44,44,44,0.8) 0%, rgba(26,26,26,0.8) 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
    animation: slideInUp 0.8s ease-out;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #dc3545;
}

.btn-primary:hover {
    background: transparent;
    color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #dc3545;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #dc3545;
}

.btn-secondary:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-nav button {
    background: rgba(220,53,69,0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.slider-nav button:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #dc3545;
    transform: scale(1.2);
}

/* Company Block */
.company-block {
    padding: 80px 0;
    background: white;
}

.company-content h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

.company-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-section h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 3rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-image {
    margin-bottom: 1.5rem;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.product-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #dc3545;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .slide-content p {
        font-size: 1rem;
    }

    .company-content h2,
    .products-section h2 {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .company-block,
    .products-section {
        padding: 40px 0;
    }

    .product-card {
        padding: 1.5rem;
    }
}

/* Page-specific styles */
/* About Us Page */
.page-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #E6E6E6;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-content {
    padding: 80px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #dc3545;
    margin: 2rem 0 1rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.about-navigation {
    position: relative;
}

.nav-image {
    margin-bottom: 2rem;
}

.placeholder-image-large {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.product-nav h3 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.nav-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-card:hover {
    background: white;
    border-color: #dc3545;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-card-image {
    margin-right: 1rem;
}

.placeholder-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #2c2c2c;
}

.nav-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-navigation {
        position: static;
    }

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

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

    .nav-cards {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .nav-card {
        min-width: 200px;
        flex-direction: column;
        text-align: center;
    }

    .nav-card-image {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Products Page */
.products-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.product-item {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-icon {
    margin-bottom: 1.5rem;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.product-info p {
    margin-bottom: 1.5rem;
    color: #666;
    flex-grow: 1;
}

.products-description {
    padding: 80px 0;
    background: white;
}

.description-content h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

.description-content > p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.desc-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.desc-item h3 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.desc-item p {
    color: #666;
    line-height: 1.6;
}

.key-features {
    margin-bottom: 3rem;
}

.key-features h3 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

.applications h3 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    text-align: center;
}

.applications > p {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.applications-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.applications-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.applications-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.applications-list li:last-child {
    border-bottom: none;
}

/* Responsive adjustments for Products page */
@media (max-width: 768px) {
    .products-horizontal {
        flex-direction: column;
    }

    .product-item {
        min-width: auto;
    }

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

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

/* Product Detail Pages */
.product-detail {
    padding: 80px 0;
    background: white;
}

.product-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-main {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
}

.product-description h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.product-description h3 {
    font-size: 1.8rem;
    color: #dc3545;
    margin: 2rem 0 1rem;
}

.product-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.7;
}

.product-image-section {
    margin: 2rem 0;
}

.product-image-large {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.feature-list li:last-child {
    border-bottom: none;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.advantage-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.advantage-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.advantage-list li:last-child {
    border-bottom: none;
}

.specifications-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.specifications-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.specifications-table th {
    background: #dc3545;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.specifications-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.specifications-table tr:nth-child(even) {
    background: #f8f9fa;
}

.specifications-table tr:hover {
    background: #e9ecef;
}

.product-sidebar {
    position: relative;
}

.product-nav-sidebar {
    margin-bottom: 2rem;
}

.product-nav-sidebar h3 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.sidebar-nav-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-nav-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sidebar-nav-card:hover {
    background: white;
    border-color: #dc3545;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-nav-image {
    margin-right: 1rem;
}

.placeholder-sidebar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

.sidebar-nav-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #2c2c2c;
}

.sidebar-nav-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.contact-sidebar {
    background: #2c2c2c;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.contact-sidebar h3 {
    font-size: 1.3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.contact-sidebar p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Responsive adjustments for Product Detail pages */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-sidebar {
        position: static;
    }

    .product-main {
        padding: 2rem;
    }

    .product-description h2 {
        font-size: 2rem;
    }

    .sidebar-nav-cards {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .sidebar-nav-card {
        min-width: 200px;
        flex-direction: column;
        text-align: center;
    }

    .sidebar-nav-image {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .specifications-table {
        font-size: 0.9rem;
    }

    .specifications-table th,
    .specifications-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Quality Control Page */
.quality-content {
    padding: 80px 0;
    background: white;
}

.quality-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.quality-intro h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
}

.quality-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    color: #666;
}

.process-section {
    margin-bottom: 4rem;
}

.process-section h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 3rem;
    text-align: center;
}

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

.process-step {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.process-step h3 {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin: 1rem 0 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.quality-measures {
    margin-bottom: 4rem;
}

.quality-measures h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 3rem;
    text-align: center;
}

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

.measure-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #dc3545;
}

.measure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

.measure-card h3 {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.measure-card p {
    color: #666;
    line-height: 1.6;
}

.certifications-section {
    margin-bottom: 4rem;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
}

.certifications-section h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

.certifications-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cert-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.cert-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 2rem;
}

.cert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

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

.cert-image {
    text-align: center;
}

.placeholder-cert {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.qa-program {
    margin-bottom: 4rem;
}

.qa-program h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

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

.qa-text h3 {
    font-size: 1.5rem;
    color: #dc3545;
    margin: 2rem 0 1rem;
}

.qa-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #666;
}

.testing-equipment {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
}

.testing-equipment h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    text-align: center;
}

.testing-equipment > p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

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

.equipment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.equipment-item h4 {
    font-size: 1.1rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.equipment-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive adjustments for Quality Control page */
@media (max-width: 768px) {
    .process-grid,
    .measures-grid {
        grid-template-columns: 1fr;
    }

    .certifications-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .quality-intro h2,
    .process-section h2,
    .quality-measures h2,
    .certifications-section h2,
    .qa-program h2,
    .testing-equipment h2 {
        font-size: 2rem;
    }

    .certifications-section,
    .testing-equipment {
        padding: 2rem;
    }
}

/* Contact Us Page */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    max-width: 300px;
}

.map-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #dc3545;
}

.map-content p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.map-content p strong {
    color: #dc3545;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.map-actions .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.contact-info {
    padding: 80px 0;
    background: white;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #dc3545;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

.contact-card h3 {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-header h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.privacy-link {
    color: #dc3545;
    text-decoration: none;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.additional-info {
    padding: 80px 0;
    background: white;
}

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

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #dc3545;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for Contact page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .form-container {
        padding: 2rem;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .map-content h3 {
        font-size: 1rem;
    }

    .map-content p {
        font-size: 0.8rem;
    }

    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }

    .map-actions {
        flex-direction: row;
        justify-content: center;
    }

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

    .form-actions {
        flex-direction: column;
    }
}

/*image container*/
.image-container {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills the container nicely */
  transition: transform 0.5s ease;
}

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

/*image square*/
.image-square {
  width: 80px;
  height: 80px;
  border-radius: 10px; /* subtle rounded corners */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  padding: 3px; /* creates gradient border effect */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-square img {
  width: 100%;
  height: 100%;
  border-radius: 8px; /* match inner rounding */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-square:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.image-square:hover img {
  transform: scale(1.07);
}
