/* CSS Variables for Consistency */
:root {
    --primary-color: #123769;
    --secondary-color: #03396C;
    --accent-color: #FF9800;
    --accent-color-dark: #E68900; /* Darker shade for hover states */
    --light-gray: #f9f9f9;
    --dark-gray: #333;
    --font-primary: 'Futura', sans-serif;
    --font-heading: 'Futura', sans-serif;
    --font-body: var(--font-primary);
}

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

/* Body Styles */
body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: #fff;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.logo img {
    max-height: 50px;
}

/* Navigation Styles */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    position: relative; /* For positioning the dropdown */
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    padding: 15px 20px;
    display: block;
    font-family: var(--font-body);
    transition: color 0.3s;
}

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

.cta-button {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--accent-color-dark);
}

/* Dropdown Menu Styles */
.nav-links .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the parent li */
    left: 0;
    background-color: #fff;
    min-width: 200px;
    padding: 10px;
    margin: 0;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-links .dropdown-menu li {
    width: 100%;
}

.nav-links .dropdown-menu li a {
    padding: 12px 16px;
    color: #333;
}

.nav-links .dropdown-menu li a:hover {
    background-color: var(--light-gray);
}

/* Show dropdown on hover */
.nav-links li.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Adjust the dropdown toggle style */
.nav-links .dropdown-toggle::after {
    content: '';
    font-size: 0.8em;
}

