@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Dancing+Script:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

:root{
    --blue-color:#0050B5;
    --red-color: #DA291C;
    --white-color:#f4f4f4;
}

body{
    background-color: var(--white-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    min-height: 100vh;

}

.container-header{
    /* background-color: brown; */
    height: 10vh;
    background-color: var(--blue-color);
    padding-top: 0;
}

.container-header h5{
    color:white;
    text-align: right;
    margin-right: 15px;
}

.btn-menu{
    padding: 0;
    margin: 0 2rem;
    background-color: var(--blue-color);
    transition: transform 0.4s ease-in-out;
}

.btn-menu svg{
    fill: var(--white-color);
}

.btn-menu:hover{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds shadow for effect */
    border-radius: 50%;
    background-color: var(--red-color);
    /* border: none; */
}

.btn .btn-menu:focus{
    border: var(--blue-color);
    background-color: var(--blue-color);
}

.btn-menu:focus-visible{
    border: var(--blue-color);
    background-color: var(--blue-color);
}

.btn-menu:active{
    transform: scale(0.95);
}


/************COLLAPSIBLE MENU****************/

.navbar-collapse{
    position: absolute; /* Positions the menu on top */
    top: 100%; /* Places it below the button */
    left: 0;
    width: 100%; /* Makes it full-width */
    background-color: #0050B5; /* Matches the header background */
    z-index: 5; /* Ensures it's above other elements */
}

.navbar-collapse .nav-item{
    padding: 0 1.45rem;
}

.nav-link{
    color: #f4f4f4;
    background-color: #0050B5;
    /* padding: 5px 2rem; */
    text-align: left; /* Ensures text aligns to the left */
    margin-right: 20px; /* Adds space between menu items */
    margin-left: 30px; /* Adds space to the left of the links */
    display: block; /* Ensures full block width for proper alignment */
}

.nav-link:hover{
    color:#DA291C;
}


/************DIVISION FOR THE LOGO****************/

.top-logo-div{
    min-width: 16%;
    max-width:15%;
    aspect-ratio: 1; /* Ensures a perfect square (1:1 ratio) */ 
    background-color: #0050B5;
    position: absolute; /* Use absolute positioning to position independently*/
    top: 0.25vh;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center; /* Center content inside the .logo-div */
    z-index: 6; /* Ensure it appears above header */
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds shadow for effect */
}

.top-logo-div:hover {
    transform: translateX(-50%) scale(1.1); /* Slightly enlarges on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds shadow for effect */
}

.top-logo-div img{
    width: 100%; /* Make the image take up the full width of .logo-div */
    height: 100%; /* Make the image take up the full height of .logo-div */
    object-fit: cover; /* Ensures the image covers the entire area without distortion */
    border-radius: 50%; /* Ensures the image respects the circular shape of .logo-div */

}

/************FRONT IMAGE****************/

.content-front-img{
    height: 80vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    /*background-color: black;*/
    display: flex;
    align-items: flex-start; /* Align content to the top */
    justify-content: flex-start; /* Align content to the left */
}

.content-front-img img{
    width: 100%; /* Full width of the image */
    height: 100%; /* Full height of the container */
    object-fit: cover; /* Preserve aspect ratio and cover the container */
    position: absolute; /* Position the image for overlaying content */
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    z-index: 1; /* Places it below the gradient */
}

/* Add a dark gradient overlay */
.content-front-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.8) 20%,  /* Very dark at the top-left corner */
        rgba(0, 0, 0, 0.7) 40%,  /* Darker near the left-center */
        rgba(0, 0, 0, 0.4) 60%,  /* Fades towards the middle */
        rgba(0, 0, 0, 0) 90%     /* Transparent towards the right edge */
    );
    pointer-events: none; /* Allows clicks to pass through */
    z-index: 2; /* Ensures overlay is above the image but below text */
}

.top-left-text{
    position: absolute;
    top: 10%; /* Relative positioning for flexibility */
    left: 2.5%; /* Relative positioning */
    z-index: 3;
    color: white;
    font-size: 3rem; /* Base font size */
    line-height: 1.2; /* Line height for readability */
}

.highlight-blue{
    color: #0050B5;
    /* color: red; */
}

.bottom-left-text{
    position: absolute;
    bottom: 7%;
    left: 2.5%;
    z-index: 3;
    color: #f4f4f4;
    border: none;
    font-size: 1.9rem;
    
}

/* MEDIA */

/*phones => 600px and down*/
@media(max-width:600px) {
    .top-logo-div{
        min-width: 21%;
    }
    .content-front-img {
        height: calc(100vw * 0.75); /* Adjust ratio for smaller screens */
 
    }
 
    .content-front-img img {
         height: calc(100vw * 0.75); /* Maintain natural image aspect ratio */
    } 

    .container-header h5{
        font-size: 16px;
    }

    .top-left-text{
        top: 16%; /* Relative positioning for flexibility */
        font-size: 2rem;
    }

    .bottom-left-text{
        font-size: 1.5rem;
    }
}

/*Portrait tablets and large phones => 600px and up*/
@media(min-width:601px) {
    .content-front-img {
        height: calc(100vw * 0.75); /* Adjust ratio for smaller screens */
 
    }
 
    .content-front-img img {
         height: calc(100vw * 0.75); /* Maintain natural image aspect ratio */
    } 

    .top-logo-div{
        min-width: 21%;
    }
    .container-header h5{
        font-size: 16px;
    }

    .top-left-text{
        top: 16%; /* Relative positioning for flexibility */
        font-size: 2rem;
    }

    .bottom-left-text{
        font-size: 1.5rem;
    }

    .container-header h5{
        font-size: 20px;
    }
}

/*Medium devices - landscape tablets => 768px and up*/
@media(min-width:768px) {}

/*Large devices - Laptops and Tablets => 992px and up*/
@media(min-width:992px) {
    .top-logo-div{
        min-width: 17%;
    }

    .top-left-text{
        top: 16%; /* Relative positioning for flexibility */
        font-size: 2.5rem;
    }

    .bottom-left-text{
        font-size: 2rem;
    }

    .container-header h5{
        font-size: 20px;
    }
}

/*Extra-Large devices => 1200px and up*/
@media(min-width:1200px) {
    .top-logo-div{
        min-width: 10%;
        max-width:13%;
    }

    .content-front-img{
        height: 80vh;
        width: 100%;
    }

    .content-front-img img{
        width: 100%; /* Full width of the image */
        height: 100%; /* Full height of the container */
    }
}




