/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Top Bar Styles */
.top-bar {
    background: #ffffff; /* bg-white */
    border-bottom: 1px solid #d1d5db; /* border-b border-gray-300 */
}

/* Main Header Styles */
.main-header {
    background: #1f2937; /* bg-gray-900 */
    color: #ffffff; /* text-white */
}

.nav-link {
    color: #ffffff; /* text-white */
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #f97316; /* hover:text-orange-500 */
    transform: scale(1.05);
}

.nav-link.active {
    background: #f97316; /* bg-orange-500 */
    color: #ffffff; /* text-white */
    border-radius: 0.5rem; /* rounded-lg */
}

/* Search Bar Styles */
.search-bar {
    border: 1px solid #d1d5db; /* border border-gray-300 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.search-bar:focus {
    border-color: #f97316; /* focus:border-orange-500 */
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

/* Mobile Navigation Menu */
.nav-menu-mobile {
    display: none; /* Hidden by default */
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.nav-menu-mobile.active {
    display: block; /* Show when active */
    transform: translateX(0);
}

.close-menu {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    .nav-menu {
        display: none !important;
    }
    .nav-menu-mobile {
        display: block;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #f3f4f6; /* bg-gray-100 */
}

/* Contact Page Styles */
.contact {
    background: linear-gradient(135deg, #1f2937, #111827); /* bg-gradient-to-br from-gray-800 to-gray-900 */
    color: #ffffff; /* text-white */
}

.contact h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    margin-bottom: 1.5rem; /* mb-6 */
}

@media (min-width: 768px) {
    .contact h1 {
        font-size: 3rem; /* md:text-5xl */
    }
}

/* Contact Form Input Styles */
.contact form textarea,
.contact form input {
    width: 100%;
    padding: 0.75rem; /* p-3 */
    border: 1px solid #4b5563; /* border-gray-600 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* shadow-sm */
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact form textarea:hover,
.contact form input:hover {
    transform: scale(1.02);
}

.contact form textarea:focus,
.contact form input:focus {
    border-color: #f97316; /* focus:ring-orange-500 */
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); /* focus:ring-2 focus:ring-orange-500 */
    outline: none;
}

/* Social Media Section */
.social-media {
    background: #1f2937; /* bg-gray-800 */
    color: #ffffff; /* text-white */
}

/* Updated Slideshow and Intro Styles */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
}

.hero-slide p {
    font-size: 1rem; /* text-base */
}

@media (min-width: 768px) {
    .hero-slide h2 {
        font-size: 3.75rem; /* md:text-6xl */
    }
    .hero-slide p {
        font-size: 1.5rem; /* md:text-2xl */
    }
}

.dot {
    width: 16px;
    height: 16px;
    background: #f97316; /* bg-orange-500 */
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    opacity: 1;
    transform: scale(1.25);
}

.intro {
    padding: 3rem 1rem; /* py-12 */
    background: linear-gradient(135deg, #1f2937, #111827); /* bg-gradient-to-br from-gray-800 to-gray-900 */
    color: #ffffff; /* text-white */
}

@media (min-width: 768px) {
    .intro {
        padding: 4rem 1rem; /* md:py-16 */
    }
}

.intro h1 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    margin-bottom: 1.5rem; /* mb-6 */
}

@media (min-width: 768px) {
    .intro h1 {
        font-size: 3rem; /* md:text-5xl */
    }
}

.intro p {
    font-size: 0.875rem; /* text-sm */
    color: #d1d5db; /* text-gray-300 */
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .intro p {
        font-size: 1.25rem; /* md:text-xl */
    }
}

.intro .grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .intro .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.intro a {
    background: linear-gradient(to right, #f97316, #f59e0b); /* bg-gradient-to-r from-orange-500 to-yellow-500 */
    color: #ffffff; /* text-white */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.intro a:hover {
    background: #111827; /* hover:bg-gray-800 */
    transform: scale(1.05);
}

/* Updated Product Section Styles */
.products {
    padding: 3rem 1rem; /* py-12 */
    background: #111827; /* bg-gray-900 */
    color: #ffffff; /* text-white */
}

@media (min-width: 768px) {
    .products {
        padding: 4rem 1rem; /* md:py-16 */
    }
}

.products h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .products h2 {
        font-size: 2.5rem; /* md:text-4xl */
    }
}

.products .grid {
    display: grid;
    gap: 3rem;
}

.products img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.products h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #f97316; /* text-orange-500 */
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .products h3 {
        font-size: 1.5rem; /* md:text-2xl */
    }
}

.products h4 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #f97316; /* text-orange-500 */
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .products h4 {
        font-size: 1.25rem; /* md:text-xl */
    }
}

.products p, .products ul {
    font-size: 0.875rem; /* text-sm */
    color: #d1d5db; /* text-gray-300 */
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .products p, .products ul {
        font-size: 1rem; /* md:text-base */
    }
}

.products ul {
    list-style: disc;
    list-style-position: inside;
}