.nav-links .dropdown-toggle {
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none; /* Hidden by default, shown when menu is toggled */
        position: absolute;
        top: 60px; /* Adjust to match your header height */
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

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

    .nav-links li {
        width: 100%;
        margin-left: 0;
    }

    .nav-links li a {
        padding: 15px;
        border-bottom: 1px solid #ccc;
    }

    .nav-links .dropdown-menu {
        position: static;
        box-shadow: none;
    }

    .nav-links .dropdown-menu li a {
        padding-left: 30px; /* Indent submenu items */
    }

    /* Show dropdown on click for mobile */
    .nav-links li.dropdown > .dropdown-menu {
        display: none;
    }

    .nav-links li.dropdown.active > .dropdown-menu {
        display: block;
    }
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show hamburger menu on mobile */
    }
}
/* Menu Toggle Active State */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* Root Page Hero Section */
.hero {
    background: url('../Media/stock/Machine-animated-banner.png') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Hero Careers Section */
.careers-hero {
    background: url('../Media/stock/Tool-Closeup.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.careers-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.careers-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.careers-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.careers-hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Hero Subpage Section */
.hero-subpage {
    margin-top: 20px;
    padding: 60px 0;
    background-color: #123769;
}

.hero-subpage-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 50%;
    padding: 20px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-text p {
    font-family: var(--font-body);
    color: #ffffff;
    line-height: 1.6;
}

.hero-text ul {
    font-family: var(--font-body);
    color: #E9E9EA;
    line-height: 1.6;
}

.hero-image {
    flex: 1 1 45%;
    padding: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-subpage-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-image {
        flex: 1 1 100%;
    }

    .hero-image {
        order: -1; /* Display image above text on mobile */
    }
}

/* Buttons */
.btn,
.button,
input[type="submit"] {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover,
.button:hover,
input[type="submit"]:hover {
    background-color: var(--accent-color-dark);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input[type="submit"]:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

/* Services Section */
.services-section {
    padding: 60px 0;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Service Item Styles */
.service-item {
    position: relative;
    overflow: hidden;
    color: #fff;
    flex: 1 1 calc(33% - 40px);
    max-width: calc(33% - 40px);
    border-radius: 8px;
    margin: 10px;
    transition: transform 0.3s;
}

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

/* Image Styling */
.service-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Content Styling */
.service-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-content a {
    align-self: flex-start;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.service-content a:hover {
    background-color: var(--accent-color-dark);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .service-item {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-content {
        padding: 15px;
    }

    .service-content a {
        padding: 8px 12px;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }
}

/* Industries Section */
.industries-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.industries-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Logos Container */
.logos-container {
    overflow: hidden;
    width: 100%;
}

.logo-row {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px; /* Space between rows */
    height: 120px; /* Adjust based on logo size */
}

.logo-slide {
    display: flex;
    position: absolute;
    width: 300%; /* Triple the width for duplicated content */
}

.logo-slide img {
    max-height: 100px; /* Adjust as needed */
    margin: 0 20px;
    transition: transform 0.3s;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-slide img:hover {
    transform: scale(1.1);
}

/* Animation for Top Row */
.top-row .logo-slide {
    animation: scroll-left 45s linear infinite;
}

/* Animation for Bottom Row */
.bottom-row .logo-slide {
    animation: scroll-right 45s linear infinite;
    transform: translateX(-66.66%); /* Start shifted left by 66.66% */
}

/* Keyframes for Scrolling Left */
@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-66.66%);
    }
}

/* Keyframes for Scrolling Right */
@keyframes scroll-right {
    from {
        transform: translateX(-66.66%);
    }
    to {
        transform: translateX(0%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-slide img {
        max-height: 80px;
        margin: 0 10px;
    }

    .logo-row {
        height: 100px;
    }
}

/* About Us Section */
section.about-section .about-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section.about-section .about-image {
    flex: 1 1 50%;
    max-width: 50%;
}

section.about-section .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

section.about-section .about-content {
    flex: 1 1 50%;
    max-width: 50%;
}

section.about-section .about-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
}

section.about-section .about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

section.about-section .about-content .btn {
    text-decoration: none;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

section.about-section .about-content .btn:hover {
    background-color: var(--accent-color-dark);
}

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

    section.about-section .about-image,
    section.about-section .about-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    section.about-section .about-content h2 {
        margin-top: 20px;
    }
}

/* Certifications Section */
.certifications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.certifications-container img {
    max-height: 100px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-gray);
    padding: 50px 0;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Swiper Styles */
.testimonials-carousel {
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.testimonials-carousel .swiper-slide {
    display: flex;
    height: auto;
    justify-content: center;
    align-items: center;
}

.testimonials-carousel blockquote {
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.testimonials-carousel footer {
    margin-top: 10px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    position: fixed;
    margin-top: 0px;
    margin-bottom: -10px;
    z-index: 1000;
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    top: 50%; /* Vertically center the arrows */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10%;
    color: #fff;
}

/* Blog Section */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.blog-container article {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 calc(33% - 40px);
    max-width: calc(33% - 40px);
    transition: transform 0.3s;
}

.blog-container article:hover {
    transform: translateY(-5px);
}

.blog-container h3 {
    margin-bottom: 15px;
}

.blog-container p {
    margin-bottom: 20px;
}

.blog-container a.read-more {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: bold;
}

.blog-container a.read-more:hover {
    text-decoration: underline;
}


/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    flex: 1 1 30%;
}

.footer-left .footer-logo img {
    max-height: 50px;
    margin-bottom: 10px;
}

.footer-left p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-right {
    flex: 1 1 70%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-right: 30px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    font-size: 0.9rem;
    text-align: right;
    margin-right: 30px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a img {
    height: 36px;
    transition: opacity 0.3s;
}

.footer-social a:hover img {
    opacity: 0.8;
}

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

    .footer-left,
    .footer-right {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-links,
    .footer-contact,
    .footer-social {
        margin-right: 0;
    }

    .footer-contact {
        margin-top: 10px;
    }

    /* Hero Section Adjustments */
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
} /* Closing brace for @media (max-width: 768px) */

/* Machines Carousel Section */
.machines-carousel-section {
    padding: 60px 0;
    background-color: var(--white);
}

.machines-carousel-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.machine-tile {
    text-align: center;
    position: relative;
}

.machine-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.machine-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.machine-tile h3 {
    margin-top: 15px;
    font-family: var(--font-body);
    color: var(--dark-gray);
}

/* Hover Effect */
.machine-tile:hover .machine-image img {
    transform: scale(1.05);
}

/* Pop-up Window Styles */
.machine-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 10;
    text-align: left;
    font-family: var(--font-body);
    color: var(--dark-gray);
}

.machine-tile:hover .machine-popup {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.machine-popup h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.machine-popup p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Overlay to Darken Background When Pop-up is Active */
.machine-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 5;
}

.machine-tile:hover::before {
    opacity: 1;
}

/* Adjust Swiper Pagination Position */
.machines-carousel .swiper-pagination {
    position: static;
    margin-top: 20px; /* Adjust as needed for spacing */
    text-align: center;
}

/* Adjust Swiper Navigation Buttons Position */
.machines-carousel .swiper-button-prev,
.machines-carousel .swiper-button-next {
    top: 50%; /* Vertically center the arrows */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    z-index: 10;
}

.machines-carousel .swiper-button-prev {
    left: 0px;
}

.machines-carousel .swiper-button-next {
    right: 0px;
}

/* Adjust for small screens */
@media (max-width: 768px) {
    .machines-carousel .swiper-button-prev,
    .machines-carousel .swiper-button-next {
        display: none; /* Hide arrows on small screens if desired */
    }
}

/* General Form Styles */
form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="file"] {
    padding: 5px;
}

textarea {
    height: 100px;
    resize: vertical;
}

/* Add focus state for inputs */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}



/* Contact Section Styles */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-details {
    flex: 1 1 40%;
}

.contact-details h2 {
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-info li {
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a img {
    height: 46px;
}


.contact-map {
    flex: 1 1 55%;
}

.contact-map iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);

}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-group {
        flex: 1 1 100%;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-details,
    .contact-map {
        flex: 1 1 100%;
    }
}

/* Quote Section Styles */
.quote-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.quote-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.quote-text {
    flex: 1 1 50%;
    max-width: 50%;
    order: 1;
    margin-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-text h2 {
    font-family: var(--font-heading);
    color: #ffffff; /* Default primary color */
	font-size: 2.5rem;
    margin-bottom: 20px;
}

.quote-text p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Restyled Quote Form */
.quote-form {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
    order: 2;
    background-color: transparent;
    padding: 50px;
    border-radius: 10px;
}

.quote-form form {
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 15px);
    display: flex;
    flex-direction: column;
    position: relative; /* For icons and validation messages */
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group label span {
    color: red;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 83, 156, 0.2);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

button.btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button.btn:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 83, 156, 0.3);
}

/* Add a subtle animation to the button */
button.btn:active {
    transform: translateY(2px);
}

.form-group .validation-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none; /* Hidden by default */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .quote-content {
        flex-direction: column;
        align-items: center;
    }

    .quote-text,
    .quote-form {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: unset;
    }

    .quote-form {
        margin-top: 40px;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

/* Additional Styling */
.quote-form h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.quote-form .form-group.required::after {
    content: '*';
    color: red;
    position: absolute;
    right: 10px;
    top: 35px;
}

input[type="file"] {
    padding: 5px;
    font-size: 0.95rem;
}

input[type="file"]::-webkit-file-upload-button {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background-color: var(--secondary-color);
}

/* Tooltip for file input */
.form-group .file-tooltip {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Adjust placeholder color for better visibility */
::placeholder {
    color: #bbb;
}

/* Jobs Section */
.jobs-section {
    padding: 60px 0;
}

.jobs-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Filters */
.job-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
    font-size: 1rem;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Job Tiles Container */
.job-tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Job Tile */
.job-tile {
    position: relative;
    width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-tile-inner {
    position: relative;
}

.job-image img {
    width: 100%;
    height: auto;
    display: block;
}

.job-title {
    padding: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
    text-align: center;
}

.job-banner {
    position: absolute;
    top: 15px;
    left: -50px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 60px;
    transform: rotate(-45deg);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.job-banner.full-time {
    background-color: #28a745; /* Green */
}

.job-banner.part-time {
    background-color: #17a2b8; /* Blue */
}

.job-banner.internship {
    background-color: #ffc107; /* Yellow */
}

.job-banner.temporary {
    background-color: #dc3545; /* Red */
}

/* Pop-up Description */
.job-popup {
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999; /* Ensure the pop-up is above other elements */
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.job-popup.active {
    display: flex;
    opacity: 1;
}

.job-popup .popup-content {
    background-color: #fff;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    max-height: 80%;
    box-sizing: border-box;
    z-index: 10000; /* Higher than the overlay */
}

.popup-content h3 {
    margin-top: 0;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.popup-content p,
.popup-content ul {
    margin-bottom: 20px;
    color: #555;
}

.popup-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .job-tile {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .job-tile {
        width: 100%;
    }

    .job-banner {
        left: -40px;
        padding: 5px 50px;
    }
}


/* General Section Styling */
section {
    padding: 60px 0;
}

section.alternate {
    background-color: var(--light-gray);
}


/* Tombstone Section */

.tombstone-section .tombstone-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.tombstone-section .carousel-container,
.tombstone-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    
}

/* Carousel Container */
.tombstone-section .carousel-container {
    order: 2; /* Carousel on the right */
}

/* Text Content */
.tombstone-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1; /* Text on the left */
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
    text-align: left; /* Left-align text */
}

/* Ensure images are responsive */
.tombstone-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styling */
.tombstone-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.tombstone-section .swiper-wrapper {
    align-items: center;
}

.tombstone-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.tombstone-section .tile {
    text-align: center;
}

.tombstone-section .tile img {
    max-width: 500px;
    height: auto;
	max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.tombstone-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.tombstone-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.tombstone-section .swiper-button-next,
.tombstone-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.tombstone-section .swiper-button-next {
    right: 10px;
}

.tombstone-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .tombstone-section .tombstone-content {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
    }

    .tombstone-section .carousel-container,
    .tombstone-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .tombstone-section .swiper-button-next,
    .tombstone-section .swiper-button-prev {
        display: none; /* Hide navigation arrows on small screens */
    }
}


/* Gaging Section */

.gaging-section .gaging-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.gaging-section .carousel-container,
.gaging-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Carousel Container */
.gaging-section .carousel-container {
    order: 1; /* Carousel on the left */
}

/* Text Content */
.gaging-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2; /* Text on the right */
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
    text-align: left; /* Left-align text */
}

/* Ensure images are responsive */
.gaging-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styling */
.gaging-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.gaging-section .swiper-wrapper {
    align-items: center;
}

.gaging-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.gaging-section .tile {
    text-align: center;
}

.gaging-section .tile img {
    max-width: 500px;
    height: auto;
	max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.gaging-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.gaging-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.gaging-section .swiper-button-next,
.gaging-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.gaging-section .swiper-button-next {
    right: 10px;
}

.gaging-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gaging-section .gaging-content {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
    }

    .gaging-section .carousel-container,
    .gaging-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .gaging-section .swiper-button-next,
    .gaging-section .swiper-button-prev {
        display: none; /* Hide navigation arrows on small screens */
    }
}

/* Workholding Section */

.workholding-section .workholding-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.workholding-section .carousel-container,
.workholding-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Carousel Container */
.workholding-section .carousel-container {
    order: 1;
}


/* Text Content */
.workholding-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 2;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Ensure images are responsive */
.workholding-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove any centering styles from text content */
.workholding-section .text-content {
    margin: 0;
    text-align: left;
}


/* Carousel Styling */
.workholding-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.workholding-section .swiper-wrapper {
    align-items: center;
}

.workholding-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.workholding-section .tile {
    text-align: center;
}

.workholding-section .tile img {
    width: 100%;
    max-width: 500px;
    height: auto;
	max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.workholding-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.workholding-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.workholding-section .swiper-button-next,
.workholding-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.workholding-section .swiper-button-next {
    right: 10px;
}

.workholding-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .workholding-section .workholding-content {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
    }

    .workholding-section .carousel-container,
    .workholding-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .workholding-section .swiper-button-next,
    .workholding-section .swiper-button-prev {
        display: none; /* Hide navigation arrows on small screens */
    }
}

/* Mold Castings Section */

.mold-castings-section .mold-castings-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.mold-castings-section .carousel-container,
.mold-castings-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Carousel Container */
.mold-castings-section .carousel-container {
    order: 1; /* Carousel on the left */
}

/* Text Content */
.mold-castings-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2; /* Text on the right */
    text-align: left;
}

/* Center the h2 header */
.mold-castings-section .text-content h2 {
    text-align: center;
    width: 100%;
}

/* Ensure images are responsive */
.mold-castings-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styling */
.mold-castings-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.mold-castings-section .swiper-wrapper {
    align-items: center;
}

.mold-castings-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.mold-castings-section .tile {
    text-align: center;
}

.mold-castings-section .tile img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.mold-castings-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.mold-castings-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.mold-castings-section .swiper-button-next,
.mold-castings-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.mold-castings-section .swiper-button-next {
    right: 10px;
}

.mold-castings-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .mold-castings-section .mold-castings-content {
        flex-wrap: wrap;
    }

    .mold-castings-section .carousel-container,
    .mold-castings-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .mold-castings-section .swiper-button-next,
    .mold-castings-section .swiper-button-prev {
        display: none;
    }
}

/* Pattern & Corebox Section */

/* Override container width */

.pattern-corebox-section .pattern-corebox-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.pattern-corebox-section .carousel-container,
.pattern-corebox-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Carousel Container */
.pattern-corebox-section .carousel-container {
    order: 2; /* Carousel on the right */
}

/* Text Content */
.pattern-corebox-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 1; /* Text on the left */
    text-align: left;
}

/* Center the h2 header */
.pattern-corebox-section .text-content h2 {
    text-align: center;
    width: 100%;
}

/* Ensure images are responsive */
.pattern-corebox-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styling */
.pattern-corebox-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.pattern-corebox-section .swiper-wrapper {
    align-items: center;
}

.pattern-corebox-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.pattern-corebox-section .tile {
    text-align: center;
}

.pattern-corebox-section .tile img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.pattern-corebox-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.pattern-corebox-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.pattern-corebox-section .swiper-button-next,
.pattern-corebox-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.pattern-corebox-section .swiper-button-next {
    right: 10px;
}

.pattern-corebox-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .pattern-corebox-section .pattern-corebox-content {
        flex-wrap: wrap;
    }

    .pattern-corebox-section .carousel-container,
    .pattern-corebox-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .pattern-corebox-section .swiper-button-next,
    .pattern-corebox-section .swiper-button-prev {
        display: none;
    }
}

/* Build-to-Print Services Section */

.build-to-print-section .build-to-print-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.build-to-print-section .carousel-container,
.build-to-print-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Carousel Container */
.build-to-print-section .carousel-container {
    order: 1; /* Carousel on the left */
}

/* Text Content */
.build-to-print-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 2; /* Text on the right */
    text-align: left;
}

/* Center the h2 header */
.build-to-print-section .text-content h2 {
    text-align: center;
    width: 100%;
}

/* Ensure images are responsive */
.build-to-print-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styling */
.build-to-print-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.build-to-print-section .swiper-wrapper {
    align-items: center;
}

.build-to-print-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.build-to-print-section .tile {
    text-align: center;
}

.build-to-print-section .tile img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.build-to-print-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.build-to-print-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.build-to-print-section .swiper-button-next,
.build-to-print-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.build-to-print-section .swiper-button-next {
    right: 10px;
}

.build-to-print-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .build-to-print-section .build-to-print-content {
        flex-wrap: wrap;
    }

    .build-to-print-section .carousel-container,
    .build-to-print-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .build-to-print-section .swiper-button-next,
    .build-to-print-section .swiper-button-prev {
        display: none;
    }
}

/* Prototyping Section */

.prototyping-section .prototyping-content {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
	width: 100;
    padding: 0;
    margin: 0 auto;
}

/* Carousel and Text Content */
.prototyping-section .carousel-container,
.prototyping-section .text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Carousel Container */
.prototyping-section .carousel-container {
    order: 2; /* Carousel on the right */
}

/* Text Content */
.prototyping-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 1; /* Text on the left */
    text-align: left;
}

/* Center the h2 header */
.prototyping-section .text-content h2 {
    text-align: center;
    width: 100%;
}

/* Ensure images are responsive */
.prototyping-section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styling */
.prototyping-section .swiper {
    width: 100%;
    padding-bottom: 40px; /* Space for navigation arrows */
}

.prototyping-section .swiper-wrapper {
    align-items: center;
}

.prototyping-section .swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tile Styles */
.prototyping-section .tile {
    text-align: center;
}

.prototyping-section .tile img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

.prototyping-section .tile h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.prototyping-section .tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows */
.prototyping-section .swiper-button-next,
.prototyping-section .swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.prototyping-section .swiper-button-next {
    right: 10px;
}

.prototyping-section .swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .prototyping-section .prototyping-content {
        flex-wrap: wrap;
    }

    .prototyping-section .carousel-container,
    .prototyping-section .text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .prototyping-section .swiper-button-next,
    .prototyping-section .swiper-button-prev {
        display: none;
    }
}

