:root {
    --bg-color: #FFFFFF;
    --text-color: #1E293B;
    /* Slate-800 */
    --text-muted: #64748B;
    /* Slate-500 */
    --primary-color: #0284C7;
    /* Sky-600 */
    --primary-hover: #0369A1;
    /* Sky-700 */
    --secondary-bg: #F1F5F9;
    /* Slate-100 */
    --card-bg: #FFFFFF;
    --card-hover: #F8FAFC;
    --border-color: #E2E8F0;
    /* Slate-200 */
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #0F172A;
    /* Slate-900 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo-name .highlight {
    color: #0F172A;
    /* Unified color as per reference */
}

.tagline-small {
    font-family: 'Inter', sans-serif;
    /* Keep tagline clean sans-serif */
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    /* Increased letter spacing for tagline */
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 2px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-cta {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--primary-color);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

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

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    background-color: var(--secondary-bg);
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/hero_bg_user.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #0F172A;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

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

.btn-secondary {
    background-color: transparent;
    border: 1px solid #CBD5E1;
    /* Slate-300 */
    color: #475569;
    /* Slate-600 */
}

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

/* Catalog / Solutions */
.catalog {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0F172A;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em;
    /* Fallback for fixed height consistency */
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section & Footer */
.contact-section {
    padding: 80px 0;
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    background-color: #FFFFFF;
    padding: 0;
    /* Removed padding for split layout */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    /* Ensures map corner radius */
}

.contact-info-side {
    padding: 2rem;
    flex: 1;
    border-right: 1px solid var(--border-color);
}

.contact-map-side {
    flex: 1;
    min-height: 100%;
}

.contact-map-side iframe {
    display: block;
    /* Removes bottom spacing */
    height: 100%;
    width: 100%;
}

.detail-item {
    margin-bottom: 2rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--text-muted);
    /* Changed from #0F172A to var(--text-muted) for grayer look */
    font-size: 1rem;
}

.detail-item a {
    color: var(--primary-color);
}

.detail-item a:hover {
    text-decoration: underline;
}

footer {
    padding: 2rem 0;
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 1.5rem;
}

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background-color: #FFFFFF;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow-y: auto;
    z-index: 2001;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #0F172A;
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }

    .modal-image-col {
        flex: 1;
        min-height: 400px;
        background-color: #F1F5F9;
    }

    .modal-info-col {
        flex: 1.2;
        padding: 2.5rem;
    }
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-col {
    padding: 1.5rem;
}

.modal-info-col h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0F172A;
}

.modal-description {
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background-color: #F8FAFC;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.spec-item .value {
    font-weight: 600;
    color: #0F172A;
}

.modal-uses h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    color: #0F172A;
}

.modal-uses ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.modal-uses li {
    margin-bottom: 0.5rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
    }

    .contact-info-side {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .contact-map-side {
        height: 250px;
        /* Fixed height for map on mobile */
    }

    .nav-cta {
        display: none;
        /* Hide CTA on mobile nav for simplicity */
    }
}