/* Global Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* Light grey background */
    color: #000; /* Default text color */
}

/* Header Styles */
header {
    background-image: url('header-background.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    backdrop-filter: blur(5px); /* Apply blur effect */
    z-index: 0;
}

header h1, header p {
    position: relative;
    z-index: 1;
}

/* Sticky Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: gold;
    padding: 10px 0;
    top: 0;
    z-index: 1000; /* Keeps the nav above other content */
}

nav a {
    color: black;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background-color: black; /* Color of the underline bar */
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
    transform-origin: left;
}

nav a:hover {
    color: navy;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* Light grey background */
    color: #000; /* Default text color */
}

#overview{
    text-align: center;
    padding-top: 3%;
}

/* Header and Navigation styles remain unchanged */

/* Main content styles */
.content {
    padding: 20px;
}

button{
    background-color: #2355a6;
    color: white;
    border-radius: 1vw;
    border: #2355a6;
    width: 20vw;
    height: 5vh;;
}

button:hover{
    background-color: #7aadff;
}

.section {
    display: flex;
    align-items: center;
    margin: 40px 0;
    flex-direction: var(--flex-direction, row); /* Default to row */
}

/* Use CSS custom properties (variables) to set direction based on the --image-position value */
.section {
    flex-direction: row; /* Default */
}

.section[style*="--image-position: left;"] {
    flex-direction: row;
}

.section[style*="--image-position: right;"] {
    flex-direction: row-reverse;
}

.image-placeholder {
    background-color: #d3d3d3; /* Light grey placeholder for images */
    width: 50%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    overflow: hidden; /* Ensures that the image does not overflow the placeholder */
}

.image-placeholder img {
    width: auto;  /* Makes the image fill the width of the placeholder */
    height: auto; /* Maintains the aspect ratio of the image */
    max-height: 100%; /* Ensures that the image fits within the height of the placeholder */
}


.description {
    width: 50%;
    padding: 0 20px;
}

/* Footer Styles remain unchanged */

/* Footer Styles */
footer {
    background-color: black;
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
}
.scrolling-section {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    margin-left: 4vw;
    margin-right: 4vw;
    padding: 20px;
    gap: 10px;
    background-color: #f1f1f1;
}
.scrolling-section img {
    width: auto;
    height: 200px;
    object-fit: cover;
}
.description-section {
    padding: 20px;
    background-color: #fff;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}
.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.who-we-are {
    position: relative;
    padding: 40px;
    color: black; /* Text color to stand out on the background */
    text-align: center;
    overflow: hidden; /* Ensures no content overflows outside the div */
}

.who-we-are::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('home_banner.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    filter: blur(4px); /* Adjust blur strength */
    opacity: .5; /* Adjust opacity for better text contrast */
    z-index: -1; /* Places the image behind the text */
}

.who-we-are h1,
.who-we-are p {
    position: relative;
    z-index: 1; /* Ensures the text stays above the background image */
    font-weight: bolder;
}

.countdown {
    font-size: 24px;
    height: 4vh;
    font-weight: bold;
    color: white;
    text-align: center;
    background-color: #000;
}

.navbar-container {
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps nav and countdown at the top */
}

.button-about {

    display: inline-block;
  
    margin: 5px 8px 5px 0;
  
    padding: 8px 18px;
  
    background-color: #01497c;
  
    color: #fff !important;
  
    border: none;
  
    border-radius: 5px;
  
    text-decoration: none;
  
    font-size: 1em;
  
    font-family: inherit;
  
    transition: background 0.2s;
  
    cursor: pointer;
    
    font-weight: bold;
  
  }
  
  .button-about:hover {
  
    background-color: #508ec7;
  
    color: #fff;
  
  }

  .button-about-res {

    display: inline-block;
  
    margin: 5px 8px 5px 0;
  
    padding: 8px 18px;
  
    background-color: #cfb700;
  
    color: #fff !important;
  
    border: none;
  
    border-radius: 5px;
  
    text-decoration: none;
  
    font-size: 1em;
  
    font-family: inherit;
  
    transition: background 0.2s;
  
    cursor: pointer;

    font-weight: bold;
  
  }
  
  .button-about-res:hover {
  
    background-color: #a28f00;
  
    color: #fff;
  
  }