body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    color: rgb(28, 28, 28); /* Set general text color */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.header {
    background-color: #ffffff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white; /* Ensure the background color matches your design */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
}

.logo {
    height: 100%;
    max-height: 100px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: rgb(28, 28, 28); /* Set nav link color */
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0; /* Align dropdown to the right */
}

.dropdown-content a {
    color: rgb(28, 28, 28); /* Set dropdown link color */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.main-content {
    padding: 20px;
    text-align: center;
    width: 75%; /* Set main content width to 75% */
    margin: 0 auto;
}

.main-title {
    font-size: 32px; /* Increased font size */
    margin-bottom: 20px;
    color: rgb(12, 68, 102); /* Set main title color */
}

.sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Use 1fr to make columns equal width */
    gap: 60px; /* Increased gap between sections */
    justify-content: center; /* Center the grid */
}

.section-link {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit color from parent */
}

.section {
    text-align: center;
    padding: 20px; /* Added padding inside each section */
    background-color: #f0f0f0; /* Optional: Add background color to sections for better visibility */
    border-radius: 8px; /* Optional: Add rounded corners to sections */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the top */
    align-items: center; /* Center items horizontally */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
    height: 400px; /* Set fixed height */
    width: 100%; /* Ensure full width within grid column */
}

.section img {
    align-self: flex-start; /* Align image to the top */
    margin-top: 0; /* Remove top margin */
}

.section:hover {
    transform: scale(1.05); /* Scale up on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.section h3 {
    margin: 0;
    padding: 10px 0;
    color: rgb(12, 68, 102); /* Set section title color */
}

.section p {
    margin: 0;
    padding: 10px 0;
    color: rgb(28, 28, 28); /* Set section text color */
}

.section img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    align-self: center;
    margin-top: auto;
}

.footer {
    background-color: #f1f1f1; /* Ensure the background color matches your design */
    padding: 10px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    color: rgb(28, 28, 28); /* Set footer text color */
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer a {
    color: #0000EE; /* Set link color to regular blue */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

h1 {
    margin: 0;
}

nav a:hover {
    background: #e8491d;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #35424a;
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
}

main {
    flex: 1;
}

/* Add styles for the company table layout */
.company-table {
    width: 100%;
}

.company-image-cell {
    width: 40%;
    vertical-align: top;
}

.company-image {
    width: 100%;
    height: auto;
}

.company-text-cell {
    width: 60%;
    vertical-align: top;
    text-align: left;
}

.company-title,
.company-registration,
.company-description,
.company-contact {
    text-align: left;
}