/* --- Basic Setup & Futuristic Color Scheme --- */
:root {
    --bg-dark: #0a0a1a;
    --text-light: #e0e0ff;
    --text-secondary: #a0a0c0;
    --accent-blue: #00aaff;
    --accent-glow: #00aaff80;
    --glass-bg: rgba(20, 20, 40, 0.5);
    --border-color: rgba(0, 170, 255, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
a { color: var(--accent-blue); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--text-light); }

/* --- Live Background Canvas --- */
#live-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 1px solid var(--accent-blue); background: transparent; color: var(--accent-blue); }
.btn:hover { background: var(--accent-blue); color: var(--bg-dark); box-shadow: 0 0 20px var(--accent-glow); transform: translateY(-3px); }
.btn-primary { background: var(--accent-blue); color: var(--bg-dark); }
.btn-primary:hover { background: var(--text-light); color: var(--bg-dark); border-color: var(--text-light); box-shadow: 0 0 20px #ffffff80; }
.btn i { margin-left: 8px; margin-right: -4px; }

/* --- Header & Navigation --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; transition: background-color 0.3s ease; }
.header.scrolled { background: var(--glass-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 75px; }
.nav-logo { font-size: 1.8rem; font-weight: 700; color: red; }
.nav-logo .logo-accent { color: white; }
.nav-menu { display: flex; list-style: none; }
.nav-item { margin-left: 2.5rem; }
.nav-link { color: var(--text-secondary); font-weight: 600; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: red; transition: width 0.3s ease; }
.nav-link:hover { color: red; }
.nav-link:hover::after { width: 100%; }
.hamburger { display: none; cursor: pointer; z-index: 101; }
.bar { display: block; width: 25px; height: 2px; margin: 5px auto; background-color: var(--text-light); border-radius: 2px; transition: all 0.3s ease-in-out; }

/* --- General Section & Content Styling --- */
.content-section { padding: 8rem 0; position: relative; z-index: 1; }
.section-title { font-size: 2.8rem; margin-bottom: 1rem; color: var(--text-light); }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 3rem auto; }
.page-title { font-size: 3.5rem; color: var(--text-light); text-align: center; }

/* --- Hero Section --- */
.hero { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 1rem; color: var(--text-light); }
.hero p { font-size: clamp(1rem, 2vw, 1.3rem); color: var(--text-secondary); margin-bottom: 2rem; }

/* --- Two Column Layout --- */
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.image-wrapper { border-radius: 12px; padding: 5px; background: linear-gradient(45deg, var(--accent-blue), var(--accent-violet)); box-shadow: 0 0 30px var(--accent-glow); }
.image-wrapper img {
    width: 100%;      /* This makes the image fill the container's width */
    height: auto;     /* This maintains the image's original aspect ratio */
    display: block;   /* This removes any extra space below the image */
    border-radius: 10px; /* This keeps the rounded corners from the theme */
}

/* --- Cards (Services, Products) --- */
.service-card, .product-card { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--border-color); padding: 2.5rem; border-radius: 16px; text-align: center; transition: all 0.3s ease; box-shadow: 0 10px 30px var(--shadow-color); overflow: hidden; position: relative; }
.service-card:hover, .product-card:hover { transform: translateY(-12px); box-shadow: 0 0 30px var(--accent-glow); border-color: var(--accent-blue); }
.service-card::before, .product-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 170, 255, 0.1), transparent 40%); opacity: 0; transition: opacity 0.3s; }
.service-card:hover::before, .product-card:hover::before { opacity: 1; }
.service-icon { background: linear-gradient(to right, var(--accent-blue), var(--accent-violet)); color: var(--bg-dark); width: 70px; height: 70px; margin: 0 auto 1.5rem auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* --- Partners Section --- */
/* --- Partners Section --- */
.partners-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 2rem; 
    justify-items: center; 
    align-items: center; 
    margin-top: 3rem; 
}

.partner-logo img {
    /* Define the 'box' for the logo */
    height: 120px;  /* Give all logos a consistent height */
    width: 200px;  /* Give all logos a consistent max width */

    /* This is the magic property! */
    object-fit: contain; /* Scales the image down to fit, without stretching */

    filter: brightness(1.5);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: none; /* Removes the grayscale and brightness */
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(1.5);
}

/* --- Contact Section --- */
.contact-item { display: flex; align-items: start; margin-bottom: 1.5rem; font-size: 1.1rem; }
.contact-item i { color: var(--accent-blue); margin-right: 1.5rem; font-size: 1.2rem; width: 20px; text-align: center; margin-top: 5px; }
.map-container { height: 400px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); }
/* .map-container iframe { } */

/* --- Menu Page: Tabs & Products --- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.tab-link { padding: 10px 25px; font-size: 1rem; font-weight: 600; border: 1px solid var(--border-color); border-radius: 50px; background: transparent; color: var(--text-secondary); cursor: pointer; transition: all 0.3s ease; }
.tab-link.active, .tab-link:hover { background: var(--accent-blue); color: var(--bg-dark); border-color: var(--accent-blue); box-shadow: 0 0 15px var(--accent-glow); }
.tab-content { display: none; animation: fadeIn 0.6s ease; }
.tab-content.active { display: block; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 0;
    cursor: pointer;
}

.product-card img {
    width: 100%; /* Ensures image spans the full width of the card */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    aspect-ratio: 1 / 1; /* Changed to a square to match your image */
    object-fit: cover;   /* Ensures the image covers the area, good practice */
}
.product-info { padding: 1.5rem; text-align: left; }
.product-info h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text-light); }
.product-info p { color: var(--text-secondary); }

/* --- Product Detail Page --- */
.hidden { display: none !important; }
#product-detail-view { animation: fadeIn 0.5s ease; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; margin-top: 3rem; align-items: start; }
.product-detail-image img { width: 100%; border-radius: 12px; border: 1px solid var(--border-color); }
.product-detail-info h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--text-light); }
.product-detail-info .detail-brand { font-size: 1.1rem; color: var(--accent-blue); font-weight: 600; margin-bottom: 1.5rem; }
.product-detail-info h3 { margin-top: 2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; color: var(--text-light); }
.product-detail-info ul { list-style: none; padding-left: 0; }
.product-detail-info li { background: var(--glass-bg); padding: 10px 15px; border-radius: 6px; margin-bottom: 8px; border: 1px solid var(--border-color); }

/* --- Footer --- */
.footer { background-color: var(--bg-dark); border-top: 1px solid var(--border-color); padding: 2rem 0; text-align: center; color: var(--text-secondary); position: relative; z-index: 1; }

/* --- Animations & Responsive --- */
.animate-on-load, .animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.animate-on-load.visible, .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media(max-width: 992px) { .two-column, .product-detail-layout { grid-template-columns: 1fr; } #contact .column-left { order: 2; margin-top: 2rem; } }
@media(max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-menu { position: fixed; left: 0; top: 0; height: 100vh; width: 100%; flex-direction: column; justify-content: center; align-items: center; background: #0a0a1aef; backdrop-filter: blur(10px); transform: translateX(100%); transition: transform 0.3s ease-in-out; }
    .nav-menu.active { transform: translateX(0); }
    .nav-item { margin: 1.5rem 0; font-size: 1.5rem; }
    .tabs { flex-direction: column; }
}
/* --- NEW: CTA Card Styles --- */
.cta-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
}