/* Global box sizing fix */
*{
box-sizing:border-box;
}

/* General body styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

/* Style for the main navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

/* Logo styling */
nav img.logo {
    width: 100px;
    height: auto;
    animation: slideIn 1s forwards;
}

/* Title styling */
.company-title {
    color: #d6282c;
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    line-height: 1.2;
    margin-left: 15px;
    animation: slideIn 1s forwards;
}

/* Navigation links styled as boxes */
.nav-links .link-boxes {
    display: flex;
}

.link-boxes a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.link-boxes a:hover {
    background-color: #007bff;
    color: white;
}

/* Hero section styling */
.hero {
    min-height: 100vh;
    background-image: url('Front Page.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Hero container with button styling */
.hero-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Styling for button container */
.button-container {
    display: flex;
    gap: 20px;
    animation: fadeIn 1s forwards;
}

/* Individual button box styling */
.button-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Button styling */
.button-box a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
}

/* Search form */
form {
margin-left: 20px;
}

input[type="search"] {
padding: 5px;
}

button {
padding: 5px 10px;
}

/* Animations */

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* MOBILE RESPONSIVE DESIGN */

@media (max-width:768px){

body{
padding:10px;
}

/* Navigation layout */
nav{
flex-direction:column;
align-items:center;
text-align:center;
}

/* Logo resize */
nav img.logo{
width:70px;
}

/* Title resize */
.company-title{
font-size:24px;
margin-left:0;
}

/* Navigation links vertical */
.nav-links .link-boxes{
flex-direction:column;
align-items:center;
}

.link-boxes a{
margin:6px 0;
width:90%;
text-align:center;
}

/* Buttons stack */
.button-container{
flex-direction:column;
gap:10px;
}

.button-box{
width:100%;
text-align:center;
}

/* Images responsive */
img{
max-width:100%;
height:auto;
}

/* Search bar mobile */
form{
margin:10px 0;
text-align:center;
}

input[type="search"]{
width:70%;
}

}