/* CSS Design System for Nexora Polymers */
:root {
    --primary-red: #cc2121;
    --primary-red-hover: #a51a1a;
    --secondary-blue: #2d3436;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeIn 0.8s ease forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #1e293b;
}

.logo-motto {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid #e2e8f0;
    background: white;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn-red {
    background: var(--primary-red);
    color: white;
}

.btn-red:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(204, 33, 33, 0.3);
}

/* Animations */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: var(--bg-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.hero-logo-box {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-logo-large {
    max-width: 250px;
}

.hero-info-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.hero-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.15rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    background: #f8fafc;
    padding: 12px 18px;
    border-radius: 8px;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
}

.product-list-card {
    background: #000;
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
}

.product-list-card h3 {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.product-list-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-list-items li {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-dot {
    width: 10px;
    height: 10px;
    background: #fbbf24;
    border-radius: 50%;
}

.reach-out-card {
    margin-top: 20px;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.reach-out-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.reach-out-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.reach-out-btns {
    display: flex;
    gap: 10px;
}

/* Ticker */
.ticker-wrap {
    background: var(--primary-red);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Expertise Section */
.expertise {
    padding: 80px 0;
}

.section-tag {
    background: #fef2f2;
    color: var(--primary-red);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.section-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.section-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-center p {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #f8fafc;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-img-box {
    height: 200px;
    background: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #1e293b;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-body {
    padding: 25px;
    flex-grow: 1;
}

.product-body h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.info-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-footer {
    padding: 20px 25px;
}

/* Map Section */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    background: #e2e8f0;
}

.map-info {
    padding: 20px;
}

.map-info p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: #f8fafc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.footer-about .logo-container {
    margin-bottom: 25px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 0.95rem;
}

.contact-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-info-header h1 {
        font-size: 1.8rem;
    }

    .reach-out-btns {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .nav-actions {
        display: none;
    }
}