:root {
    --primary-color: #2C3E50;
    --accent-color: #3498DB;
    --text-color: #2C3E50;
    --background-color: #F8F9FA;
}

body {
    color: var(--text-color);
    padding-top: 76px;
}

/* Navigation Styles  */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    padding: 1rem 0;
    background:  --primary-color;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.navbar.shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.95) !important;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.navbar-brand, 
.navbar .nav-link {
    color: white !important;
}

.navbar-brand:hover .nav-logo {
    transform: translateY(-2px);
}

.brand-text {
    font-weight: 500;
    font-size: 1.2rem;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 0;
}

.custom-toggler-icon {
    background-image: url('../images/share.png');
    background-size: cover;
    width: 30px; /* Adjust the width as needed */
    height: 30px; /* Adjust the height as needed */
    display: inline-block;
    position: relative; /* Position relative to allow absolute positioning of the overlay */
}

.contact-link {
    background-color: var(--accent-color);
    border-radius: 6px;
    margin-left: 0.5rem;
}

.contact-link:hover {
    background-color: #2980b9;
}

.contact-link::after {
    display: none;
}

/* Spacer for fixed navbar */
.nav-spacer {
    height: 80px; /* Adjust this value to match your navbar height */
}

/* Hero Carousel */

.carousel-item {
    height: 600px;
    background-color: #000;
}

.carousel-item img,
.carousel-item video {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 20%;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption img {
    height: 100%;
    width: 100%;
    filter: brightness(1);
}

.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Overpass', sans-serif;
    font-weight: 900;
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: right;
    font-family: 'Overpass', sans-serif;
    font-style: italic;
    font-weight: 500;
}

.carousel-caption .btn {
    margin-top: 0.5rem;
    text-shadow: none;
}

.carousel-indicators {
    margin-bottom: 3rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}


/* Mission Statement */
.mission-statement {

    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 3rem 0;
    margin: 0;
}

.mission-text {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 0;
}

.mission-text .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.mission-description {
    max-width: 900px;
    margin: 0 auto;
}

.mission-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.mission-description p:last-child {
    margin-bottom: 0;
}



/* Info Sections Styling */
.info-section {
    padding: 5rem 0;
}

.info-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.info-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-section .card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.info-section .card-title {
    color: var(--primary-color);
    font-weight: 500;
}

.info-section .card-text {
    color: #666;
    line-height: 1.4;
}

.info-image-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}

.info-image-wrapper:hover {
    transform: translateY(-10px);
}

.info-content {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-list strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-list p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.manufacturing-item h3 {
    color: var(--primary-color);
    position: relative;
    padding-left: 1.5rem;
}


.manufacturing-item p {
    color: #666;
    padding-left: 1.5rem;
}

.info-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Service Cards */
.services {
    position: relative;
    background-image: url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.services .container {
    position: relative;
    z-index: 2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Adjust height as needed */
    background: linear-gradient(to top, 
        rgb(44, 62, 80), /* Your primary color solid at bottom */
        rgba(220, 220, 220, 0.3) /* Light color with opacity at top */
    );
    pointer-events: none; /* Allows clicking through the overlay */
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(44, 62, 80); /* Using the primary color with opacity */
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services h2 {
    color: white;
    margin-bottom: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;

}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card .card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card ul {
    margin: 1rem 0;
    padding: 0;
    list-style-position: inside;
}

.service-card ul li {
    padding: 0.5rem 0;
     margin-left: 20px;
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* Market Items */
.market-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.market-item:hover {
    transform: translateY(-3px);
}

/* Client Logos */
.client-logo {
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.client-logo:hover {
    color: var(--accent-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
}

/* Custom Button Styling */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 2rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* About Page Specific */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.rounded-circle {
    border: 3px solid var(--accent-color);
    padding: 5px;
}

/* Project Gallery */
.project-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.project-card:hover .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front,
.project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.project-card-front {
    background-color: var(--primary-color);
}


.project-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    text-align: left;
}

.project-card-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    text-align: left;
}

.project-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card-back h3 {
    margin-bottom: 1rem;
}

.project-card-back h4 {
    text-align: left;
}

.project-card-back ul {
    margin: 1rem 0;
    text-align: left;
    width: 100%;
}

.project-card-back li {
    margin-bottom: 0.5rem;
}

/* Filter Buttons */
.btn-group .btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
}

.btn-group .btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.learn-more-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.learn-more-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.learn-more-link:hover {
    color: var(--accent-color);
}

.learn-more-link:hover::after {
    width: 100%;
}

.learn-more-link .arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-link:hover .arrow {
    transform: translateX(5px);
}

.play-video-btn {
    background-color: #007bff; /* Change to your desired color */
    color: #fff; /* Text color */
    border: none; /* Remove border */
    padding: 10px 20px; /* Add padding */
    font-size: 16px; /* Increase font size */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition */
    display: inline-block; /* Ensure it behaves like a button */
    text-align: center; /* Center text */
}

.play-video-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    color: #fff; /* Ensure text remains white */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 0 10%;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-item {
        height: 250px; 
    }

    .carousel-indicators {
        bottom: 10px; 
        margin-bottom: 0; 
    }

    .play-video-btn {
        padding: 8px 16px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .market-item {
        padding: 0.75rem 1.5rem;
    }

    .mission-text {
        font-size: 1.8rem;
    }
    
    .mission-description p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .info-section .card-body {
        flex-direction: column;
    }
    
    .info-section .card img {
        width: 100%;
        height: 120px;
    }
    
    .info-section .d-flex {
        flex-direction: column;
    }

    .info-image-wrapper img {
        height: 100%;
    }
    
    .manufacturing-item {
        margin-bottom: 1.5rem;
    }
    .manufacturing-item h3 {
        color: var(--primary-color);
    }
    
    .manufacturing-item p {
        color: #666;
    }
    

    .client-logo {
        margin: 1rem;
    }

    .project-card {
        height: 250px;
    }
    
    .project-card-back {
        padding: 1rem;
    }
    
    .project-card-back h3 {
        font-size: 1.25rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .contact-link {
        margin: 0.5rem 0;
        text-align: center;
    }



}





