/********** Template CSS **********/
:root {
    --primary: #008080;
    --light: #F5F5F5;
    --dark: #353535;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 100px; /* Adjust size */
    height: 100px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* WhatsApp Icon (Ensure Transparency) */
.whatsapp-button img {
    width: 100px;
    height: 100px;
    background: none; /* No background */
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

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

/* Container for Vision, Mission, and Values */
.vision-mission-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 50px auto;
    max-width: 1200px;
}

/* Styling for Each Box */
.vision-mission-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.vision-mission-box:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.icon img {
    width: 60px;
    height: 60px;
    background: #eef3e6;
    border-radius: 50%;
    padding: 10px;
}

/* Heading Styling */
h3 {
    margin-top: 15px;
    color: #2e6da4;
    font-size: 22px;
}

/* Paragraph Text */
p {
    color: #444;
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vision-mission-container {
        flex-direction: column;
        align-items: center;
    }

    .vision-mission-box {
        width: 80%;
    }
}

/* Scoped Styles for Quality Section */
.quality-section {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8f8f8;
}

.quality-container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.quality-container h2 {
    color: #0056b3;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.quality-container p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quality-highlight {
    font-weight: bold;
}

/* Image Section */
.quality-image-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.quality-image-container img {
    width: 250px;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .quality-image-container img {
        width: 90%;
        height: auto;
    }
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
    .nav-item.nav-link.active {
        color: #008080;
        font-weight: bold;
    }


@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        width: 100%;
        height: 500px; /* Adjust the height as needed */
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    width: 100%; /* Ensures the image takes the full width of the container */
    height: 250px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image is cropped properly while maintaining proportions */
    aspect-ratio: 1 / 1; 
    transition: .5s;
}

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


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

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

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}
.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 50vh; /* Adjusts height */
    object-fit: cover;
    
}
.carousel-item {
    position: relative;
}

/* Overlay to darken the image */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1;
}

/* Ensure text appears above the overlay */
.carousel-caption {
    position: relative;
    z-index: 2;
}


.carousel-caption {
    position: absolute;
    top: 40%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: #eee;
}

.contact-info {
    font-size: 1.5rem;
    color: #ffcc00;
    font-weight: bold;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Container for the grid */
.service-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

/* Styling for each service item */
.service-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Hover Animation */
.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Text Styling */
.service-item p {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    }
}

@media (max-width: 768px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    }
}

@media (max-width: 480px) {
    .service-container {
        grid-template-columns: repeat(1, 1fr); /* 1 item per row */
    }
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}
.contact-section {
    padding: 40px 20px;
}

.contact-section h2 {
    font-size: 28px;
    color: #008080;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 50px;
    padding: 20px;
    background: linear-gradient(to bottom, white, #f8f8f8);
}

.contact-box {
    flex: 1;
}

.contact-box h3 {
    font-size: 20px;
    color: #008080;
    margin-bottom: 10px;
}

.contact-box p, .contact-box a {
    font-size: 16px;
    color: black;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}
/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

#feature-section {
    padding: 40px;
    background-color: #fff;
}

/* Container Layout */
.feature-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

/* Image Styling */
#image-container img {
    max-width: 100%;
    border-radius: 10px;
    height: auto;
}

/* Feature List */
#features-list {
    flex: 1;
    padding-left: 40px;
}

/* Individual Feature Item */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Feature Icons */
.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.feature-icon img {
    width: 24px;
    height: 24px;
}

/* Feature Content */
.feature-content h3 {
    font-size: 18px;
    color: #008080;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: #444;
    margin: 0;
}

/* Unique Styles for Each Feature */
#feature-surface-finish .feature-icon {
    background-color: #d9e9ff;
}

#feature-zero-defects .feature-icon {
    background-color: #ffe9d9;
}

#feature-custom-packing .feature-icon {
    background-color: #e9ffd9;
}

#feature-timely-delivery .feature-icon {
    background-color: #ffebd9;
}

#feature-cost-reduction .feature-icon {
    background-color: #d9fff2;
}

#feature-vmi .feature-icon {
    background-color: #f2d9ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-container {
        flex-direction: column;
        text-align: center;
    }

    #features-list {
        padding-left: 0;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
    }

    .feature-icon {
        margin-bottom: 10px;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* Section Styling */
#precision-section {
    background-color: #fff;
    padding: 40px;
}

/* Container Layout */
.precision-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

/* Image Styling */
.precision-image #precision-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Content Styling */
.precision-content {
    flex: 1;
    padding-left: 40px;
}

#precision-title {
    font-size: 24px;
    color: #0d5ca8;
    margin-bottom: 10px;
}

#precision-text-1,
#precision-text-2 {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .precision-container {
        flex-direction: column;
        text-align: center;
    }

    .precision-content {
        padding-left: 0;
        margin-top: 20px;
    }
}

/* Section Styling */
#precision-manufacturing {
    text-align: center;
    background-color: #3a3737; /* Matching background color */
    padding: 50px 20px;
}

/* Section Title */
#precision-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
}

/* Container to Align Cards */
#precision-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between cards */
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* Individual Cards */
.precision-card {
    background-color: #1a1a1a; /* Dark background for contrast */
    padding: 30px;
    border-radius: 12px;
    width: 320px; /* Adjust width */
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

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

/* Icons */
#design-assistance-icon,
#shorter-lead-icon,
#integrated-manufacturing-icon {
    font-size: 40px;
    color: #f5e8c8; /* Light icon color */
    margin-bottom: 15px;
}

/* Titles inside cards */
#design-assistance-title,
#shorter-lead-title,
#integrated-manufacturing-title {
    font-size: 20px;
    font-weight: bold;
    color: #187bcd; /* Unique blue color */
    margin-bottom: 10px;
}

/* Paragraph text inside cards */
#design-assistance-text,
#shorter-lead-text,
#integrated-manufacturing-text {
    font-size: 16px;
    line-height: 1.6;
    color: #b0b0b0; /* Lighter text color */
}



/*** Footer ***/
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.footer {
    background-color: #222; /* Dark background */
    color: #fff;
    padding: 15px 0; /* Reduce padding to decrease height */
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; /* Align content properly */
}

.footer .col {
    flex: 1;
    min-width: 280px;
    padding: 10px;
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer p, 
.footer a {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

.footer .btn-link {
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
    color: #ccc;
}

.footer .btn-link:hover {
    color: #a67646;
}

.footer .btn-social {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    margin-right: 5px;
    font-size: 12px;
}

.footer .btn-social:hover {
    background-color: #008080;
    border-color: #008080;
}

/* Contact Form */
.footer .contact-form {
    display: flex;
    max-width: 350px;
}

.footer .contact-form input {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
}

.footer .contact-form button {
    padding: 6px 15px;
    background-color: #008080;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.footer .contact-form button:hover {
    background-color: #008080;
}

/* Bottom Footer */
.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #ccc;
    padding: 5px 0; /* Reduced bottom padding */
    border-top: 1px solid #444;
}

/* Remove extra margin from social icons */
.footer .d-flex {
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
        text-align: center;
    }

    .footer .btn-social {
        display: inline-block;
        margin: 5px;
    }

    .footer .contact-form {
        flex-direction: column;
    }

    .footer .contact-form input {
        margin-bottom: 5px;
    }
}
