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

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.navbar {
    padding: 15px 0;
}

/* Scroll margin for anchor links to account for fixed header */
#products,
#elastic-bandage,
#specifications,
#applications,
#about,
#technology,
#news,
#contact {
    scroll-margin-top: 100px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #2196F3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    transition: width 0.3s;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
    min-height: 2.5em;
    display: flex;
    align-items: center;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #2196F3;
}

/* Mobile Menu Toggle */
/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

/* Language specific display */
.en-only {
    display: none;
}

.zh-only {
    display: block;
}

html[lang="en"] .en-only {
    display: inline;
}

html[lang="en"] .zh-only {
    display: none;
}

html[lang="en"] .benefit-doc.en-only {
    display: flex;
}

.lang-btn {
    padding: 8px 12px;
    border: 1px solid #2196F3;
    background: transparent;
    color: #2196F3;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.lang-btn:hover {
    background: #2196F3;
    color: white;
}

.lang-btn.active {
    background: #2196F3;
    color: white;
}

/* Layout Stability for Language Switching */
[data-zh][data-en] {
    min-height: 1.2em;
    transition: none;
}

.nav-link {
    min-width: 80px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown .nav-link {
    min-width: 100px;
}

.hero-title {
    min-height: 4rem;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    min-height: 2.5rem;
    display: block;
}

.section-title {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    min-height: 1.5rem;
}

.cert-item h4 {
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-item p {
    min-height: 1.5em;
}

.spec-card h4 {
    min-height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-item h4 {
    min-height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 100px 0 60px;
    margin-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 50px;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2196F3;
    border: 2px solid #2196F3;
}

.btn-secondary:hover {
    background: #2196F3;
    color: white;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 2rem;
    color: #2196F3;
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.feature-item p {
    color: #666;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Products Section */
.products {
    background: white;
}

.product-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.product-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-info h3 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
}

.product-tagline {
    font-size: 1.3rem;
    color: #2196F3;
    font-weight: 600;
    margin-bottom: 30px;
}

.product-benefits {
    list-style: none;
}

.product-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

.product-benefits i {
    color: #4CAF50;
    font-weight: bold;
}

/* More Benefits */
.more-benefits {
    text-align: right;
    margin-top: 20px;
}

.benefits-btn {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.benefits-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Benefits Modal */
.benefits-documents {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.benefit-doc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-doc {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.benefit-doc:hover {
    background: #e3f2fd;
    border-color: #2196F3;
    transform: translateX(10px);
}

.benefit-doc i {
    font-size: 24px;
    color: #d32f2f;
}

.benefit-doc span {
    font-weight: 500;
}

/* Korea Wrap Modal */
.korea-wrap-documents {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.korea-doc {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.korea-doc:hover {
    background: #e3f2fd;
    border-color: #2196F3;
    transform: translateX(10px);
}

.korea-doc i {
    font-size: 24px;
    color: #d32f2f;
}

.korea-doc span {
    font-weight: 500;
}

.product-sizes h4 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.size-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.size-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.size-item span {
    font-weight: 600;
    color: #333;
}

/* Technology Section */
.technology {
    background: #f8f9fa;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

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

.cert-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
}

.cert-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.cert-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e3f2fd;
    transition: all 0.3s;
}

.cert-item:hover .cert-placeholder {
    background: linear-gradient(135deg, #2196F3, #4CAF50);
    border-color: #2196F3;
}

.cert-placeholder i {
    font-size: 2.2rem;
    color: #2196F3;
    transition: all 0.3s;
}

.cert-item:hover .cert-placeholder i {
    color: white;
    transform: scale(1.1);
}

.cert-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.cert-item p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cert-number {
    display: block;
    font-size: 0.85rem;
    color: #2196F3;
    font-weight: 500;
    margin-bottom: 5px;
}

.cert-validity {
    display: block;
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 500;
}

.tech-specs-section {
    background: white;
    padding: 50px 0;
}

.specs-title {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.spec-card {
    text-align: center;
    padding: 30px 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.spec-card:hover {
    background: white;
    border-color: #2196F3;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    transform: translateY(-3px);
}

.spec-card i {
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 20px;
}

.spec-card h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.spec-card p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

/* Applications Section */
.applications {
    background: white;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.app-item {
    text-align: center;
    padding: 30px 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.app-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.app-item i {
    font-size: 3rem;
    color: #2196F3;
    margin-bottom: 20px;
}

.app-item h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

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

.clinical-video {
    text-align: center;
}

.clinical-video h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
}

.video-grid-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1;
    padding: 0 20px;
}

.video-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.video-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-item p {
    padding: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
}

.grid-nav-btn {
    background: rgba(0,123,255,0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.grid-nav-btn:hover {
    background: rgba(0,123,255,1);
    transform: scale(1.1);
}

.grid-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.page-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-indicator.active {
    background: #007bff;
    transform: scale(1.2);
}

.page-indicator:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-grid-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .grid-nav-btn {
        display: none;
    }
}

/* News Section */
.news {
    background: #f8f9fa;
}

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

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

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

.news-content {
    padding: 30px;
}

.news-date {
    color: #2196F3;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-content h4 {
    font-size: 1.4rem;
    color: #333;
    margin: 15px 0;
    min-height: 2.5em;
    display: flex;
    align-items: center;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 4em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #1976D2;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    margin-top: 50px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2196F3;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.contact-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Contact responsive design */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px;
    }
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

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

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: #2196F3;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 5px;
        border-radius: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        min-width: 60px;
        font-size: 0.9rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-content,
    .product-hero,
    .tech-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

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

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

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

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

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

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

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

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

    .tech-specs-section {
        padding: 30px 0;
    }

    .applications-grid {
        margin-bottom: 30px;
    }
}

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

.hero-content,
.hero-image,
.about-text,
.about-image {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* Company Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    max-height: 85vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.photo-display {
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

.photo-display img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.photo-display p {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}

.gallery-btn {
    background: rgba(0,123,255,0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: rgba(0,123,255,1);
    transform: scale(1.1);
}

.photo-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.photo-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-indicator.active {
    background: #007bff;
}