/***
 Title: Custom CSS Styling,
 Author: Obinna Akaolisa,
 Email: akaolisaobinna@gmail.com
***/

/* Resets and Instantiations */

:root {
    --box-shadow: 1px 1px 8px #20608b;
    --tealblue: #20608b;
    --chocolate:#d15300;
    --ghost-white:#fffefe;
}

* {
    box-sizing: border-box;
}

/* Specific Elements */
html, body {
    font-family: 'Poppins', sans-serif; 
    background-color: var(--ghost-white);
    scroll-behavior: smooth;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-family: 'Sen', sans-serif;
}


/**
 Color Definitions
**/


/* Background Colors */

.bg-teal-blue {
    background: linear-gradient(to left, #20608b, #3a7bd5);
}

.bg-chocolate {
    background: linear-gradient(to right, #bd4c01, #d15300);
}

.bg-ghost-white {
    background: linear-gradient(to right, #eef2f3, #f8f9fa); 
}

.bg-clear-black {
    background: linear-gradient(to right, #0a0a0a, #434343);
}


/* Link Colors */

.link-teal-blue {
    color:  #3a7bd5;
    transition: all ease-in-out 2s;
}
.link-teal-blue:hover {
    color: var(--tealblue);
    text-decoration: none;
    transition: all ease-in-out .8s;
}


.link-chocolate {
    color: #d15300;
    transition: all ease-in-out 2s;
}
.link-chocolate:hover {
    color: #bd4c01;
    text-decoration: none;
    transition: all ease-in-out .8s;
}


.link-ghost-white {
    color:#f8f9fa;
    transition: all ease-in-out 2s; 
}
.link-ghost-white:hover {
    color: #cac9c9;
    text-decoration: none;
    transition: all ease-in-out .8s; 
}


.link-clear-black {
    color: #0a0a0a;
    transition: all ease-in-out 2s;
}
.link-clear-black:hover {
    color: #434343;
    text-decoration: none;
    transition: all ease-in-out .8s;
}



/* Text Colors*/

.text-teal-blue {
    color: var(--tealblue);
}

.text-chocolate {
    color:  #d15300;
}

.text-ghost-white {
    color: #eef2f3; 
}

.text-clear-black {
    color: #0a0a0a;
}


/* Button Definitions */

.btn-teal-blue {
    background: var(--tealblue);
    color: #f8f9fa;
    transition: all ease-in-out .5s;
}
.btn-teal-blue:hover {
    background: #03a0c4;
    color: #f8f9fa;
    transition: all ease-in-out .5s;
}


.btn-chocolate {
    background: #d15300;
     color:#f8f9fa;
     transition: all ease-in-out .5s;
}
.btn-chocolate:hover {
    background: #bd4c01;
    color:#f8f9fa;
    transition: all ease-in-out .5s;
}


.btn-ghost-white {
    background: #eef2f3;
    color:#0a0a0a;
    transition: all ease-in-out .5s;
}
.btn-ghost-white:hover {
    background: #d9dcdd;
    color:#0a0a0a;
    transition: all ease-in-out .5s;
}


.btn-clear-black {
    background:  #0a0a0a;
    color:#f8f9fa;
    transition: all ease-in-out .5s;
}
.btn-clear-black:hover {
    background:#303030;
    color:#f8f9fa;
    transition: all ease-in-out .5s;
}


/**
 Page Sections Styling
**/

/* Hero Section Home page*/
.hero {
    width: 100%;
    min-height: 90vh; 
    margin: 0;
    padding: 0;    
    background: linear-gradient(rgba(41, 22, 4, 0.8), rgba(2, 1, 37, 0.8)), url('../images/students_bg_1.png');
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    transition: all ease-in-out 0.2s;
}

.hero img {
    transition: all ease-in-out 0.5s;

}

.hero:hover img {
    transform: translate(-20px, 20px);
    transition: all ease-in-out 0.5s;

}


/* Hero Section Contact page*/
.contact-hero {
    width: 100%;
    min-height: 50vh; 
    margin: 0;
    padding: 0;
    background: #000428;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #004e92, #000428);
    background: linear-gradient(to left, #004e92, #20608b);
    transition: all ease-in-out 0.2s;
}

/* features */

.features-card {
    transition: all ease-in-out 0.4s;
}

.features-card:hover {
    box-shadow: var(--box-shadow) !important;
    transform: translateY(-20px);
    transition: all ease-in-out 0.4s;
}

.features-card:hover h4 {
    color: #d15300;
    transition: all ease-in-out 0.4s;
}



/* How it Works */

#how-it-works {
    z-index: 1;
    position: relative;
}

#how-it-works > * {
    z-index: 4;
}

#how-it-works::before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    content: '';
    background: url('../images/illustrations/abstract-bg.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .1;
    z-index: 2;
}

.list-group-item {
    transition: all ease-in-out 0.4s;
}

.list-group-item:hover {
    transform: scale(3px);
    transition: all ease-in-out 0.4s;
    box-shadow: var(--box-shadow);
}


/* Latest news */

.info-box {
    transition: all ease-in-out 0.4s;
}

.info-box:hover {
    box-shadow: var(--box-shadow) !important;
    transform: translate(-5px, 5px);
    transition: all ease-in-out 0.4s;
}

/* Scroll top button */
.scroll-top-button {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 50px; /* Place the button at the bottom of the page */
    right: 35px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    background-color: #000428; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    height: 35px;
    width: 35px;
    border: 2px solid #ffffff;
    border-radius: 50%;
  }
  
  .scroll-top-button:hover {
    color:#f8f9fa;;
    background-color: var(--tealblue); 
  }


/*
**Dashboard Styles
*/
  
.side-menu {
    background: var(--chocolate);
}

.side-menu .nav-link {
    color: var(--ghost-white);
    transition: all ease-in-out 0.3s;
}

.side-menu .nav-link:hover {
    color: var(--chocolate);
    padding: 8px;
    border-radius: 5px;
    background: var(--ghost-white);
    transition: all ease-in-out 0.3s;
}

.side-menu .nav-link:active, .side-menu .nav-link.active {
    color: var(--chocolate);
    padding: 8px;
    border-radius: 5px;
    background: var(--ghost-white);
    transition: all ease-in-out 0.3s;
}


.box {
    transition: all ease-in-out 0.3s;
}

.box:hover {
    box-shadow: var(--box-shadow) !important;
    transition: all ease-in-out 0.3s;
}
