:root {
    --primary-color: #ab0007;
    --primary-dark: #8a0006;
    --secondary-color: #000000;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --section-padding: 6rem 0;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

/* Header */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581056771107-24ca5f033842?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color var(--transition-speed) ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .nav-contact-btn {
    background: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.nav-links .nav-contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(171, 0, 7, 0.2);
}

.nav-links .nav-contact-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/Hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    padding-top: 80px; /* Account for fixed navigation */
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    margin-top: 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(171, 0, 7, 0.3);
}

/* Introduction and Section Intros */
.intro-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.intro-text p.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-text p + p {
    margin-top: 2rem;
}

.benefits-intro,
.industries-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-intro p,
.industries-intro p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.benefits-intro p:last-child,
.industries-intro p:last-child {
    margin-bottom: 0;
}

.benefits-intro p + p,
.industries-intro p + p {
    margin-top: 2rem;
}

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

/* Section Styling */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--light-gray);
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
}

.product-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform var(--transition-speed) ease;
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
    background: var(--light-gray);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.benefit-card:hover i {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.benefit-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Industries & Applications */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.industry-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease;
}

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

.industry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.industry-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.industry-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.industry-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.industry-card ul li:last-child {
    margin-bottom: 0;
}

.industry-card ul li::before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background-color: var(--background-color);
    transition: background-color var(--transition-speed);
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    flex: 1;
}

.faq-question i {
    margin-left: 1rem;
    transition: transform var(--transition-speed);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer:not([hidden]) {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
}

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

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color var(--transition-speed) ease;
}

.footer-section a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-links .nav-contact-btn {
        margin-top: 0.5rem;
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .product-card,
    .benefit-card,
    .industry-card {
        padding: 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}
