* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* hides unwanted horizontal scroll */
    width: 100%;
}


.background-blue {
    background: linear-gradient(to right bottom, #000000, #003f7d);
}

.navbar {
    margin-bottom: 30px;
    padding: 10px 20px;
}

.navbar-brand {
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    margin-left: 30px;
    margin-right: 40px;
}

.navbar-brand span {
    margin-top: 5px;
    color: white;
    font-size: 25px;
    align-items: center;
}

.navbar-brand img {
    height: 45px;
    width: 45px;
    margin-right: 8px;
}

@media (max-width:1024px) {

    .navbar-brand span,
    .ue-logo {
        margin-bottom: 30px !important;
    }

    .navbar-toggler-icon {
        filter: invert(100%) brightness(200%);
    }
}

.nav-link {
    color: white !important;
    font-size: 17px;
}

.navbar-nav .nav-item {
    margin-right: 15px;
    /* Adjust as needed */
}

.nav-link.active {
    font-weight: bold;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: Smooth transition */
.dropdown-menu {
    display: none;
    transition: all 0.3s ease-in-out;
}

.btn-phone {
    /* background-color: black; */
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    /* Subtle white border */
    border-radius: 50px;
    padding: 12px 24px;
    height: 55px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    /* Slightly bigger text */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-phone i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-phone::before {
    content: "";
    position: absolute;
    inset: 0px;
    /* Ensures border doesn't overlap */
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-phone:hover {
    background-color: #FFD700;
    color: black;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}


/* 
@media (max-width:768px) {
    .abc {
        width: 100vh !important;
    }
    .custom-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 800px !important;
        margin-left: 100px !important;
    }
    .custom-card-image{
        width:700px !important;
        height: 400px !important;
    }
}

@media (max-width:1024px) {

    .abc {
        width: 1000px !important;
    }
    .custom-card{
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 800px !important;
        margin-left: 100px !important;
    }
    .custom-card-image{
        width:700px !important;
        height: 470px !important;
    }
} */

.heading-section h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.heading-section {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

.container {
    font-size: 22px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.subtext {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 180px;
    display: block;
}

/* @media (max-width:768px) {
    .subtext {
        text-align: justify;
    }
} */

.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 5px;
    background-color: blue;
    animation: underline-animation 3s ease-in-out forwards;
}

/* Keyframes for left-to-right animation */
@keyframes underline-animation {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
        /* Start from 50px below */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

.animated-text {
    animation: slideUp 1.5s ease-out;
}
/* Custom Card Styling */
.custom-card {
    background: #F5F9FF;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    height: 650px;
    margin: auto;
    margin-top: -90px;
    border-radius: 40px;
    flex-wrap: wrap;
}

.custom-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap; /* Ensure content wraps on smaller screens */
}

.custom-card-image {
    position: relative;
    width: 100%; /* Set width to 90% of the card's width to make it smaller */
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px; /* Ensure it doesn't exceed the desired width */
    margin-bottom: 20px;
}

.custom-card-image img {
    object-fit: cover;
    border-radius: 15px;
    width: 100%; /* Makes the image responsive */
    height: 100%;
    display: block;
}


/* Mobile Responsive Styling */
@media (max-width: 767px) {
    /* Card Layout Adjustments */
    .custom-card {
        padding: 20px; /* Reduce padding on smaller screens */
        height: auto; /* Allow card height to adjust */
        margin-top: 0; /* Remove top margin on mobile */
    }

    .custom-card-content {
        gap: 15px; /* Reduce gap between image and content */
        flex-direction: column; /* Stack image and content vertically on small screens */
        text-align: center; /* Center the content */
    }

    /* Image Adjustments */
    .custom-card-image {
        max-width: 100%; /* Allow image to take full width */
        height: 300px; /* Set a fixed height for images on smaller screens */
    }

    .custom-card-image img {
        height: auto; /* Maintain aspect ratio of the image */
    }

    /* Content Styling */
    .custom-card-content h4 {
        font-size: 22px; /* Adjust heading font size on mobile */
    }

    .custom-card-content p {
        font-size: 16px; /* Adjust paragraph font size for readability */
        margin-top: 10px;
    }
}

/* Tablet to Large Screen Styling (for devices larger than 767px but smaller than 1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .custom-card {
        padding: 30px;
        height: auto; /* Allow card height to adjust */
    }

    .custom-card-content {
        gap: 25px;
        flex-direction: row;
    }

    /* Image Adjustments */
    .custom-card-image {
        max-width: 40%;
        height: 350px;
    }

    .custom-card-image img {
        height: 100%;
    }

    .custom-card-content h4 {
        font-size: 24px;
    }

    .custom-card-content p {
        font-size: 18px;
        margin-top: 15px;
    }
}

/* Large Screen Styling (1200px and up) */
@media (min-width: 1200px) {
    .custom-card {
        padding: 40px;
        height: 650px; /* Ensuring a fixed height on large screens */
    }

    .custom-card-content {
        gap: 30px;
        flex-direction: row;
    }

    /* Image Adjustments */
    .custom-card-image {
        max-width: 100%;
        height: 400px;
    }

    .custom-card-image img {
        height: 100%;
    }

    .custom-card-content h4 {
        font-size: 26px;
    }

    .custom-card-content p {
        font-size: 20px;
        margin-top: 20px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    margin-top: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #007bff; /* Blue bullet points */
    border-radius: 50%;
}

.text-muted {
    font-size: 18px;
    color: #6c757d;
}

.rounded-custom {
    border-radius: 20px; /* Rounded edges */
    width: 100%;
    height: auto;
}

/* Responsive adjustments for mobile and tablets (max-width: 767px) */
@media (max-width: 767px) {
    /* Image Section */
    .col-md-6 img {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    /* Content Section */
    .col-md-6 {
        padding-left: 0;
    }

    h4, h3 {
        font-size: 20px;
        text-align: center;
    }

    .timeline-item {
        margin-left: 0;
        margin-top: 20px;
    }

    .timeline-item h5 {
        font-size: 18px;
    }

    .text-muted {
        font-size: 16px;
    }

    .timeline {
        padding-left: 0;
    }
}

/* Responsive adjustments for medium screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    /* Image Section */
    .col-md-6 img {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Content Section */
    .col-md-6 {
        padding-left: 20px;
    }

    h4, h3 {
        font-size: 24px;
        text-align: left;
    }

    .timeline-item h5 {
        font-size: 20px;
    }

    .text-muted {
        font-size: 18px;
    }

    .timeline {
        padding-left: 0;
    }
}

/* Responsive adjustments for large screens (1200px and up) */
@media (min-width: 1200px) {
    /* Image Section */
    .col-md-6 img {
        width: 100%;
        max-width: 600px; /* Adjust width for larger screens */
        height: auto;
        margin-left: 20px;
        display: block;
    }

    /* Content Section */
    .col-md-6 {
        padding-left: 50px;
    }

    h4, h3 {
        font-size: 30px;
    }

    .timeline-item {
        margin-left: 90px;
    }

    .timeline-item h5 {
        font-size: 22px;
    }

    .text-muted {
        font-size: 20px;
    }
}



/* General styling for the machine list */
.machine-list {
    padding: 20px 0;
}

.machine-container {
    background-color: #333; /* Dark background */
    padding: 20px;
    border-radius: 10px;
}

.table-responsive-mobile {
    overflow-x: auto; /* Allows horizontal scrolling on smaller screens */
}

.table {
    width: 100%; /* Ensure the table stretches full width */
    border-collapse: collapse;
}

.table th, .table td {
    text-align: center;
    padding: 10px;
}

/* Custom table styles */
.table-striped tbody tr:nth-child(odd) {
    background-color: #444;
}

.table-dark {
    color: #fff;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table th {
    background-color: #007bff;
    color: white;
}

/* Responsive styles */
@media (max-width: 767px) {
    .machine-container {
        width: 100%; /* Take full width on smaller screens */
        padding: 10px;
    }

    .table-responsive-mobile {
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    }

    .table th, .table td {
        font-size: 14px; /* Smaller text on mobile */
        padding: 8px;
    }
}

@media (max-width: 992px) {
    .machine-container {
        width: 90%; /* Adjust the container size on medium screens */
    }

    .table th, .table td {
        font-size: 16px; /* Adjust text size for tablets */
    }
}

/* General styling for the inspection section */
.inspection-section {
    padding: 40px 0;
    background-color: #333; /* Dark background for contrast */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adding a subtle shadow for depth */
    text-align: center;
}

.inspection-section h3 {
    font-size: 2.5rem;
    color: #fff; /* Light color for the heading */
    margin-bottom: 20px; /* Space below the heading */
}

.inspection-text {
    font-size: 1.25rem; /* Medium size text */
    color: #ccc; /* Light gray text for readability */
    line-height: 1.8;
    max-width: 800px; /* Limit the width to prevent text stretching too wide */
    margin: 0 auto; /* Center align the paragraph */
    padding: 0 20px; /* Add some padding for better text flow */
}

/* Responsive styles */
@media (max-width: 767px) {
    .inspection-section {
        padding: 20px; /* Reduce padding on smaller screens */
    }

    .inspection-section h3 {
        font-size: 2rem; /* Reduce the heading size on mobile */
    }

    .inspection-text {
        font-size: 1rem; /* Smaller text on mobile */
        padding: 0 10px; /* Reduce padding on mobile */
    }
}

@media (max-width: 992px) {
    .inspection-section h3 {
        font-size: 2.2rem; /* Adjust heading size on medium screens */
    }

    .inspection-text {
        font-size: 1.1rem; /* Adjust text size for readability on tablets */
    }
}


/* Parallax Background */
.parallax-container {
    position: relative;
    width: 100%;
    height: 60vh;
    background-image: url('../assets/parallex2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
}

.parallax-content {
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better contrast */
    padding: 40px;
    color: white;
    max-width: 600px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Heading */
.parallax-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Paragraph */
.parallax-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .parallax-container {
        height: auto;
        padding: 30px 20px;
        background-attachment: scroll; /* avoid iOS issues */
    }

    .parallax-content {
        max-width: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 15px;
    }

    .parallax-content h1 {
        font-size: 24px;
    }

    .parallax-content p {
        font-size: 16px;
    }
}


.foo-bg{
    background: linear-gradient(to right bottom, #000000, #003f7d);

}
/* @media (max-width:768px) {
.foo{
    width: 1000px;
}
} */