/* SopTech Instruments LLC - Complete CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Set base font size */
    -webkit-text-size-adjust: 100%; /* Prevent iOS zoom issues */
    -ms-text-size-adjust: 100%; /* Prevent IE zoom issues */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-size: 1rem; /* Consistent base font size */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    height: 80px; /* Fixed header height */
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem; /* Fixed font size */
    font-weight: bold;
    color: white;
    text-decoration: none;
    height: 100%;
}

.logo-img {
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height */
    margin-right: 15px;
    background: url('Pictures/SPT-logo.ico') center/cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1rem; /* Fixed font size */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6)), 
                url('Pictures/Aether_system.jpg');
    background-size: contain;
    background-position: center 80px;
    background-repeat: no-repeat;
    color: #2c3e50;
    padding: 200px 0 120px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    color: #2980b9;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    color: #333;
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Button Styles */
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: 2px solid #3498db;
    margin: 0.5rem;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
}

.btn-primary {
    background: #27ae60;
    border-color: #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-primary:hover {
    background: #229954;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2980b9;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #3498db;
    margin: 20px auto;
    border-radius: 2px;
}

/* Home Page Specific Styles */
.overview {
    background: #f8f9fa;
}

.overview-content {
    text-align: center;
    margin-top: 3rem;
}

.overview-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.overview-text h2 {
    color: #2980b9;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.overview-highlights {
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 2rem;
    margin-right: 1rem;
    min-width: 60px;
}

.highlight h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.overview-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    min-width: 60px;
    text-align: center;
}

.feature-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.products-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-preview {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-preview:hover {
    transform: translateY(-5px);
}

.product-preview .product-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.product-info {
    padding: 2rem;
    flex: 1;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Updated Industries Grid - 2x2 Layout */
.industries {
    background: #f8f9fa;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.industry-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.industry-card p {
    color: #666;
    line-height: 1.6;
}

/* Location Section */
.location {
    background: #f8f9fa;
    padding: 60px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.location-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.location-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.location-benefits {
    margin-top: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 50px;
}

.benefit h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefit p {
    color: #666;
    font-size: 0.9rem;
}

.location-details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
}

.address-card h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Services Page Styles */
.services-overview {
    padding: 60px 0;
    text-align: center;
}

.main-services {
    background: #f8f9fa;
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-detail {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-detail:hover {
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    min-width: 60px;
}

.service-detail h2 {
    color: #2c3e50;
    font-size: 1.5rem;
}

.service-detail > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.service-benefits h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.benefit-item .benefit-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: #3498db;
}

.benefit-item h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn {
    background: white;
    color: #3498db;
    border-color: white;
}

.cta-section .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-section .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: #3498db;
}

/* Footer */
footer {
    background: #2c3e50;
    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 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* ========================================
   PRODUCTS PAGE STYLES
   ======================================== */

/* Products Overview */
.products-overview {
    padding: 60px 0;
}

/* Product Detail Styles */
.product-detail {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.product-detail:last-child {
    border-bottom: none;
}

.product-detail.alternate {
    background: #f8f9fa;
}

.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image-container {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: relative;
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.3), rgba(41, 128, 185, 0.3));
    z-index: 1;
}

.product-image-container span {
    position: relative;
    z-index: 2;
}

.aether-image {
    background-image: url('Pictures/Aether.png');
}

.magnetometer-image {
    background-image: url('Pictures/Erev.jpg');
}

.sensors-image {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><rect fill="%2327ae60" width="800" height="400"/><rect x="100" y="150" width="80" height="100" fill="%23e74c3c" rx="40"/><rect x="200" y="150" width="80" height="100" fill="%23e74c3c" rx="40"/><rect x="350" y="120" width="25" height="160" fill="%23333" rx="12"/><rect x="390" y="120" width="25" height="160" fill="%23333" rx="12"/><rect x="430" y="120" width="25" height="160" fill="%23333" rx="12"/><rect x="520" y="160" width="100" height="80" fill="%23607d8b" rx="10"/><text x="400" y="320" text-anchor="middle" font-size="28" fill="white">SENSORS</text></svg>');
}

.product-content {
    padding: 3rem;
}

.product-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: #3498db;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2.5rem;
    text-align: justify;
}

/* Key Features Grid - 2x2 Layout */
.key-features {
    margin-bottom: 2.5rem;
}

.key-features h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: #3498db;
    min-width: 60px;
    text-align: center;
}