.products a {
    background: linear-gradient(to right, #f97316, #f59e0b); /* bg-gradient-to-r from-orange-500 to-yellow-500 */
    color: #ffffff; /* text-white */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.products a:hover {
    background: #111827; /* hover:bg-gray-800 */
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .products .grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Existing Footer Styles */
.footer {
    background: linear-gradient(to right, #1f2937, #111827);
    color: white;
    padding: 3rem 1rem;
}

.footer .grid {
    display: grid;
    gap: 2rem;
}

.footer h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p, .footer a {
    font-size: 1rem;
    color: #d1d5db;
}

.footer a:hover {
    color: #60a5fa;
    transition: color 0.3s ease;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Updated About Page Styles */
.hero-about {
    position: relative;
    height: 24rem;
    background-size: cover;
    background-position: center;
}

.hero-about h1 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
}

.hero-about p {
    font-size: 1rem; /* text-base */
}

@media (min-width: 768px) {
    .hero-about {
        height: 24rem;
    }
    .hero-about h1 {
        font-size: 3.125rem; /* md:text-5xl */
    }
    .hero-about p {
        font-size: 1.25rem; /* md:text-xl */
    }
}

.mission, .history, .process, .contact-info {
    padding: 3rem 1rem; /* py-12 */
}

@media (min-width: 768px) {
    .mission, .history, .process, .contact-info {
        padding: 4rem 1rem; /* md:py-16 */
    }
}

.mission h2, .history h2, .process h2, .contact-info h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    color: #ffffff; /* text-white */
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .mission h2, .history h2, .process h2, .contact-info h2 {
        font-size: 2.5rem; /* md:text-4xl */
    }
}

.mission p, .history p, .process p, .contact-info p, .contact-info li {
    font-size: 0.875rem; /* text-sm */
    color: #d1d5db; /* text-gray-300 */
}

@media (min-width: 768px) {
    .mission p, .history p, .process p, .contact-info p, .contact-info li {
        font-size: 1rem; /* md:text-base */
    }
}

.history img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process .grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .history .grid, .process .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Existing Contact Page Styles */
.hero-contact {
    position: relative;
    height: 24rem;
    background-size: cover;
    background-position: center;
}

.hero-contact h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.hero-contact p {
    font-size: 1.125rem;
    color: white;
}

.contact-info, .contact-form, .map {
    padding: 4rem 1rem;
}

.contact-info h2, .contact-form h2, .map h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info .grid {
    display: grid;
    gap: 2rem;
}

.contact-info svg {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: #2563eb;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #2563eb;
    outline: none;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.map {
    background: #e5e7eb;
    height: 24rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-contact {
        height: 24rem;
    }
    .hero-contact h1 {
        font-size: 3.125rem;
    }
    .hero-contact p {
        font-size: 1.25rem;
    }
    .contact-info h2, .contact-form h2, .map h2 {
        font-size: 2.5rem;
    }
    .contact-info .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Updated Products Page Styles */
.hero-products {
    position: relative;
    height: 24rem;
    background-size: cover;
    background-position: center;
}

.hero-products h1 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
}

.hero-products p {
    font-size: 1rem; /* text-base */
}

@media (min-width: 768px) {
    .hero-products {
        height: 24rem;
    }
    .hero-products h1 {
        font-size: 3.125rem; /* md:text-5xl */
    }
    .hero-products p {
        font-size: 1.25rem; /* md:text-xl */
    }
}

.product-overview, .specifications, .applications, .benefits, .contact-info, .cta {
    padding: 3rem 1rem; /* py-12 */
}

@media (min-width: 768px) {
    .product-overview, .specifications, .applications, .benefits, .contact-info, .cta {
        padding: 4rem 1rem; /* md:py-16 */
    }
}

.product-overview h2, .specifications h2, .applications h2, .benefits h2, .contact-info h2, .cta h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    color: #ffffff; /* text-white */
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .product-overview h2, .specifications h2, .applications h2, .benefits h2, .contact-info h2, .cta h2 {
        font-size: 2.5rem; /* md:text-4xl */
    }
}

.product-overview img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-overview p, .specifications p, .applications p, .benefits p, .contact-info p, .contact-info li {
    font-size: 0.875rem; /* text-sm */
    color: #d1d5db; /* text-gray-300 */
}

@media (min-width: 768px) {
    .product-overview p, .specifications p, .applications p, .benefits p, .contact-info p, .contact-info li {
        font-size: 1rem; /* md:text-base */
    }
}

.specifications .grid, .applications .grid, .benefits .grid {
    display: grid;
    gap: 2rem;
}

.benefits svg {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: #f97316; /* text-orange-500 */
}

.cta {
    background: linear-gradient(to right, #f97316, #f59e0b); /* bg-gradient-to-r from-orange-500 to-yellow-500 */
    color: white;
    text-align: center;
}

.cta a {
    background: #1f2937; /* bg-gray-900 */
    color: #ffffff; /* text-white */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta a:hover {
    background: #111827; /* hover:bg-gray-800 */
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .product-overview .grid {
        grid-template-columns: 1fr 1fr;
    }
    .specifications .grid {
        grid-template-columns: 1fr 1fr;
    }
    .applications .grid, .benefits .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Search Page Styles */
.hero-search {
    background-size: cover;
    background-position: center;
    height: 24rem; /* Matches h-96 */
}

.search-results {
    padding: 4rem 1rem;
    background: #f3f4f6; /* Matches bg-gray-100 */
}

.search-results h2 {
    margin-bottom: 3rem;
    font-size: 2.25rem; /* Matches text-3xl */
    font-weight: 700;
    color: #1f2937; /* Matches text-gray-800 */
    text-align: center;
}

@media (min-width: 768px) {
    .search-results h2 {
        font-size: 2.5rem; /* Matches md:text-4xl */
    }
}

.search-results p {
    color: #4b5563; /* Matches text-gray-600 */
    text-align: center;
    margin-bottom: 2rem;
}