*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    list-style: none;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}

:root{
    --primary-color: gray;
    --secondary-color: aliceblue;
}
nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 99;
}
nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
}
nav li{
    height: 50px;
}
nav a{
    text-decoration: none;
    color: black;
    height: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav a:hover{
    background-color: gainsboro;
}
nav li:first-child{
  margin-right: auto;
}
nav h3{
    margin: 15px 7px;
}
.sidebar{
    position: fixed;
    top: 0;
    right: -50px;
    max-width: 150px;
    height: 50vh;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.415);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0 15px;
}
#menu-btn{
    display: none;
}

.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}
/* nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
nav li{
    height: 50px;
} */
/* nav a{
    text-decoration: none;
    color: black;
    height: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
} */
/* nav a:hover{
    background-color: gainsboro;
}
nav li:first-child{
  margin-right: auto;
}
nav{
    width: 90%;
    display: flex;
    background-color: var(--primary-color);
    padding: 0 20px;
    margin: auto;
    justify-self: center;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 99;
    box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.212);
} */
/* nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
} */

/* nav ul li{
    padding: 0.7rem 0 ;
}
ul li a{
    color: white;
    padding: 0.7rem 1.7rem ;
}
a:hover{
    background-color: blue;
    transition: all 0.3s ease-out;
}
nav h3{
    color: white;
    align-self: center;
} */
nav span{
    color: blue;
    -webkit-text-stroke-width: 0;
}
main #home{
    max-width: 100%;
    height: fit-content;
    background:url(/images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: auto;
    text-align: left;
    transition: 0.5s;
    
}
.overlay{
    max-width: 100%;
    height: fit-content;
    background-color: rgba(0, 0, 0, 0.726);
    opacity: 0.9;
    padding: 5rem 4rem;
}

#home h1{
    font-size: 3.5rem;
    color: aliceblue;
}
span{
    color: blue;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: aliceblue;
}
#home p{
    color: aliceblue;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 20px;
}
.overlay a{
    color: aliceblue;
    padding: 1rem 3.5rem;
    background-color: blue;
    position: relative;
    top: 3rem;
    border-radius: 0.4em;
}
.overlay a:hover{
    background-color: navy;
    transition: all 0.3s ease-out;
}
 #about{
    width: 100%;
    height: fit-content;
    background-color: gainsboro;
    padding: 3rem 4rem;
    text-align: center;
}
 #services{
    width: 100%;
    height: fit-content;
    background: url(/images/service-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: auto;
    /* padding-bottom: 2rem; */
    /* padding-top: 2.7rem;
    padding-bottom: 3rem;
    padding-left: 4rem;
    padding-right: 4rem; */
}
.service-overlay{
    width: 100%;
    height: fit-content;
    background-color: rgba(0, 0, 128, 0.849);
    padding-bottom: 1rem;
}
.animation{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid blue;
    opacity: 0.4;
    position: relative;
    animation: bg-anim 5s ease-in-out 5ms infinite alternate;
}
@keyframes bg-anim {
    0%   {border:3px solid blue; left:0px; top:0px;}
    25%  {border:3px solid blue; left:500px; top:0px;}
    50%  {border:3px solid blue; left:500px; top:700px;}
    75%  {border:3px solid blue; left:0px; top:700px;}
    100% {border:3px solid blue; left:0px; top:0px;}   
}
#services .container{
    display: grid;
    grid-template-columns: repeat(2, 300px);
    grid-template-rows: repeat(2, 250px);
    gap: 3rem 6rem;
    justify-content: center;
    
}
.container .image-1, .image-2, .image-3, .image-4{
    max-width: 300px;
    height: 200px;
    background-color: rgba(248, 248, 255, 0.205);
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    animation: anime 1s ease-out 0.5s 1 alternate ;
    border-radius: 20px;
}
.image-1:hover{
    scale: 1.1;
}
.image-2:hover{
    scale: 1.1;
}
.image-3:hover{
    scale: 1.1;
}
.image-4:hover{
    scale: 1.1;
}