/* Form Validation */
.validation-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Adjusted iframe container */
.quote-form .iframe-container {
    width: 100%;
    height: auto;
}

.quote-form iframe {
    border: 0;
    width: 100%;
    height: 650px; /* Ensure this matches the iframe's height attribute */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Aerospace Section Styles */
.aerospace-section1,
.aerospace-section2 {
    padding: 60px 0;
}

.aerospace-section2.alternate {
    background-color: var(--light-gray); /* Alternate background color */
}

.aerospace-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}

.aerospace-content .text-content,
.aerospace-content .carousel-container {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.aerospace-content .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aerospace-content .text-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.aerospace-content .text-content p {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
}

.aerospace-content .carousel-container {
    position: relative;
}

.tile {
    text-align: center;
}

.tile img {
    max-width: 100%;
	max-height: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tile h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.tile p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 80%;
    margin: 0 auto;
}

/* Swiper Navigation */
.aerospace-section1 .swiper-button-next,
.aerospace-section1 .swiper-button-prev,
.aerospace-section2 .swiper-button-next,
.aerospace-section2 .swiper-button-prev {
    color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .aerospace-content {
        flex-wrap: wrap;
    }

    .aerospace-content .text-content,
    .aerospace-content .carousel-container {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .aerospace-section2 .text-content {
        order: 2;
    }
}