/* --- GLOBAL RESET & FONTS --- */
:root {
    --primary-color: #0056b3; 
    --accent-color: #00d4ff; 
    --dark-bg: #111111;
    --light-bg: #f4f7f6;
    --text-color: #333;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Fixed navbar ke liye padding */
    padding-top: 90px; 
}

/* --- NAVBAR (FIXED & ANIMATED) --- */
.navigation {
    background: #fff;
    height: 90px;
    width: 100%;
    
    /* Fixed Positioning */
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 9999; 
    
    display: flex;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Start in Center */
    transition: all 0.5s ease-in-out;
}

.logo img {
    height: 70px;
    width: auto;
    transition: 0.4s;
}

/* --- SCROLLED STATE (Animations) --- */
.navigation.scrolled {
    height: 70px; /* Navbar shrinks */
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navigation.scrolled .logo {
    left: 20px; /* Shift to Left */
    transform: translateX(0); /* Remove centering */
}

.navigation.scrolled .logo img {
    height: 50px; /* Logo shrinks */
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    height: 60vh;
    display: flex;
    flex-direction: column; /* Allows centering of button */
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 { font-size: 3rem; font-weight: 700; margin-bottom: 15px; }
.hero-content .highlight { color: var(--accent-color); }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }

.cta-btn {
    display: inline-block; padding: 12px 30px; background: var(--primary-color);
    color: white; text-decoration: none; border-radius: 50px; font-weight: 600;
    transition: 0.3s; box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}
.cta-btn:hover { background: var(--accent-color); color: #000; transform: translateY(-3px); }

/* --- PRODUCTS & DETAILS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin: 60px 0 30px; }
.section-title h2 { font-size: 2.5rem; color: #222; margin-bottom: 10px; }

.all-products {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; padding-bottom: 60px;
}
.product-box {
    background: #fff; border-radius: 15px; overflow: hidden; position: relative;
    box-shadow: var(--card-shadow); transition: 0.4s ease; cursor: default;
    height: 300px; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.product-box img { max-width: 100%; max-height: 100%; transition: 0.4s; }
.product-box:hover { transform: translateY(-10px); }
.product-box:hover img { transform: scale(1.1); }
.product-box .overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.7);
    color: white; padding: 15px; text-align: center; transform: translateY(100%); transition: 0.4s;
}
.product-box:hover .overlay { transform: translateY(0); }

.details-wrapper { background: #fff; padding: 60px 0; }
.detail-card {
    display: flex; align-items: center; justify-content: center; gap: 50px;
    max-width: 1000px; margin: 0 auto 80px; padding: 0 20px;
}
.detail-card.reverse { flex-direction: row-reverse; }
.detail-img { flex: 1; display: flex; justify-content: center; }
.detail-img img {
    width: 100%; max-width: 400px; border-radius: 20px;
    box-shadow: 20px 20px 60px #d1d9e6, -20px -20px 60px #ffffff; 
}
.detail-text { flex: 1; }
.detail-text h2 {
    font-size: 2rem; color: var(--primary-color); margin-bottom: 20px; position: relative;
}
.detail-text h2::after {
    content: ''; position: absolute; left: 0; bottom: -8px; width: 60px;
    height: 4px; background: var(--accent-color); border-radius: 2px;
}
.detail-text p { font-size: 1.1rem; color: #555; text-align: justify; }

.features-list { list-style: none; margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.feature-badge {
    background: #e3f2fd; color: #0056b3; padding: 6px 15px; border-radius: 50px;
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- FOOTER --- */
.site-footer { background: #0b0d17; color: #fff; padding: 60px 0 20px; }
.footer-inner {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { width: 120px; margin-bottom: 15px; border-radius: 5px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--accent-color); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #bbb; text-decoration: none; transition: 0.3s; display: block; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.social-icons a:hover { background: var(--primary-color); transform: translateY(-3px); }
.copyright { text-align: center; padding-top: 20px; font-size: 0.9rem; color: #777; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    
    /* MOBILE LOGO FIX: Scrolled hone par left me jao */
    .navigation.scrolled .logo {
        left: 15px; 
        transform: translateX(0);
    }
    
    .navigation.scrolled .logo img {
        height: 40px; 
    }

    .detail-card, .detail-card.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .detail-text h2::after { left: 50%; transform: translateX(-50%); }
    .detail-text p { text-align: center; }
}
