/* Modern Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --text-color: #333;
    --background-color: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    padding: 0.5rem 1rem;
}

/* Hero Section with Slideshow */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    margin-top: 1rem;
}

.cta-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Product Spotlight */
.product-spotlight {
    padding: 4rem 2rem;
    background: #fff;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.product {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: var(--transition);
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product h3 {
    padding: 1rem;
    margin: 0;
}

.product p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* What's New Section */
.whats-new {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 4rem 2rem;
}

.whatsnew-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.whatsnew-links a {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
}

.whatsnew-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* News Section */
.newsroom {
    padding: 4rem 2rem;
    background: #fff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.news-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 3rem 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: var(--transition);
}

.footer-social img:hover {
    transform: translateY(-2px);
}

/* Enhanced Contact Section Styles */
.contact-section {
    background-color: var(--background-color);
}

.contact-wrapper {
    transition: transform 0.3s ease;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
}

.contact-info {
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(var(--primary-color-rgb), 0.03);
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-3px);
    background: rgba(var(--primary-color-rgb), 0.05);
}

.contact-info i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 1px solid rgba(0,0,0,0.1);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}

.form-floating > label {
    color: #6c757d;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.alert {
    border: none;
    border-radius: 8px;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

/* Custom animation for form submission */
@keyframes submitPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.form-submitted {
    animation: submitPulse 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .whatsnew-links {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 1rem;
    }
    
    .contact-wrapper {
        padding: 1.5rem !important;
    }
}
