/* base styles */
a {
    color: #ac9551;
    font-size: 1rem;
    text-decoration: none; /* Remove underlines from links */
}
a:visited {
    color: #ac9551;
}
a:hover {
    color: #a4b4ce;
}
body {
    background-color: #0f3e66;
    font-family: 'Quattrocento', sans-serif;
    margin: 0; /* Reset default body margin */

}
h1, h2, h3 { /* Style all headings together */
    font-family: 'Cinzel Decorative', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #ac9551;
    margin-bottom: 1rem; /* Consistent spacing */
}

h2 {
    color: #a4b4ce;
}
p, ul, ol {
    color: #a4b4ce;
    text-align: center;
    line-height: 1.6; /* Improve readability */
}

ul, ol {
    list-style-position: inside; /* List markers inside the content area */
    padding: 0;
}
li{
    margin-bottom: .5rem;
    color: #a4b4ce;
    padding: 10px;
    padding-left: 10px;
    text-align: center;
    padding-right: 10px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  img {
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  img {
    max-width: 400px;
  }
}

.container { /* Use a container for consistent width */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
    
    
/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0f3e66;
    z-index: 100; /* Ensure it's on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.logo-container {
    width: 160px; /* Base width */
    height: auto; /* Maintain aspect ratio */
    max-width:100%; /* Prevent exceeding container width */
    display: block; /* Prevents image from creating extra space */
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.ham-menu {
    display: none; /* Hide on larger screens */
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.ham-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ac9551;
    margin: 5px 0;
    transition: 0.3s;
}

.off-screen-menu {
    display: flex;
}

.off-screen-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.off-screen-menu li {
    margin-left: 20px;
}

/* Main Content */
main {
    padding-top: 110px; /* This is the key! Adjust this value to be slightly larger than your header height */
    overflow: hidden; /* Prevent content from overflowing if needed */
}

section {
    padding: 50px 0; /* Reduced vertical padding */
}

#hero {
    text-align: center;
}

.hero-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Limit video width */
    margin: 20px auto; /* Center the video */
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    grid-gap: 20px;
}
.overlay {
    position: absolute;
    top: 100;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer; /* Make the overlay clickable */
}

.overlay button {
    /* Your button styles */
    z-index: 2;
    background-color: transparent; /* Make the button background transparent */
    border: none; /* Remove button border */
    cursor: pointer; /* Make the button clickable */
}

/* Handshake images */
#handshake {
    padding: 50px;
    text-align: center;
  }
  
  .handshake-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px
  }
  
  .handshake-text {
    flex: 1;
    margin-top: 100px
  }
  
#handshake .handshake-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

#handshake .handshake-images img {
  width: 100%; /* Make the image responsive */
}

  /* Business Card Button/E-mail */
  .button{
    width: 100%;
    background-color: #0f3e66;
    box-shadow: 1px 2px 3px 4px rgba(20,20,20,0.4);
    border-radius:  5px;
    align-items: center;
    
  }
  .button button{
    width: 100%;
    background: #0f3e66;
    padding:15px 15px;
    font-size: small;
    color: #ac9551;
    border: 1px solid #ac9551;
    border-radius: 5px;
    align-items: center;
  }
  /* reviews images */
#reviews {
    padding: 10px;
    text-align: center;
  }
  
  .reviews-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .reviews-text {
    flex: 1;
}
#reviews .reviews-images {
    display: grid; /* Use grid for consistent layout */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust minmax as needed */
    grid-gap: 20px;
}

#reviews .reviews-images img {
    max-width: 250px;
    margin: 10px;
    border-radius: 5px; /* Adjust the radius as needed */
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
  }
 
 .social-links {
    display: flex;  /* Use flexbox for responsive layout */
    flex-wrap: wrap;  /* Wrap items on smaller screens */
    justify-content: center;  /* Center buttons horizontally */
    border-radius: 30px; /* Adjust the radius as needed */
    list-style-type: none;
    padding:10px 20px;
    z-index: 1;
    margin: 5px;  /* Add margin between buttons */
    position: absolute;  /* Make the container absolute-positioned */
    bottom: 0;  /* Position it at the bottom */
    left: 0;  /* Align*/
 }
  .whatsapp-button {
    justify-content: space-between;
    flex: 1 1 auto;  /* Make buttons flexible and shrink/grow as needed */
    max-width: 200px;
    max-height: 100px;
    height: auto; /* Maintain aspect ratio */
    background-color: #0f3e66;
    color: #ac9551;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #ac9551;
    box-shadow: 1px 2px 3px 4px rgba(20,20,20,0.4);
    z-index: 0;
    position: relative;
    
  }
  .LinkedIn-button {
    justify-content: space-between;
    flex: 1 1 auto;  /* Make buttons flexible and shrink/grow as needed */
    max-width: 200px;
    max-height: 100px;
    height: auto; /* Maintain aspect ratio */
    background-color: #0f3e66;
    color:#ac9551;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #ac9551;
    box-shadow: 1px 2px 3px 4px rgba(20,20,20,0.4);
    z-index: 0;
    position: relative;
  }
  .instagram-button {
    justify-content: space-between;
    flex: 1 1 auto;  /* Make buttons flexible and shrink/grow as needed */
    max-width: 200px;
    max-height: 100px;
    height: auto; /* Maintain aspect ratio */
    background-color: #0f3e66;
    color:#ac9551;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #ac9551;
    box-shadow: 1px 2px 3px 4px rgba(20,20,20,0.4);
    z-index: 0;
    position: relative;
  }
  .facebook-button {
    justify-content: space-between;
    flex: 1 1 auto;  /* Make buttons flexible and shrink/grow as needed */
    max-width: 200px;
    max-height: 100px;
    height: auto; /* Maintain aspect ratio */
    background-color: #0f3e66;
    color:#ac9551;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #ac9551;
    box-shadow: 1px 2px 3px 4px rgba(20,20,20,0.4);
    z-index: 0;
    position: relative;
  }

/* Social Links Styling */
#social-links {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    position: relative;
    bottom:0;
    width: 100%;
    background-color: #0f3e66;
    margin-top: 20px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    color: #ac9551;
    font-size: 1.5rem; /* Adjust icon size as needed */
    text-decoration: none;
    transition: color 0.3s;
    border: 1px solid #ac9551;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 1px 2px 3px 4px rgba(20,20,20,0.4);
}

.social-button:hover {
    color: #a4b4ce;
}

footer p {
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    .off-screen-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: #0f3e66;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        z-index: 101; /* Above the header */
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    }
    .off-screen-menu.active {
        right: 0;
    }
    .off-screen-menu ul{
        flex-direction: column;
    }
    .off-screen-menu li{
        margin: 1rem 0;
    }
    .ham-menu {
        display: block;
    }
    .off-screen-menu{
        font-size: 1.5rem;
    }
    .logo-container{
        width: 100px;
    }
    .main{
        padding-top: 10px;
    }
    .container{
        padding: 0 10px;
    }
}

/* Media Queries (Adjust image sizes for different screen sizes) */
@media (max-width: 768px) {
    /* Example: Make handshake images take up full width on smaller screens */
    #handshake .handshake-images {
        grid-template-columns: 1fr; /* One column on smaller screens */
    }

    #reviews .reviews-images {
        grid-template-columns: 1fr; /* One column on smaller screens */
    }
}