/**
* Color Palette:
*   Primary: 
        #FBE8A6 (Light Yellow)
    Secondary: 
        #F4976C (Light Orange)
    Accent:    
        #303C6C (Dark Blue)
    Text Dark Gray: 
        #222222 (Dark Gray)
    Background Color::after:
        #FBE8A6 (Light Yellow)
*/


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    color: #222222;
    background-color: #FBE8A6; /* Background color for the whole page */
}
a{
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #222222;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

.btn-primary, .btn-primary:active, .btn-primary:visited {
    margin-top: 1vh;
    background-color: #303C6C !important;
}
.btn-primary:hover{
    background-color: #F4976C !important;
}

#back-to-top {
    opacity: 0; /* Initially make the button invisible */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #303C6C;
    color: #FBE8A6;
    border: #303C6C solid 2px;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 1;
    transition: opacity 0.45s ease-out; /* CSS transition for fading effect */
    pointer-events: none; /* Make the button unclickable initially */


}

#back-to-top:hover {
    background-color: #F4976C;
}


.blank{
    height: 13vh;
}
/*--------------------------------------------------------------
# Header & Navbar
--------------------------------------------------------------*/

#header {
    background-color: #F4976C;
    height: 12vh;
    display: flex;
    align-items: center;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navbar a {
    font-weight: 350;
    margin: 0 15px;
    font-size: 1rem;
}

#navbar a:hover {
    color: #303C6c;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 60vh;
    background: url("img/hero-bg.jpg") top center;
    background-size: cover;
    position: relative;
    /* padding: 100px 50px; */
    max-height: 600px;
}

#hero h1{
    color: #FBE8A6;
    font-size: 10vh;
    font-weight: 600;
    margin-bottom: 1vh;
}

#hero h2{
    color: #FBE8A6;
    font-size: 5vh;
    font-weight: 350;
    margin-bottom: 1vh;
}

/*--------------------------------------------------------------
#Preloader
--------------------------------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FBE8A6; /* Background color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 6px solid #303C6c; /* Loader color */
    border-top: 6px solid #FBE8A6; /* Background color to create a spinner effect */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.5s linear infinite; /* Animation for spinner effect */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
Animations
--------------------------------------------------------------*/
.fade-up{
    opacity: 0;
    transform: translateY(40px);
    transition: transform ease-in-out 1.0s, opacity ease-in 1.0s;
}

.fade-up.active{
    opacity: 1;
    transform: translateY(0px);
}

.fade-down{
    opacity: 0;
    transform: translateY(-12vh);
    transition: transform ease-in-out 1.0s, opacity ease-out 0.8s;
}

.fade-down.active{
    opacity: 1;
    transform: translateY(0px);
}

.fade-left{
    opacity: 0;
    transform: translateX(40px);
    transition: transform ease-in-out 1.0s, opacity ease-in 1.0s;
}

.fade-left.active{
    opacity: 1;
    transform: translateX(0px);
}

/*--------------------------------------------------------------
#Main Section
--------------------------------------------------------------*/
main{
    padding: 25px;
}


main h1{
    font-size: 2.5rem;
    font-weight: 450;
    margin-bottom: 1vh;
}

main .line-break{
    width: 20%;
    height: 5px;
    background-color: #F4976C;
    margin-top: 2vh;
    margin-bottom: 4vh;
}

main p{
    font-size: 1.35rem;
    font-weight: 300;
    text-align: justify;
}

main a{
    font-size: 1.35rem;
    font-weight: 500;
    text-align: justify;
    color: #303C6C;

}

main i{
    margin-right: 5px;
}


main img{
    width: 100%;
    height: auto;
    margin-bottom: 2vh;
}

main .container .row{
    margin-bottom: 8vh;
}

main object embed{
    margin-top: 5vh;
}

main h4{
    font-size: 1.45rem;
    font-weight: 450;
    margin-bottom: 1vh;
}
main h6{
    font-size: 1.0rem;
    padding-bottom: 2vh;
    font-style: italic;
}

main form label{
    font-size: 1.0rem;
    font-weight: 550;
    margin-bottom: 0.5vh;
}

main form input{
    width: 100%;
    height: 6vh;
    margin-bottom: 1vh;
    border: 1px solid #303C6C;
    border-radius: 10px;
    padding-left: 1vw;
}

main form textarea{
    width: 100%;
    height: 25vh;
    margin-bottom: 1vh;
    border: 1px solid #303C6C;
    border-radius: 10px;
    padding-left: 1vw;
}

main li {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 0.5vh;

}

/*--------------------------------------------------------------
Project
--------------------------------------------------------------*/
@media (max-width: 768px) {
    main .container .row{
        margin-bottom: 2vh;
    }
}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
#footer {
    background-color: #F4976C;
    height: 25vh;
    padding-top: 5vh;
}
#footer h3{
    margin-bottom: 4vh;
}

#footer a i{
    font-size: 2rem;
    color: #303C6C;
    margin: 1.25vw;
}