/***
 Title: Custom CSS Styling,
 Author: Obinna Akaolisa,
 Email: akaolisaobinna@gmail.com
***/

/* Resets and Instantiations */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&display=swap');

:root {
    --box-shadow: 1px 1px 8px #d2dde4;
    --tealblue: #20608b;
    --chocolate:#e47226;
    --teal-white:#f6f8ff;
    --ghost-white:#fefeff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Specific Elements */
html, body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--teal-white);
    scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6 {font-family: 'Raleway', sans-serif; font-weight: 700;}


/**
 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, #1f1f1f, #515151);
}

/* 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: 60vh; 
    margin: 0;
    padding: 0;    
    background: linear-gradient(rgba(41, 22, 4, 0.9), rgba(2, 1, 37, 0.8)), url('../images/students-bg.jpg');
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    transition: all ease-in-out 0.2s;
}


/* Quick support section*/
.quick-support {
    background: linear-gradient(rgba(41, 22, 4, 0.9), rgba(2, 1, 37, 0.8)), url('../images/quick-support-bg.jpg');
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    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(-5px);
    transition: all ease-in-out 0.5s;
}

/* 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); 
  }
  
  .receipt {
    background: url(../images/watemark-bg-1.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-attachment: scroll;
}


/*
**Dashboard Styles
*/
  
.side-menu {background: var(--tealblue);}
.side-menu .nav-link {
    color: var(--ghost-white);
    transition: all ease-in-out 0.3s;
}

.side-menu .nav-link:hover {
    color: var(--tealblue);
    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(--tealblue);
    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;
}

@media print {
    .print-btn, .close-print {
        display: none;
    }
}