:root {
    --primary-color: #0A2540; /* Deep Premium Blue */
    --primary-light: #4353FF; /* Vibrant Blue Accent */
    --secondary-color: #1A1F36; /* Darker Blue/Grey */
    --accent-color: #F7F9FC; /* Soft Cool Off-white */
    --text-color: #3C4257; /* Deep Slate Text */
    --light-text: #697386; /* Lighter Slate Text */
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-main: 'Outfit', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(50, 50, 93, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-brand-logo {
    height: 55px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5%; left: -5%; width: 110%; height: 110%;
    background-image: url('../assets/polymer_manufacturing.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: slowZoom 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 20, 35, 0.9) 0%, rgba(5, 10, 20, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 5%;
    background: var(--white);
    transform: translateY(-50px);
    margin: 0 5%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 600;
}

/* General Section Styles */
section {
    padding: 5rem 5%;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text > p {
    font-size: 1.1rem;
    color: var(--light-text);
}

.mission-vision {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.mv-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mv-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Products Section */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Industries Section */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.industry-item {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: default;
    border: 1px solid rgba(0,0,0,0.03);
}

.industry-item:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* Marquee */
.clients {
    background: var(--white);
    overflow: hidden;
    padding-bottom: 5rem;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: flex;
    animation: scroll 30s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ccc;
    padding: 0 3rem;
    transition: color 0.3s ease;
}

.marquee-content span:hover {
    color: var(--primary-color);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 5% 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.footer-col p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaaaaa;
}

/* Strengths Section */
.strengths {
    background: var(--white);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.strength-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.strength-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.strength-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Core Values Section */
.core-values {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.core-values .section-header h2 {
    color: var(--white);
}

.core-values .underline {
    background: var(--secondary-color);
}

.values-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.v-icon {
    font-size: 1.5rem;
}

/* Manufacturing Excellence */
.manufacturing {
    background: var(--white);
}

.manufacturing-content {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.m-text {
    flex: 1.2;
}

.m-text p {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.m-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.m-list li {
    font-weight: 600;
    color: var(--text-color);
}

.m-checklist {
    flex: 0.8;
    background: var(--accent-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary-color);
}

.m-checklist h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.m-checklist ul {
    list-style: none;
    margin-bottom: 2rem;
}

.m-checklist ul li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.m-checklist p {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Brochure Section */
.brochure {
    background: var(--accent-color);
}

.brochure-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 5%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.brochure-gallery::-webkit-scrollbar {
    display: none;
}

.brochure-gallery img {
    height: 70vh;
    min-height: 500px;
    object-fit: contain;
    scroll-snap-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 900px) {
    section {
        padding: 4rem 5%;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .about-content,
    .manufacturing-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    .mission-vision {
        flex-direction: column;
        gap: 1.5rem;
    }
    .m-checklist {
        width: 100%;
        padding: 2rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 5%;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons a {
        width: 100%;
    }
    
    .stats-section {
        padding: 2rem 5%;
        margin: 0 5%;
        transform: translateY(-30px);
    }
    
    .stat-card h3 {
        font-size: 2.2rem;
    }

    .m-list {
        grid-template-columns: 1fr;
    }
    
    .marquee-container::before,
    .marquee-container::after {
        width: 50px;
    }
    
    .footer-container {
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}
