/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #1a1a1a; /* Dark background as a fallback */
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0px;
    margin-top: 0px;
    justify-content: flex-start; /* Ensures the content starts at the top */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-left h1 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 2px;
}

.nav-right a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

.nav-right a:hover {
    color: #00aaff; /* Highlight color on hover */
}

/* Main Page Content */
.main-content {
    background: url('background-image.jpg') no-repeat center center/cover; /* Replace with your image path */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: calc(100vh - 100px); /* Adjust height to fill viewport minus navbar */
    padding: 20px;
}

.main-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00aaff;
}

.main-content p {
    max-width: 800px;
    line-height: 1.8;
    font-size: 18px;
    margin: 0 auto;
}

/* About Us Section */
.about-content {
    max-width: 1200px;
    margin: 40px auto; /* Add space above and below */
    text-align: center;
    padding: 20px;
    padding-top: 0px;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #00aaff;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: left; /* Left-align the paragraphs */
}

.capabilities h3 {
    font-size: 22px;
    margin-top: 30px;
    color: #00aaff;
    text-align: left; /* Left-align subheadings */
}

/* Capabilities Section */
.capabilities ul {
    list-style-type: disc;
    text-align: left;
    margin: 20px 0;
    padding-left: 40px; /* Add padding for list items */
}

.capabilities p {
    text-align: left;
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Catalog Section */
.catalog-content {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

.catalog-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #00aaff;
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Create 4 columns */
    grid-template-rows: repeat(2, auto); /* Create 2 rows */
    gap: 20px;
    padding: 20px;
}

.catalog-item {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.catalog-item img {
    width: 100%;
    border-radius: 8px;
}

.catalog-item h3 {
    margin-top: 10px;
    color: #00aaff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr); /* Adjust to 2 columns on smaller screens */
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr; /* Adjust to 1 column on very small screens */
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    width: 60%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}
.modal-image {
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-image.enlarged {
    transform: scale(1.7); /* Adjust the scale as needed */
}

/* Modal overlay for background and centering */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Show modal when class 'show' is added */
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Enlarged image in the modal */
.modal-overlay img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
}



/* Enlarged image */
.enlarged {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    cursor: pointer;
}

.close {
    color: #fff;
    float: right;
    font-size: 2rem;
    cursor: pointer;
    text-align: end;
}

.close:hover {
    color: #00aaff;
}

/* Modal Body */
#modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#modal-body img {
    width: 200px;
    border-radius: 8px;
    flex: 20%;
}
/* Contact Page Styles */
.contact-content {
    max-width: 1000px;
    margin: 20px auto;
    margin-bottom: 500px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    text-align: left;
    color: #fff;
    line-height: 1.8; /* Improved line spacing for readability */
}

.contact-content h2 {
    font-size: 50px;
    text-align: center;
    color: #00aaff;
}

.contact-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 18px;  /* Increase the base font size slightly */
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    margin-bottom: 10px;
    color: #00aaff;
    font-size: 22px;  /* Slightly larger subheadings */
}

.contact-info p {
    font-size: 18px; /* Increase font size of general text */
    margin-bottom: 15px;
    line-height: 1.6; /* Add space between lines */
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 16px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

textarea {
    resize: vertical;
}

button {
    margin-top: 20px;
    padding: 10px;
    background-color: #00aaff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0088cc;
}




/* Hide the mobile menu by default */
.nav-right {
    display: flex;
}

.hamburger {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-right {
        display: none; /* Hide the menu links on mobile by default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #1a1a1a;
        border-radius: 8px;
        padding: 20px;
    }

    .hamburger {
        display: block; /* Show hamburger icon on mobile */
        cursor: pointer;
        font-size: 24px;
        color: #fff;
    }

    .nav-right.show-nav {
        display: flex; /* Show the menu when toggled */
    }

    .nav-right a {
        margin: 10px 0;
    }
}

/* References Grid Styling */
.references-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Style for the company names in the references grid */
.reference-logo-container {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-size: 18px;         /* Increase font size */
    font-weight: bold;       /* Make text bold */
    color: #000;             /* Set text color to black */
    text-align: center;
    font-family: 'Arial', sans-serif;  /* Optional: more modern font */
    padding: 10px;
}

/* Add hover effect to make the interaction feel dynamic */
.reference-logo-container:hover {
    background-color: #f0f0f0;  /* Slightly lighter background on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}