/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #01004c;
    --secondary-color: #7df9ff;
    --accent-color: #ffd700;
    --background-color: #fafafa;
    --font-primary: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Quicksand', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: #333; /* Default text color */
    line-height: 1.6;
}

h1,h2,h3,h4 {
    font-family: var(--font-primary);
}

h2 {
    font-size: 2rem;
}

button {
    background: linear-gradient(60deg, #0200A5,#193BEC);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.250);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s ease-in-out;
}

button:hover {
    transform: scale(1.03);
    background: linear-gradient(60deg, #0502c0,#2245f6);
}

.reveal {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reveal from bottom */
.reveal-bottom {
    transform: translateY(20px);
}

.reveal-bottom.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from top */
.reveal-top {
    transform: translateY(-20px);
}

.reveal-top.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    transform: translateX(-20px);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    transform: translateX(20px);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}


/* Header and Navigation */
header {
    height: 80px;
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav img{
    width: 100px;
    /* position: absolute; */
    /* top: 10px; */
    /* left: 12%; */
}

nav ul{
    float: right;
    margin-right: 25px;
}

nav ul li{
    display: inline-block;
    /* line-height: 80px; */
    margin: 0 15px;
}

nav ul li a{
    color: var(--background-color);
    position: relative;
    text-decoration: none;
    font-family: var(--font-body);
    padding: 5px 0;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li .active {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li .active::after {
    width: 100%;
}

.menu-btn{
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    float: right;
}
.menu-btn_burger{
    width: 30px;
    height: 4px;
    background: var(--background-color);
    border-radius: 5px;
    transition: all .3s ease-in-out;
}
.menu-btn_burger::before,
.menu-btn_burger::after{
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: var(--background-color);
    border-radius: 5px;
    transition: all .3s ease-in-out;
}
.menu-btn_burger::before{
    transform: translateY(-16px);
}
.menu-btn_burger::after{
    transform: translateY(16px);
}
/*ANIMATION*/
.menu-btn.open .menu-btn_burger{
    transform: translateX(-50px);
    background-color: transparent;
    box-shadow: none;
}
.menu-btn.open .menu-btn_burger::before{
    transform: rotate(45deg) translate(35px, -35px);
}
.menu-btn.open .menu-btn_burger::after{
    transform: rotate(-45deg) translate(35px, 35px);
}


@media (max-width:118px){
    nav img {
        left: 8%;
    }
}


@media (max-width:944px){
    nav img {
        width: 100px;
    }
    nav ul li a{
        font-size: 17px;
    }
}

@media (max-width:860px){
   
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .3s;
        z-index: 100;
    }

    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a{
        font-size: 20px;
    }

    .menu-btn{
        display:flex;
    }
}

/* Footer */
footer {
    /* background: url('../assets/images/backgrounds/footer_background.jpg') no-repeat center center/cover; */
    padding: 10px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#00036B, #000E21);
    /* opacity: 0.5; */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    color: var(--background-color);
}

#particles-js-footer{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.footer-content img {
    max-width: 150px;
    margin: 0;
}
.footer-content h3 {
    margin: 0;
}

.footer-content p {
    margin: 10px 0;
}
.footer-content .copyright {
    margin:0;
}

footer .footer-content p a{
    color: var(--background-color);
    text-decoration: none;
    font-family: var(--font-body);
}




/* +++++++++++++ */


.services-background-circles {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    z-index: 0;
    /* overflow: hidden; */
    animation: floatingCircles 20s infinite;
}


.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.circle1 {
    width: 100px;
    height: 100px;
    background-color: #485EFF; /* Light blue */
}

.circle2 {
    width: 70px;
    height: 70px;
    background-color: #193BEC; /* Medium blue */
}

.circle3 {
    width: 150px;
    height: 150px;
    background-color: #0200A5; /* Darker blue */
}


/* **************** Scroll to Top ************** */
#scrollTopButton {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99; /* Ensures it’s on top */
    font-size: 18px;
    padding: 10px 15px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s;
}

#scrollTopButton:hover {
    background-color: #555;
}

/* **************** End of Scroll to Top ************** */