:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary-color: #38bdf8;
    --secondary-color: #0ea5e9;
    --accent-color: #7dd3fc;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.8rem;
    color: var(--accent-color);
    opacity: 0.8;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    list-style: none;
    min-width: 200px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin-bottom: 0.5rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.25rem 0;
}

.dropdown-menu a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.dropdown-menu a.active::before {
    content: '• ';
    margin-right: 5px;
    color: var(--accent-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent 40%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-tag {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.hero-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #94a3b8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

/* Features/Services Grid */
.features {
    padding: 50px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #94a3b8;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    color: #cbd5e1;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.about-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #162032; /* Slightly lighter than bg */
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.services-intro h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.services-intro p {
    margin-bottom: 1rem;
    color: #94a3b8;
}

.services-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.service-category ul {
    list-style: none;
}

.service-category li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #cbd5e1;
}

.service-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.services-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.extra-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.extra-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Product Section */
.product-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    min-height: 60vh;
}

.product-content {
    max-width: 1000px; /* Restored to 1000px for large images */
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.product-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-gallery {
    margin-top: 2rem;
}

.product-gallery h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    scroll-margin-top: 120px; /* Ensure title is visible when scrolling to anchor */
}

.product-description {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Increased min-width for larger images */
    gap: 30px;
    margin-top: 2rem;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none; 
    position: fixed; 
    z-index: 10000; /* High z-index to ensure it's on top */
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.95); 
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Next & previous buttons */
.prev-slide,
.next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.3);
}

.next-slide {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-slide {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.2rem;
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 95%;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .prev-slide, .next-slide {
        font-size: 20px;
        padding: 12px;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.05), transparent 70%);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-info {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-info address {
    font-style: normal;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.business-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.business-hours h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h3 {
        font-size: 1.5rem;
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Product Navigation */
.product-nav {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-nav li a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-nav li a:hover {
    background: var(--primary-color);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.product-gallery {
    margin-top: 2rem;
    scroll-margin-top: 100px; /* Offset for fixed header if needed */
}

html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #0f172a;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
}

/* Video Player */
/* Video Player */
.video-container {
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    width: fit-content; /* Allow container to shrink to fit video width */
    max-width: 100%; /* Ensure it doesn't overflow parent */
    margin-left: auto;
    margin-right: auto;
}

.product-video {
    width: auto; /* Allow width to adjust based on aspect ratio */
    height: 368px; /* Fixed height as requested */
    display: block;
    max-width: 100%; /* Ensure video doesn't overflow container on small screens */
}

/* Download Page Styles */
.download-section {
    margin-bottom: 3rem;
}

.download-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.download-item {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.download-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.download-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    gap: 1.5rem;
    transition: background 0.3s ease;
}

.download-link:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pdf-icon {
    font-size: 2.5rem;
    color: #ef4444; /* Red color for PDF */
    transition: transform 0.3s ease;
}

.download-link:hover .pdf-icon {
    transform: scale(1.1);
}

.download-info {
    flex: 1;
}

.download-info h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.download-action {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.download-link:hover .download-action {
    opacity: 1;
    transform: translateY(2px);
}
