/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Custom CSS */
:root {
    --main-color: #328BB1;
    --second-color: #ECF7FF;
    --footer-color: #005275;
}

* {
    font-family: "Inter", sans-serif;
}

/* Box Shadow */
.boxShadow {
    box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

/* Hover Effect */

.hover-effect{
    padding: 5px 10px;
    position: relative;
}

.hover-effect::after {
    content: "";
    position: absolute;
    height: 2.5px; /* Adjust thickness of underline */
    left: 0;
    bottom: 2px;
    width: 0;
    transition: all 0.3s ease; /* Smooth animation */
    background: white; /* White underline to match the text */
}


.hover-effect:hover::after {
    width: 100%;
}


/* Navigation Style */
#nav {
    background-color: var(--main-color);
}

#nav img {
    width: 55px;
}

#nav .nav-link {
    margin: 0 5px;
    font-weight: bold;
    color: white;
    font-size: 17px;
}

#nav .navbar-nav button {
    width: 100px;
    height: 39px;
    border: transparent;
    font-weight: bold;
    outline: none;
    transition: .2s;
}

#nav .navbar-nav button:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 20px var(--main-color);
    background-color: var(--second-color);
}

#nav .navbar-toggler {
    padding: 5px 8px;
}

#nav .navbar-toggler:focus {
    box-shadow: none;
}

/* Home Section Style */
#home {
    background-color: var(--second-color);
    height: 520px;
    width: 100%;
}

#home .container, #home .row {
    height: inherit
}

#home img {
    width: 424px;
    height: 237px;
}

#home button {
    width: 175px;
    height: 45px;
    border: transparent;
    outline: none;
    background-color: var(--main-color);
    color: white;
    font-size: 18px;
    font-weight: 700;
    transition: .2s;
}

#home button:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 20px rgba(26, 114, 176, 0.4);
    background-color: var(--second-color);
    color: black;
}

#home .home-right {
    text-align: right;
}

/* Priorities section style */
#priorities {
    background-color: var(--main-color);
}

#priorities .row {
    justify-content: space-between;
}

#priorities .card {
    padding: 0;
    width: 269px;
    height: 360px;
}

#priorities .card-title {
    font-size: 14px;
    font-weight: bold;
    border-left: 2px solid black;
}

#priorities .card-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #777676;
}

/* Activities section style */
#activities {
    background-color: var(--second-color);
}

#activities .card-holder {
    width: 519px;
    height: 208.506px;
    padding: 0;
    border: 1px solid black;
    overflow: hidden;
}

#activities .card-holder .row {
    height: 100%;
}

#activities .card-holder h1 {
    font-size: 17px;
    font-weight: bold;

}

#activities .card-holder p {
    font-size: 14px;
}

#activities .card-holder img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

/* Footer section Style */
#footer {
    background-color: var(--footer-color);
    height: 360px;
    width: 100%;
    position: relative;
}

#footer h1 {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

#footer li {
    list-style-type: none;
}

#footer li a {
    color: white;
    text-decoration: none;
    transition: .4s;
}

#footer li a:hover {
    color: var(--main-color);
}

#footer .link-holder {
    width: 100%;
}

#footer .social-links {
    justify-content: end;
}

#footer .copyright {
    height: 56px;
    background-color: var(--main-color);
    color: white; 
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Up-arrow */

.up-arrow {
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 25px;
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: block;
    opacity: 0;
    color: white;
    background-color: #F6802F;
    transition: .5s ease;
}

.up-arrow:hover {
    background: var(--second-color);
    color: #F6802F;
}

.up-arrow.active {
    opacity: 1;
}