/* CSS Variables for Premium Light Theme */
:root {
    --bg-color: #f9f9fa; /* Off-white */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --accent-1: #e60000; /* Logo Red */
    --accent-2: #ff4d4d;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --blob-1: rgba(230, 0, 0, 0.15);
    --blob-2: rgba(255, 77, 77, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Blobs for Visual Interest */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: var(--blob-1);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 40vw;
    height: 40vw;
    background: var(--blob-2);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Utility Classes */
.glass-card {
    background: #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logos */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.section-padding {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    padding: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.gradient-1 { background: linear-gradient(135deg, #e60000, #ff4d4d); }
.gradient-2 { background: linear-gradient(135deg, #111827, #374151); }

.product-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-tag {
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-link span {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-link:hover {
    color: var(--accent-1);
}

.product-link:hover span {
    transform: translateX(4px);
}

/* Footer / Contact Section */
.footer {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 60px 40px;
    border-radius: 32px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .company-desc {
    margin-top: 16px;
    color: var(--text-secondary);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.contact-list .icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: var(--accent-1);
}

.contact-list a {
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--accent-1);
}

.address-text, .cin-text {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cin-text {
    font-family: monospace;
    color: var(--text-primary);
    background: rgba(0,0,0,0.04);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .footer {
        margin: 0 16px 24px 16px;
        padding: 40px 24px;
        border-radius: 24px;
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.about-image {
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    text-align: center;
    color: var(--accent-1);
}

.image-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.image-placeholder span {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* Modal Popup */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: #ffffff;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border-radius: 24px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--accent-1);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: #f9f9fa;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(230,0,0,0.1);
}

.btn-full {
    width: 100%;
    text-align: center;
}
