/* 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;
    position: relative;
    background-color: #fff;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: -1;
}

/* Header and Logo */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

nav a.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
}

.hero-text {
    flex: 1 1 400px;
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    flex: 0 0 300px;
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-left: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.hero-image {
    flex: 0 0 401px;
    width: 401px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-left: 2rem;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.hero-content {
    flex: 1 1 400px;
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #0066cc;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Core Capabilities */
.capabilities {
    padding: 4rem 2rem;
    background: white;
}

.capabilities h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.capability-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.capability-item h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

/* Products Section */
.products {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.products h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.series-info {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
    font-style: italic;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-btn {
    background: white;
    border: 2px solid #0066cc;
    color: #0066cc;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover:not(.active) {
    background: #0066cc;
    color: white;
}

.tab-btn.active {
    background: #0066cc;
    color: white;
}

.series-characteristics {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.series-characteristics h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.series-characteristics p {
    margin-bottom: 0.5rem;
    color: #555;
}

.series-characteristics em {
    color: #0066cc;
    font-style: normal;
}

.product-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 450px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
}

.carousel-slide img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.7);
}

/* Platform Section */
.platform {
    padding: 4rem 2rem;
    background: white;
}

.platform h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.platform-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.platform-item h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

/* Solutions Section */
.solutions {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

/* Image Series Display */
.image-series {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: #0066cc #f0f0f0;
    max-width: 1200px;
    margin: 0 auto;
}

.image-series::-webkit-scrollbar {
    height: 8px;
}

.image-series::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.image-series::-webkit-scrollbar-thumb {
    background-color: #0066cc;
    border-radius: 4px;
    border: 2px solid #f0f0f0;
}

.image-wrapper {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive Design for Image Series */
@media (max-width: 768px) {
    .image-wrapper {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        width: 150px;
        height: 150px;
    }
}

/* Footer */

.solutions h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.solution-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.solution-item h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .product-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .carousel-nav {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}