/* Reset & Base Styles */
:root {
    --primary-color: #2563eb; /* Royal Blue */
    --secondary-color: #1e293b; /* Slate 800 */
    --accent-color: #3b82f6; /* Blue 500 */
    --text-dark: #0f172a; /* Slate 900 */
    --text-gray: #475569; /* Slate 600 */
    --bg-light: #ffffff;
    --bg-gray: #f8fafc; /* Slate 50 */
    --white: #ffffff;
    --max-width: 1200px;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 160px; /* Increased size significantly based on user feedback about small logo */
    width: auto;
    display: block;
    margin-top: -10px; /* Slight negative margin if the logo has internal whitespace */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-bg {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e0e7ff;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.about-card p {
    color: var(--text-gray);
}

/* Services Grid (Publishing) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.service-content p {
    color: var(--text-gray);
}

/* Product Showcase (R&D) */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-image {
    height: 200px;
    width: 100%;
}

.color-1 {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
}

.color-2 {
    background: linear-gradient(45deg, #10b981, #3b82f6);
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.product-info p {
    color: var(--text-gray);
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-box p {
    color: #94a3b8;
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.email-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius);
    display: inline-block;
}

.email-box .label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.email-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

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

.footer-note {
    margin-top: 40px;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}
