*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
}
:root{
    --main-background:rgb(0 147 208);
    --fancy-background: linear-gradient(to right, red , yellow);
    --subheading-color: rgb(182, 215, 251);
    --majorheading-color: rgb(9, 65, 125);
}
/* common classes */
.primary-heading{
    font-size: 5rem;
    font-weight: 700;
    margin-top: 1rem;
}
.secondary-heading{
    font-size: 3.5rem;
    margin-top: 1rem;

}
/* NAvigation bar */
#navigation-bar {
    background-color: rgb(0 147 208)!important;
    /* color: rgb(99, 0, 192); */
    position: -webkit-sticky;
    position: sticky;
    top: 0.5rem;
    width: 98%;
    margin: 0rem auto;
    z-index: 1000;
}
#navigation-bar .container-fluid{
    position: relative;
}
#logo{
	width: 100px;
	/* margin: 0 10px; */
	border-radius: 100px;
	position: absolute;
	right: 50%;
	top: 30%;
}
.nav-item:hover{
    background-color:rgb(2, 107, 152);
}
#navbtn{
    background-color: #117ad1;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;

}
#navbtn:before {
    content: '';
    background: linear-gradient(45deg, #7a00ff, #002bff,#009dff,#0044ff,#7a00ff);
    /* background-color: rgb(8, 67, 151); */
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

#navbtn:active {
    color:#000 ;
}

#navbtn:active:after {
    background: transparent;
}

#navbtn:hover:before {
    opacity: 1;
}

/* #navbtn:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
} */

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* FOOTER  */
#footer{
    /* background-color: rgb(17 0 47);; */
    /* background: linear-gradient(to left, #2379bf, #00559b, #04233d); */
    background: #027bde;
    padding: 3rem 0;
}
.footer-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.footer-section{
	width: 50%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.footer-section-text{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-section-logo-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer-section img{
    width: 250px;
}
#footer-logo{
    width: 90px;
    margin: 0 10px ;
	border-radius: 100px;
}
.logo-text{
    text-decoration: none;
    font-size: 2.6rem !important;
}
.footer-big-text{
    font-size: 1.8rem;
	color: white;
	text-transform: uppercase;
    margin: 1rem 0;
}
.footer-small-text{
    font-size: 1rem;
    color: white;
}
.social-media-container {
    margin: 2rem 0;
}
.social-media-container a{
    margin: 0.5rem;
    padding: 0.5rem;
}
.social-media-container svg{
    width: 40px;
    fill: white;
    height: 80px;
}
.footer-btn{
    width: 25%;
	text-align: center;
	text-decoration: none;
    background-color: rgb(8, 67, 151);
}

.footer-text-section {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-text-section a {
    margin: 0 0.5rem;
}
hr{
    margin: 2rem 0;
    background-color: grey;
    border: none;
    height: 1px;
}

@media only screen and (min-width: 500px) and (max-width: 1300px) {
    .footer-big-text{
        font-size: 2rem;
    }
    .footer-container {
        width: 90%;
        margin: 2rem auto;
    }
    .footer-big-text span{
        font-size: 2rem;
    }
    .footer-big-text{
    font-size: 1.5rem;
}
}
@media (max-width: 500px) {
    /* new update */
    #logo { 
        width: 70px;
        border-radius: 100px;
        position: absolute;
        right: 79%;
        top: -30%;
    }
    #nav-logo-text{
        margin: 0 0 0 4.5rem;
    }
    .nav-sidebar-logo{
        top: -8% !important;
    }

    /*  */
    .primary-heading {
        font-size: 3.5rem;
        text-align: start;
        margin: 3rem 0 !important;
    } 
    .secondary-heading {
        font-size: 3rem;
    }
    #navigation-bar {
        top: 1rem;
        width: 95%;
    }
    #footer{
        padding: 1rem 0;
    }
    .footer-container {
        flex-direction: column;
    }  
    .footer-section, .footer-section-logo-section {		
        width: 90%;
		margin: 2rem auto;
    }
    .footer-section-text{
        padding: 5px;
    }
    .footer-big-text {
        font-size: 1rem;
    }
    .footer-small-text {
        font-size: 0.8rem;
    }
    .footer-text-section p{
        font-size: 10px;
    }   

    hr {
        margin: 1rem 0;
    }   
}

/* ADD ONLY THIS - Fix navbar text overflow on mobile */
@media (max-width: 500px) {
    #nav-logo-text {
        font-size: 0.85rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
}