:root {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --circle-color: rgba(255, 255, 255, 0.25);
    --line-color: rgba(255, 255, 255, 0.15);
    --accent-color: #00aaff;
    --card-bg: rgba(30, 30, 30, 0.8);
}

body {
    margin: 0;
    font-family: 'Rajdhani', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    overflow-y: auto;
}

/* Background Canvas */
#hydrogen-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Gradient overlay for better text readability */
    background: radial-gradient(circle at center, transparent 0%, #050a14 100%);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 45px;
    width: auto;
    animation: pulse-white-glow 9s infinite ease-in-out;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Hero Section */
#main-hero {
    padding: 120px 20px 60px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    animation: pulse-white-glow 9s infinite ease-in-out;
}

@keyframes pulse-white-glow {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
    }

    100% {
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    }
}

/* Sections */
.content-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.section-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Benefit Items */
.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #fff;
    font-size: 1.25rem;
}

.benefit-item p {
    color: #ccc;
}

/* Blog Swiper */
.blog-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    perspective: 1000px;
}

.blog-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    /* Taller card style */
    border-radius: 15px;
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
}

.blog-swiper .swiper-slide-active {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    /* Blue glow */
    border-color: rgba(0, 191, 255, 0.5);
}

.blog-entry-content {
    opacity: 0;
    transition: opacity 0.3s;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 15px;
}

.swiper-slide-active .blog-entry-content {
    opacity: 1;
}

.blog-swiper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    z-index: -1;
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    color: white;
    letter-spacing: 1px;
    margin-top: 1rem;
}

footer .social-icons .text-white {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s;
}

footer .social-icons .text-white:hover {
    color: var(--accent-color) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: block;
    }
}

/* Modal Overrides for Dark Theme */
.modal-content {
    background-color: #1a1a1a;
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header .btn-close {
    filter: invert(1);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    color: #fff;
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Product Gallery */
.product-gallery-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}

.product-gallery-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 191, 255, 0.2);
}

.product-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.product-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 2rem 1rem 0.75rem 1rem;
    text-align: center;
}

.product-gallery-name {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* =========================================
   Blog Post Styling (Centralized)
   ========================================= */
.blog-post-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 8rem;
    /* Space for fixed header */
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-container h1 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.blog-post-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-content h2,
.blog-post-content h3 {
    color: white;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Override inline styles from pasted content */
.blog-post-content * {
    color: inherit !important;
    background-color: transparent !important;
    font-family: 'Rajdhani', Arial, sans-serif !important;
}

.blog-post-content a {
    color: var(--accent-color) !important;
}

/* YouTube Embed Wrapper */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Social Share Buttons */
.social-share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.social-share-buttons span {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.share-btn.facebook:hover {
    background-color: #1877F2;
}

.share-btn.x-twitter:hover {
    background-color: #000;
    border: 1px solid #333;
}

.share-btn.whatsapp:hover {
    background-color: #25D366;
}

.share-btn.linkedin:hover {
    background-color: #0A66C2;
}


/* =========================================
   Product Detail Styling (Centralized)
   ========================================= */
.product-detail-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 8rem;
    /* Space for fixed header */
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-detail-container h1 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.product-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-gallery-grid img {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.product-gallery-grid img:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #0088cc;
    border-color: #0088cc;
}