/* General body styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #393d6e;  
}

/* Header styles */
.header {
    background-color: #191f5e; 
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.header .logo {
    width: 150px;
    margin-right: 20px;
}

h1 {
    margin: 0;
    font-size: 24px;
    flex-grow: 1;
    text-align: center;
}

/* Tab styles */
.tabs {
    overflow: hidden;
    background-color: #393d6e;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align tabs to the start (left) */
    flex-wrap: wrap; /* Allow the tabs to wrap onto the next line on small screens */
    padding-left: 20px; /* Padding for the first tab */
}

.tablinks, .tablinks:link, .tablinks:visited {
    padding: 14px 16px;
    font-size: 17px;
    color: white;
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    display: block;
    white-space: nowrap; /* Prevent the text from wrapping */
}

.tablinks:hover, .tablinks.active {
    background-color: #393d6e; 
    color: #333;
}

/* Tab content styles */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: white;
}

/* Grid container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* three columns */
    gap: 20px;
    padding: 20px;
    margin: auto; /* center the grid */
    max-width: 1200px; /* maximum width of the grid */
}

/* Card styles */
.card {
    background-color: #ffffff;
    color: black;
    border: 1px solid #ddd;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive layout for grid */
@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* two columns for medium screens */
    }
}

@media screen and (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr; /* one column for small screens */
    }
}

/* Section title styles */
.section-title {
    text-align: center; /* Center the text */
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
    position: relative; /* Position relative for the pseudo-element line */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%; /* Position the line in the center */
    bottom: -10px;
    width: 100%; /* Full width line */
    height: 1px;
    background-color: #ddd; /* Line color */
    transform: translateX(-50%); /* Center the line */
}

/* Environment notes styles */
.environment-notes {
    padding: 15px;
    background-color: #e8e8e8;
    text-align: center;
    color: red;
    font-weight: bold;
    display: flex;
    justify-content: center; /* Center content */
    align-items: center; /* Align items vertically */
    margin: 20px 0; /* Margin top and bottom */
    border-top: 1px solid #ccc; /* Top border */
    border-bottom: 1px solid #ccc; /* Bottom border */
}

/* Red text box removed */
.red-text-box {
    display: none;
}
