:root {
    --pryColor : #2260BE;
    --pryColorLight : #ECF4FF;
    --pryColor90Per : #0041a1;
    --pryColor_BTN_Hover : #0041a1;
    --pryColorDark : #17335e;
    --grey : #9E9E9E;
    --inactive_Link: #656565;
    --inactive_icon: #B5B5B5;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", serif;
}

body{
    background-color: #fff;
    transition: all 0.7s ease;
}

/* --- For fonts size --- */
p, a, .copyright {
    font-size: 14px;

}

h1{
    font-size: 60px;
    margin-bottom: 20px;
    margin-right: 50px;
}

h2{
    font-size: 40px;
    margin-bottom: 20px;
}

.logo {
    width: 50px;
}

/* -- This is for styling the Navigation section of the page  -- */

header {
    position: sticky;
    top: 0;
    z-index: 99;
    
    
}

header nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    padding: 20px 130px 10px 130px;
    background-color: #fff;
    z-index: 99;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.048);
    transition: transform 0.5s ease;
}
.nav-menu {
    display: contents;
    align-items: center;
    justify-content: space-between;
    position: static;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.nav-links a{
    margin: 0 30px;
    color: #000;
}

.hamburger {
    display: none;
}

a{
    text-decoration: none;
}

a:visited {
    color: inherit;
}

button{
    padding: 15px 25px;
    outline: none;
    border: none;
    border-radius: 10px;
    transition: 0.5s;
    cursor: pointer;
}

.pry-btn {
    color: #fff;
    background-color: var(--pryColor);
}

.sec-btn {
    color: var(--pryColor);
    background-color: var(--pryColorLight);
}

.sec-btn:hover {
    background-color: #d9e7fc;
}

button:hover {
    background-color: var(--pryColor_BTN_Hover);
}

.nav-button button{
    margin: 0 7px 0 0;
}

/* ---------Scroll to the Top Styling --------------- */
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    display: none;
    transition: all 0.5s ease;
    z-index: 10;
}

.scroll-to-top-btn svg {
    width: 50px;
    height: 50px;
    fill: #434343;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.479); 
    border-radius: 50%;
}

.scroll-to-top-btn svg:hover {
    fill: var(--pryColor);
}

 /*--------------- Styling the Scrollbar   ----------*/
::-webkit-scrollbar {
    width: 4px; /* Makes the scrollbar thinner */
    height: 4px; /* Makes horizontal scrollbar thinner */
}
::-webkit-scrollbar-track {
    background: var(--grey_Stroke); /* Light gray background */
}
::-webkit-scrollbar-thumb {
    background-color: var(--inactive_icon); /* Dark gray color */
    border-radius: 10px; /* Rounded edges */
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--inactive_Link); /* Darker gray when hovered */
}

/* ----- This is for styling the Footer section of the page (default style)------ */
footer{
    background-color: #151515;
    padding: 20px 130px;
    color: #A6A6A6;
}
.footer-links{
    display: flex;
    flex-wrap: wrap;
    align-items: start ;
    justify-content: space-between;
    margin: 30px 0;
    color: #A6A6A6;
}
.footer-link-items {
    margin-right: 10px;
}
.footer-newsletter {
    margin-top: 10px;
    margin-bottom: 10px;
}
.footer-newsletter-form {
    display: flex;
    margin-top: 10px;
}
.footer-newsletter-form input {
    padding: 15px 20px;
    border-radius: 10px 0 0 10px;
    border: none;
    width: 150px;
}
.footer-newsletter-form-button {
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
    background-color: var(--pryColor);
    color: #fff;
    border: none;
    cursor: pointer;
}
input:focus {
    outline: none;
}
.footer-links a{
    color: #A6A6A6;
    display: flex;
    gap: 5px;
    align-items: center;
}
.footer-links a:hover{
    color: #ffffff;
}
.footer-link-item {
    margin: 10px 0;
    list-style: none;
}
footer hr {
    border-top: 1px solid #A6A6A6;
    border-bottom: 1px solid #ffffff00;
    border-left: 1px solid #ffffff00;
    border-right: 1px solid #ffffff00;
}
.footer-below-hr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}
.footer-icons{
    width: 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-icons svg{
    fill: #A6A6A6;
    cursor: pointer;
    transition: 0.5s all ease;
}
.footer-icons svg:hover{
    fill: #fff;
}


/* ------------------------------------------------- */
/* -------- Styling for smaller screens ------------ */
/* ------------------------------------------------- */

@media screen and (max-width: 1220px){
    header nav{
        padding: 20px 100px 10px 100px;
        margin-top: 30px;
    }

    footer{
        padding: 20px 100px;
    }

}

@media screen and (max-width: 1020px){
    h1{
        font-size: 50px;
        margin-bottom: 20px;
        margin-right: 50px;
    }

    header nav{
        padding: 20px 60px 20px 60px;
        margin-top: 10px;
    }

    footer{
        padding: 20px 60px;
    }
}

@media screen and (max-width: 900px){
    /* Styling font size */
    p, a {
        font-size: 14px;
    }
    h1{
        font-size: 42px;
        margin-bottom: 20px;
        margin-right: 50px;
    }
    h2{
        font-size: 30px;
        margin-bottom: 16px;
    }

    /* ---------Styling the Header/ Navigation menu */

    header nav{
        padding: 30px 60px 20px 60px;
        margin-top: 0px;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        right: 0;
        top: 50px;
        width: 100%;
        transition: transform 0.5s ease;
        background-color: #fff;
        padding: 30px;

    }
    .nav-links a{
        display: flex;
        flex-direction: column;
        text-align: center;
        margin: 20px 0;
        transition: transform 0.5s ease;
        font-size: 16px;
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
        background-color: #424242;
    }
    /* --------End of styling for the Header/ Navigation */


    
    footer{
        padding: 20px 60px;
    }
    .footer-icons{
        width: 180px;
        display: flex;
    }
    .footer-links{
        margin: 20px 0;
        color: #A6A6A6;
    }
    .footer-below-hr {
        margin: 20px 0;
    }
    footer{
        padding: 20px 30px;
    }
    .footer-link-items {
        margin-right: 20px;
    }
    .footer-links{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        margin: 10px 0;
    }
}

@media screen and (max-width: 750px){
    h1{
        font-size: 35px;
        margin-bottom: 20px;
        margin-right: 50px;
    }

    header nav{
        padding: 20px 30px 20px 30px;
    }

    footer{
        padding: 20px 30px;
    }
}

@media screen and (max-width: 500px){
    button{
        padding: 10px 15px;
        outline: none;
        border: none;
        border-radius: 10px;
    }
    h1{
        font-size: 24px;
        margin-bottom: 20px;
        margin-right: 50px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    header nav{
        padding: 20px;
    }
    
    footer{
        padding: 20px 30px;
    }
    .footer-links{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        margin: 10px 0;
    }
    .footer-below-hr {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: space-between;
        margin: 20px 0;
        gap: 20px;
        text-align: center;
    }
}
