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

:root {
    --primary-blue: #60a5fa;
    --primary-purple: #a78bfa;
    --primary-pink: #f472b6;
    --bg-black: #000000;
    --bg-gray: #111827;
    --text-white: #ffffff;
    --text-gray: #d1d5db;
    --text-gray-dark: #9ca3af;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-black );
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple), var(--primary-pink));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    /* Removed text styling for image logo */
}

.nav-logo-img {
    height: 80px; /* Increased height for better visibility */
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

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

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('assets/3d_asset_1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6; /* Increased opacity to brighten the background */
    animation: bgMove 20s infinite alternate;
}

@keyframes bgMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1), rgba(0,0,0,0.8)); /* Lightened the overlay */
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(2px);
    background-size: cover;
}

.floating-1 {
    top: 5rem;
    left: 2.5rem;
    width: 16rem;
    height: 16rem;
    background-image: url('assets/3d_asset_2.png');
    animation: float1 8s infinite ease-in-out;
}

.floating-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 20rem;
    height: 20rem;
    background-image: url('assets/3d_asset_3.png');
    animation: float2 10s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) rotate(360deg);
    }
    50% {
        transform: translateY(30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.5rem;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.3rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}



.hero-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin: 2rem auto 3rem;
    max-width: 48rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-btn {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    color: var(--text-white);
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Styles */
.section {
    padding: 5rem 1rem;
    background-color: var(--bg-black);
}

.section-dark {
    background: linear-gradient(to bottom, var(--bg-black), var(--bg-gray));
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-icon {
    color: var(--primary-blue);
    margin-right: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    margin: 0 auto 4rem;
    border-radius: 9999px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-paragraph {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    height: 24rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

/* Quality Control Section */
.quality-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 2rem;
}

.quality-list li {
    font-size: 1.125rem;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
}

.quality-list li::before {
    content: '✓';
    font-family: 'Arial', sans-serif; /* Using a simple checkmark */
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.quality-list li:hover {
    color: var(--text-white);
}

/* Strategy Section */
.strategy-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.strategy-heading {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 2rem;
}

.strategy-list li {
    font-size: 1.125rem;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
}

.strategy-list li::before {
    content: '✓';
    font-family: 'Arial', sans-serif; /* Using a simple checkmark */
    color: var(--primary-purple); /* Changed color for distinction */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.strategy-list li:hover {
    color: var(--text-white);
}

/* Production Secction */
/* No specific styles needed as it uses the projects-grid for product cards */

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05), rgba(167, 139, 250, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Mobile-friendly visual cue for clickability */
.project-card::after {
    content: 'View Details';
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.5rem 1rem;
    background-color: var(--primary-blue);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: bold;
    border-top-left-radius: 0.5rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.project-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.project-content {
    position: relative;
    z-index: 10;
}

.project-name {
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-type {
    font-size: 0.875rem;
    color: var(--text-gray-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 56rem;
    width: 100%;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-black));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-white);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-image-container {
    position: relative;
    height: 24rem;
    overflow: hidden;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: modalImageZoom 10s infinite ease-in-out;
}

@keyframes modalImageZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.modal-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.5), transparent);
}

.modal-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}

.modal-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-gray);
}

.modal-body {
    padding: 2rem;
}

.modal-body > p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.modal-features-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.modal-feature {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-feature::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Factory Section */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.factory-item {
    position: relative;
    height: 16rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.factory-item:hover {
    transform: scale(1.05);
}

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

.factory-item:hover img {
    transform: scale(1.1);
}

.factory-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.5), transparent);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.factory-item:hover .factory-overlay {
    opacity: 0.9;
}

.factory-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white);
}

/* Contact Section */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-heading {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1.25rem;
    color: var(--text-gray-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-icon {
    margin: 0 auto 1rem;
    color: var(--primary-blue);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.contact-info {
    color: var(--text-gray-dark);
    word-break: break-all;
}

/* Footer */
.footer {
    background-color: var(--bg-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-text {
    color: var(--text-gray-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.footer-copyright {
    color: var(--text-gray-dark);
    font-size: 0.875rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-logo {
        height: 3rem;
    }

    .hero-logo-2 {
        height: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .about-grid,
    .production-category {
        grid-template-columns: 1fr;
    }

    .quality-list,
    .strategy-list,
    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

    .modal-features {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .quality-list,
    .strategy-list,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



/* Our Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.partner-logo-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.partner-logo-container img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.3s ease;
}

.partner-logo-container:hover img {
    filter: grayscale(0%) brightness(100%);
}




.category-header {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    grid-column: 1 / -1; /* Span across all columns */
}

@media (max-width: 768px) {
    .category-header {
        font-size: 1.5rem;
    }
}