/* @keyframes anime {
    0%{
        opacity: 0.4;
    }
    100%{
        opacity: 1;
    }
    
} */
#services h1{
    color: var(--secondary-color);
    text-align: center;
    font-size: 2.5rem;
}
.image-1{
    background: url(/images/web.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.image-2{
    background: url(/images/grap.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.image-3{
    background: url(/images/cyber.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.image-4{
    background: url(/images/data-scienc.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.container img{
    height: inherit;
    width: inherit;
    position: absolute;
    overflow: hidden;
    border-radius: 20px;

}
/* }
.image-1 img{
    height: inherit;
    width: inherit;
    position: absolute;
}
.image-2 img{
    height: inherit;
    width: inherit;
    position: absolute;
}
.image-3 img{
    height: inherit;
    width: inherit;
    position: absolute;
}
.image-4 img{
    height: inherit;
    width: inherit;
    position: absolute;
} */
.small-container{
    width: 100%;
    height: 70px;
    background-color: var(--primary-color);
    position: relative;
    z-index: 10;
    bottom: 0;
    top: 10rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
    padding-top: 0.3rem;
}
#contact{
    text-align: center;
    padding-top: 3rem;
}
.containers{
    max-width: 100%;
    height: 100vh;
    margin: auto;
    text-align: center;
    display: flex;
}
#contact h1{
    color: blue;
    font-size: 2.5rem;
}
.left-contact{
    width: 50%;
    height: inherit;
    display: flex;
}
.left-contact img{
    width: 30em;
    height: 35rem;
    margin: 0 auto;
}
.right-contact{
    width: 50%;
    height: inherit;
    padding: 1.5rem 1rem;
}
.right-contact form{
    width: 100%;
    height: fit-content;
    background-color: azure;
    padding: 3rem 1rem;
    border-radius: 1rem;
}
form input, textarea{
    display: flex;
    width: inherit;
    height: 3rem;
    margin-bottom: 1.5rem;
    border-radius: 0.3rem;
    border: none;
    padding: 0.3rem;
    box-shadow: 2px 2px 5px gainsboro;
}
input:focus{
    outline-color: blue;
}
textarea:focus{
    outline-color: blue;
}
textarea{
    height: 7rem;
}
button{
    padding: 1rem;
    border: none;
    border-radius: 0.3rem;
    background-color: blue;
    color: white;
    float: left;
    cursor: pointer;
}
button:hover{
    background-color: rgb(1, 1, 136);
    transition: all 0.3s ease-out;
}
footer{
    max-width: 100%;
    margin: auto;
    background-color: blue;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 3rem;
    border-radius: 3rem 3rem 0 0;
}
.footer-container{
    display: flex;
    justify-content: space-between;
    padding: 0 10rem;
}
.foot-contact{
    margin-right: 1rem;
}
.foot-contact p{
    margin: 1rem 0;
}
.foot-links{
    display: flex;
    flex-direction: column;
    color: white;
    margin-left: 3rem;
}
.foot-links a{
    color: white;
    margin: 0.5rem 0;
    padding: 0.3rem 2rem;
}
.foot-links a:hover{
    background-color: rgb(1, 1, 136);
}
.footer{
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-top: 2px solid white;
    padding-top: 1rem;
}
@media (max-width: 760px) {
    /* nav{
        align-items: center;
        justify-content: space-between;
    }
    
    nav .show{
        display: block !important;
        padding: 10px;
        margin-right: -20px;
    } */
    nav{
        max-width: 100%;
        display: flex;
    }
    main #home{
        text-align: center;
        font-size: 0.5rem;
        padding-bottom: 5rem;
        height: fit-content;
    }
    main #home h1{
        font-size: 2rem;
    }
        main #home .overlay{
            height: fit-content;
        }
   .overlay a{
        font-size: 0.7rem;
    }
    main #home p{
        font-size: 1.2rem;
    }
    #about{
        height: fit-content;
        padding: 0 1rem;
    }
    #about h1{
        font-size: 2rem;
    }
    #services{
        height: fit-content;
        justify-content: center;
    }

    .container:hover{
        scale: 0;

    }
    #services .container{
        display: block;
        margin: 0 2rem;
    }
    #services h1{
        font-size: 2rem;
    }
    #contact h1{
        font-size: 2rem;
    }
    #contact p{
        font-size: 1rem;
    }
    #contact{
        height: fit-content;
    }
    #contact .containers{
        display: flex;
        flex-direction: column;
        height: fit-content;
    }
    form{
        height: 3rem;
    }
    form button{
        width: 100%;
    }
    .right-contact{
        width: 100%;
        padding: 1rem 0;
    }
    .left-contact{
        text-align: center;
     }
    .left-contact img{
       display: none;
    }
    footer{
        height: fit-content;
        text-align: center;
        padding: 1rem 0.5rem;
        margin-top: 1rem;
    }
    .footer-container{
        display: block;
        text-align: center;
        padding: 0;
    }
   .foot-contact {
       margin: 0;
       text-align: center;
    }
    
    .foot-links {
        display: none;
    }

    .container .image-1, .image-2, .image-3, .image-4{
        margin: 10px auto;
    }
    .hideOnmobile{
        display: none;
    }
    #menu-btn{
        display: block !important;
    }
    @media (max-width: 400px) {
        .side-bar{
            width: 100%;
        }
        
    }
    .animation{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid blue;
    opacity: 0.4;
    position: relative;
    animation: bg-anim 3s ease-in-out 5ms infinite alternate;
}
@keyframes bg-anim {
    0%   {border:3px solid blue; left:0px; top:0px;}
    25%  {border:3px solid blue; left:150px; top:0px;}
    50%  {border:3px solid blue; left:150px; top:150px;}
    75%  {border:3px solid blue; left:0px; top:150px;}
    100% {border:3px solid blue; left:0px; top:0px;}   
}
}
/* CTA */
.cta {
    background: #2563eb;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 3rem;
}
#menu-btn{
    display: none;
}
.side-bar{
    display: none;
}
/* .sidebar{
    position: fixed;
    top: 0;
    right: 0;
    width: 100px;
    height: 50vh;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.415);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0 15px;
}

.sidebar a{
    width: 100%;
} */
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}

.cta a {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 1rem;
}

.cta a:hover {
  background: #f1f1f1;
}
.hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 30px 0 20px;
}
.section .values{
    margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cards */
.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