.feature-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Specifications Section */
.specifications {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.specifications h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-category h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.spec-category ul {
    list-style: none;
}

.spec-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.spec-category li:last-child {
    border-bottom: none;
}

.spec-category strong {
    color: #2c3e50;
}

/* Compatible Sensors - 2x2 Layout */
.compatible-sensors {
    margin-top: 2rem;
}

.compatible-sensors h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.sensors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sensor-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sensor-item:hover {
    transform: translateY(-3px);
}

.sensor-icon {
    font-size: 2rem;
    margin-right: 1rem;
    min-width: 50px;
}

.sensor-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.sensor-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Sensor Types Section */
.sensor-types {
    margin-top: 2rem;
}

.sensor-type {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.sensor-type-content {
    flex: 1;
}

.sensor-type-image {
    width: 200px;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    flex-shrink: 0;
}

.electrode-image {
    background-image: url('./Pictures/Electrode.png');
}

.coils-image {
    background-image: url('./Pictures/Coils.png');
}

.fluxgate-image {
    background-image: url('./Pictures/Fluxgate.png');
}

.sensor-type h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sensor-type ul {
    list-style: none;
}

.sensor-type li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.sensor-type li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Applications Section */
.applications {
    background: #f8f9fa;
    padding: 60px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.application-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.application-card p {
    color: #666;
    line-height: 1.6;
}

/* About Page Styles */
.company-overview {
    padding: 60px 0;
}

.company-image {
    background: linear-gradient(45deg, #3498db, #2980b9);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
    text-align: center;
    padding: 2rem;
}

.company-image h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Mission & Vision */
.mission-vision {
    background: #f8f9fa;
    padding: 60px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card,
.values-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-card h3,
.vision-card h3,
.values-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Company Stats */
.company-stats {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.stat-card p {
    color: #666;
    line-height: 1.6;
}

/* Expertise Section */
.expertise {
    background: #f8f9fa;
    padding: 60px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.expertise-card:hover {
    transform: translateY(-5px);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.expertise-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card li {
    padding: 0.25rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 60px 0;
}

.team-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-highlight {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-highlight:hover {
    transform: translateY(-5px);
}

.team-highlight h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.team-highlight p {
    color: #666;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-main {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    min-width: 40px;
}

.contact-text h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-text a {
    color: #3498db;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-form-section h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Quick Contact */
.quick-contact {
    background: #f8f9fa;
    padding: 60px 0;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.quick-contact-item:hover {
    transform: translateY(-5px);
}

.quick-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-contact-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-contact-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Product Styles */
.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.product-image span {
    position: relative;
    z-index: 2;
}

/* Mobile Menu Base Styles - Add this BEFORE the @media (max-width: 768px) block */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile Navigation */
    .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-links.mobile-active {
    display: flex;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    color: red !important;  /* RED TEXT - easy to see */
    background: transparent !important;
    font-size: 1.2rem !important;  /* Bigger text */
    font-weight: bold !important;  /* Bold text */
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: yellow !important;  /* Yellow on hover */
}

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .overview-content,
    .contact-content,
    .location-content,
    .training-content,
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-features {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
        gap: 1.5rem;
    }

    .products-preview {
        grid-template-columns: 1fr;
    }

    .product-preview {
        flex-direction: column;
    }

    .product-preview .product-image {
        width: 100%;
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .logo span {
        display: none;
    }

    .logo-img {
        margin-right: 0;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
        gap: 1.5rem;
    }

    .support-tiers {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
        gap: 2rem;
    }

    .product-content {
        padding: 2rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
    }

    .sensors-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        max-width: 100%;
    }

    .sensor-type {
        flex-direction: column;
        text-align: center;
    }

    .sensor-type-image {
        width: 100%;
        height: 200px;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .service-detail,
    .contact-form,
    .contact-details,
    .technical-specs {
        padding: 1.5rem;
    }

    .industry-card,
    .application-card,
    .expertise-card {
        padding: 1.5rem;
    }

    .industries-grid {
        gap: 1.5rem;
    }
    
    .industry-card {
        padding: 2rem 1.5rem;
    }
    
    .industry-icon {
        font-size: 3rem;
    }

    .product-content {
        padding: 1.5rem;
    }

    .product-image-container {
        height: 300px;
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .cta-section {
        display: none;
    }

    .page-header {
        position: static;
        background: none;
        color: #333;
        padding: 2rem 0;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .btn {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }

    .product-image::before {
        background: rgba(0,0,0,0.7);
    }

    .contact-item,
    .benefit,
    .highlight {
        border: 2px solid #333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .btn,
    .product-card,
    .service-detail,
    .industry-card,
    .application-card {
        transition: none;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}

