@import url('https://fonts.googleapis.com/css2?family=Bungee+Outline&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
/* NAVRBAR */

html, body{
    width: 100%;
    height: 100%;
  
}
#logo{
    width:60px !important;
    height:60px !important;
    border-radius: 50px;
    position: relative;
    margin-top: 7px !important;
   
}


.navbar {
    background-color: #ffffff;
    height: 80px;
   /*  margin: 20px; */
   /*  border-radius: 16px; */
    padding: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    overflow: hidden !important;
}

.navbar-brand {
    font-weight: 500;
    color: #ffffff;
    font-size: 24px;
    transition: color 0.3s;
}

.login-button {
    background-color: #4e0248;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #000000;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    background-color: transparent;
    color:#f3c821;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: #007bff;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    font-size: 18px;
    letter-spacing: 3px;
}

.nav-link:hover,
.nav-link.active {
    color: #f3c821;
}

/* Adjust link color for small screens when navbar background is white */
@media screen and (max-width: 768px) {
    .navbar {
        background-color: #ffffff;
    }
    
    .navbar-brand,
    .nav-link {
        color: black; /* Change link color to black for better visibility */
    }
    #logo{
        width:60px;
        height:60px;
        border-radius: 50px;
        position: relative;
        margin-top: -7px !important;
       
    }
}


@media (max-width:991px){
.nav-link::before{
    content: " ";
    position: absolute;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}
.nav-link:hover::before, .nav-link.active::before{
    width: 100%;
    visibility: visible;
}
#logo{
    width:60px;
    height:60px;
    border-radius: 50px;
    position: relative;
    margin-top: -7px !important;
   
}
}

@media (max-width:576px){
    .nav-link::before{
        content: " ";
        position: absolute;
        bottom:0;
        left:50%;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }
    .nav-link:hover::before, .nav-link.active::before{
        width: 100%;
        visibility: visible;
    }
    #logo{
        width:60px;
        height:60px;
        border-radius: 50px;
        position: relative;
        margin-top: -10px !important;
       
    }
    }
    
@media (max-width:1280px){
    .nav-link::before{
        content: " ";
        position: absolute;
        bottom:0;
        left:50%;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }
    .nav-link:hover::before, .nav-link.active::before{
        width: 100%;
        visibility: visible;
    }
    #logo{
        width:60px;
        height:60px;
        border-radius: 50px;
        position: relative;
        margin-top: -7px !important;
       
    }
    }


/* NAVBAR END */
.hero-section{
    background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.4)),url(images/responsive.jpg);

    background-position: center;
    flex-direction: column;
   /*  background-color: #0056b3; */
        background-size: cover;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    animation: floating 2.5s ease-in-out infinite alternate;
}


@media screen and (max-width: 576px){

    .hero-section{
        background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.4)),url(images/responsive.jpg);
    
        background-position: center;
        flex-direction: column;
       /*  background-color: #0056b3; */
            background-size: cover;
        width: 100%;
        height: 80vh;
        position: relative;
        overflow: hidden;
    }


}
@media screen and (max-width: 768px){

    .hero-section{
        background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.4)),url(images/responsive.jpg);
    
        background-position: center;
        flex-direction: column;
       /*  background-color: #0056b3; */
            background-size: contain;
        width: 100%;
        height: 95vh;
        position: relative;
        overflow: hidden;
    }


}
@media screen and (max-width: 960px){

    .hero-section{
        background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.4)),url(images/responsive.jpg);
    
        background-position: center;
        flex-direction: column;
       /*  background-color: #0056b3; */
            background-size: cover;
        width: 100%;
        height: 95vh;
        position: relative;
        overflow: hidden;
    }


}
@media screen and (max-width: 1280px){

    .hero-section{
        background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.4)),url(images/responsive.jpg);
        
        background-position: center;
        flex-direction: column;
       /*  background-color: #0056b3; */
            background-size: cover;
        width: 100%;
        height: 90vh;
        position: relative;
        overflow: hidden;
    }


}



.hero-s::before{
    background-color: rgba(0,0,0,0.6);
    content: " ";
    position: absolute;
    top:0;
    right:0;
    bottom: 0;
    left: 0;
}
.hero-section .container{
    height: 100vh;
    z-index: 1;
    position: relative;
}
.hero-section h1 {
  /*   font-family: "Bungee Outline", sans-serif; */
    font-size: 6vh;
    font-weight: 900;
    letter-spacing: 5px;
    color:  #ffffff;
    text-align: center;
    overflow: hidden; 
    white-space: nowrap; 
    background: rgb(2, 109, 136); /* Fallback color */
  background: rgba(3, 92, 119, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1;
  border-radius: 35px;
  box-shadow: inset rgb(1, 110, 160) 0px 0px 60px -12px; 
  padding: 20px;
   /*  text-shadow: 
        0 0 10px rgba(14, 13, 13, 0.5), 
        0 0 20px rgba(0, 0, 0, 0.808) *//* ,
        0 0 30px rgba(0, 255, 0, 0.5), 
        0 0 40px rgba(0, 0, 255, 0.5) */;
    animation: typeWriter 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite forwards; 
}


@keyframes typeWriter {
    from {
        width: 0;
    }
    to {
        width: 100%; 
    }
}

@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 12px; 
        
        
    }
}

@media screen and (max-width: 576px) {
    .hero-section h1 {
        font-size: 10px; 
    }
}



.hero-section h2{
    background-color: black;
    font-size: 2rem;
    color: rgb(255, 189, 7);
    text-align: center;
   animation: slideInUp1 4s ease-out forwards infinite;
   letter-spacing: 10px;
   border-radius: 8px;
   
}


.hero-section p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    animation: fadeIn 3s ease-out forwards;
    letter-spacing: 6.2px;
}


@media screen and (max-width: 768px) {
    .hero-section p {
        font-size: 14px; 
    }
    .hero-section h2{
        font-size: 16px;
        padding: 10px;
    }
}
@media screen and (max-width: 576px) {
    .hero-section p {
        font-size: 10px; 
    }
}

    

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(70px)
        
    }
    to {
        opacity: 1;
        transform: translateY(0);
       
    }
}
@keyframes slideInUp1 {
    from {
        opacity: 0;
        transform: translateY(70px)
        
    }
    to {
        opacity: 1;
        transform: translateY(0);
       
    }
  

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* #gallery */




.map {
    height: 400px; 
    border: 1px solid #ccc; 
}

.address {
    padding: 20px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    background-color: #f9f9f9; 
}

.address h2 {
    margin-top: 0; 
    font-size: 24px; 
    color: #333; 
}

.address p {
    margin: 10px 0; 
    font-size: 16px; 
    color: #666; 
}

#map{
    margin-top: 5rem;
}
#map iframe {
  
    margin-bottom: 5rem;
    width: 500px;
    height: 500px;
    border-radius: 0px 30px 0px 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
@media (max-width: 768px) {
    #map iframe {
        width: 100%; 
        height: 300px;
        border-radius: 30px; 
    }
}
#map h2{
    color: #000;
    font-size: 32px;
    font-weight: bold;
    font-family: sans-serif;
}
#map p{
    color: #000;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 30px;
}





#servlink1{
    background-color: #ca2f00;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
#servlink2{
    background-color: #0051ff;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
#servlink3{
    background-color: #000000;
    color: #00ff40;
    font-size: 18px;
    font-weight: bold;
}


.service-link {
    display: block;
    text-align: center;
    padding: 20px 0;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-top: 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: #ddd;
}



.gallery-item #img3 {
    margin-top: 1rem;
    width: 100%;
    height: auto;
    animation: floating 2s ease-in-out infinite alternate; /* Apply floating animation to each image */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 15px 50px 30px;
}


@media screen and (max-width: 768px) {
    .gallery-item #img3 {
        display: block; /* Ensure the image behaves as a block element */
        margin: 0 auto; /* Set left and right margins to auto to center the image horizontally */
        width: 250px;
        height: 250px;
        animation: floating 2s ease-in-out infinite alternate; /* Apply floating animation */
        margin-top: 1rem;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
        border-radius: 15px 50px 30px;
    }
}


.gallery-item #img1 {
    margin-top: 1rem;
    width: 100%;
    height: auto;
    animation: floating 1s ease-in-out infinite alternate; /* Apply floating animation to each image */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 15px 50px 30px;
}

@media screen and (max-width: 768px) {
    .gallery-item #img1 {
        display: block; /* Ensure the image behaves as a block element */
        margin: 0 auto; /* Set left and right margins to auto to center the image horizontally */
        width: 250px;
        height: 250px;
        animation: floating 1s ease-in-out infinite alternate; /* Apply floating animation */
        margin-top: 1rem;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 15px 50px 30px; 
    }
}



.gallery-item #img2 {
    margin-top: 1rem;
    width: 100%;
    height: auto;
    animation: floating 1.5s ease-in-out infinite alternate; /* Apply floating animation to each image */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 15px 50px 30px;
}


@media screen and (max-width: 768px) {
    .gallery-item #img2 {
        display: block; /* Ensure the image behaves as a block element */
        margin: 0 auto; /* Set left and right margins to auto to center the image horizontally */
        width: 250px;
        height: 250px;
        animation: floating 1.5s ease-in-out infinite alternate; /* Apply floating animation */
        margin-top: 1rem;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
        border-radius: 15px 50px 30px;
    }
}

.gallery-item #img4 {
    margin-top: 1rem;
    width: 100%;
    height: auto;
    animation: floating 1s ease-in-out infinite alternate; /* Apply floating animation to each image */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 15px 50px 30px;
}


@media screen and (max-width: 768px) {
    .gallery-item #img4 {
        display: block; /* Ensure the image behaves as a block element */
        margin: 0 auto; /* Set left and right margins to auto to center the image horizontally */
        width: 250px;
        height: 250px;
        animation: floating 1s ease-in-out infinite alternate; /* Apply floating animation */
        margin-top: 1rem;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
        border-radius: 15px 50px 30px;
    }
}
.gallery-item #img5 {
    margin-top: 1rem;
    width: 100%;
    height: auto;
    animation: floating 2s ease-in-out infinite alternate; /* Apply floating animation to each image */
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    border-radius: 15px 50px 30px;
}
@media screen and (max-width: 768px) {
    .gallery-item #img5 {
        display: block; /* Ensure the image behaves as a block element */
        margin: 0 auto; /* Set left and right margins to auto to center the image horizontally */
        width: 250px;
        height: 250px;
        animation: floating 2s ease-in-out infinite alternate; /* Apply floating animation */
        margin-top: 1rem;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
        border-radius: 15px 50px 30px;
    }
}


@keyframes floating {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .gallery-item:hover .overlay {
    opacity: 1;
} */

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
}






/* ABOUT */
#About{
   /*  background-color: #3506a3; */
   background-color: #007bff;
   min-height: 80vh;
  
}
#About .animate{
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpab 1s forwards;
}
@keyframes slideUpab {
    from {
        opacity: 0;
        transform: translateY(20px); /* Start with translateY to move the content down */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move the content up */
    }
}
#About h1{
    text-align: center;
    font-weight: 500;
    text-decoration: underline;
    letter-spacing: 5px;
    color: #ffffff;
    }
    #About p{
        text-align: justify;
        font-weight: 600;
        letter-spacing: 2.5px;
        line-height: 32px;
        color: #fff;
    }


#site img{
    width: 600px;
    height: 400px;
   
}




/* #Details */

#Details{
background-color: black;
min-height: 80vh;

}
#Details h4{
    color: blue;
    text-align: center;
}
#Details p{
    color: #fff;
}
#Details .icon2{
    display: block;
    margin: 0 auto;
    margin-top: 3rem;
    font-size: 30px;
    color: red;
    font-weight: 600;
    animation: floating1 1s ease-in-out infinite alternate;
    }

    
@keyframes floating1 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}


#Details .icon1{
    
   
    margin-top: 3rem ;
    font-size: 25px;
    margin-right: 1rem;
    align-items: center;
    font-weight: 600;
    animation: floating2 1s ease-in-out infinite alternate;
}
@keyframes floating2 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}

#htmli{
    color: red;
    animation: floating3 1s ease-in-out infinite alternate;

}
@keyframes floating3 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}

#cssi{
    color: blue;
    animation: floating4 1.5s ease-in-out infinite alternate;
}
@keyframes floating4 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}

#jsi{
    color:#f3c821;
    animation: floating5 2s ease-in-out infinite alternate;

}
@keyframes floating5 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}
#nodei{
    color: green;
    animation: floating6 1s ease-in-out infinite alternate;
}

@keyframes floating6 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}
#Reacti{
    color: yellowgreen;
    animation: floating7 1.5s ease-in-out infinite alternate;

}
@keyframes floating7 {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px); /* Apply floating effect */
    }
}



/* #SITE */
#Site{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

#Site img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: auto;
}


@media screen and (min-width:576px) {
    #Site img{
        width: 50px;
        height: auto;
    }
}
@media screen and (min-width:768px) {
    #Site img{
        width: 60px;
        height: auto;
    }
}
@media screen and (min-width:968px) {
    #Site img{
        width: 65px;
        height: auto;
    }
}
@media screen and (min-width:1280px) {
    #Site img{
        width: 70px;
        height: auto;
    }
}
#Site p{
    font-size: 18px;
    line-height: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: justify;
}


#gridimg{
    margin-top:3rem !important;
    align-items: center;
    width: 80px;
    height:80px;
   
    
}
@media screen and (max-width: 768px) 
{
    #gridimg{
        align-items: center;
        width: 50px;
        height:50px;
        border-radius: 15px; 
    
        
    }


}
@media screen and (max-width: 576px) 
{
    #gridimg{
        align-items: center;
        width: 50px;
        height:50px;
        border-radius: 15px; 
        
    }


}

      


#Desc{
   background-color: #007bff;
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
}
@keyframes squeezeAnimation {
    0% {
        transform: scale(1); /* Normal size */
    }
    50% {
        transform: scale(0.9); /* Squeezed */
    }
    100% {
        transform: scale(1); /* Back to normal size */
    }
}

#Desc img {
    width: 500px;
    height: 400px;
    background-size: contain;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: squeezeAnimation 2s ease infinite; /* Apply the animation */
}
#Desc ul {
    list-style: none;
}

#Desc button{
    background-color: #fff;
    color: #2824f1;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.5s ease;
}
#Desc button:hover {
    transform: scale(1.1); /* Scale up the button on hover */
}

#Desc button:active {
    transform: scale(0.9); /* Scale down the button when it's clicked */
}


#desc2 img{
    margin-top: 10rem !important;
    width: 500px;
    height:400px;
    background-size: contain;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: squeezeAnimation 2s ease infinite;
}
#desc2{
    display: flex;
    align-items: center;
    justify-content: center;
}
#desc2 ul{
    list-style: none;
}
#desc2 button{
    background-color: #2824f1;
    color: #ffff;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.5s ease;
}
#desc2 button:hover {
    transform: scale(1.1); /* Scale up the button on hover */
}

#desc2 button:active {
    transform: scale(0.9); /* Scale down the button when it's clicked */
}


#desc3{
    background-color: #007bff;
    color: #fff;
 }
 #desc3 img{
    margin-top: 10rem !important;
    width: 500px;
    height:400px;
    background-size: contain;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: squeezeAnimation 2s ease infinite;
}
#desc3{
    display: flex;
    align-items: center;
    justify-content: center;
}
#desc3 ul{
    list-style: none;
}
#desc3 button{
    background-color: #fff;
    color: #2824f1;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

#desc3 button:hover {
    transform: scale(1.1); /* Scale up the button on hover */
}

#desc3 button:active {
    transform: scale(0.9); /* Scale down the button when it's clicked */
}

#desc4 img{
    margin-top: 10rem !important;
    width: 500px;
    height:400px;
    background-size: contain;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: squeezeAnimation 2s ease infinite;
}
#desc4{
    display: flex;
    align-items: center;
    justify-content: center;
}
#desc4 ul{
    list-style: none;
}


#desc4 button{
    background-color: #2824f1;
    color: #ffff;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.5s ease;
}


#desc4 button:hover {
    transform: scale(1.1); /* Scale up the button on hover */
}

#desc4 button:active {
    transform: scale(0.9); /* Scale down the button when it's clicked */
}

#desc5 img{
    margin-top: 10rem !important;
    width: 500px;
    height:400px;
    background-size: contain;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: squeezeAnimation 2s ease infinite;
}
#desc5{
    background-color: #007bff;
    color: #fff;
 }

#desc5{
    display: flex;
    align-items: center;
    justify-content: center;
}
#desc5 ul{
    list-style: none;
    font-size: 18px;
}

#desc5 button{
    background-color: #fff;
    color: #2824f1;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.5s ease;
}


#desc5 button:hover {
    transform: scale(1.1); /* Scale up the button on hover */
}

#desc5 button:active {
    transform: scale(0.9); /* Scale down the button when it's clicked */
}


#desc6 img{
    margin-top: 10rem !important;
    width: 500px;
    height:400px;
    background-size: contain;
    border-radius: 30px;
    margin-bottom: 1rem;
    animation: squeezeAnimation 2s ease infinite;
}

#desc6{
    display: flex;
    align-items: center;
    justify-content: center;
}
#desc6 ul{
    list-style: none;
}
#desc6 button{
    background-color: #2824f1;
    color: #ffff;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: transform 0.5s ease;
}
#desc6 button:hover {
    transform: scale(1.1); /* Scale up the button on hover */
}

#desc6 button:active {
    transform: scale(0.9); /* Scale down the button when it's clicked */
}












@media screen  and (max-width:576px) {

    @keyframes squeezeAnimation {
        0% {
            transform: scale(1); /* Normal size */
        }
        50% {
            transform: scale(0.9); /* Squeezed */
        }
        100% {
            transform: scale(1); /* Back to normal size */
        }
    }

    #Desc img{
        width: 200px;
        height:100px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc2 img{
        width: 200px;
        height:100px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc3 img{
        width: 200px;
        height:100px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc4 img{
        width: 200px;
        height:100px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc5 img{
        width: 200px;
        height:100px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc6 img{
        width: 200px;
        height:100px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
}






@media screen  and (max-width:768px) {

    @keyframes squeezeAnimation {
        0% {
            transform: scale(1); /* Normal size */
        }
        50% {
            transform: scale(0.9); /* Squeezed */
        }
        100% {
            transform: scale(1); /* Back to normal size */
        }
    }

    #Desc img{
        width: 250px;
        height:150px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc2 img{
        width: 250px;
        height:150px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc3 img{
        width: 250px;
        height:150px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc4 img{
        width: 250px;
        height:150px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc5 img{
        width: 250px;
        height:150px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc6 img{
        width: 250px;
        height:150px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
}







@media screen  and (max-width:968px) {


    @keyframes squeezeAnimation {
        0% {
            transform: scale(1); /* Normal size */
        }
        50% {
            transform: scale(0.9); /* Squeezed */
        }
        100% {
            transform: scale(1); /* Back to normal size */
        }
    }


    #Desc img{
        width: 300px;
        height:200px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc2 img{
        width: 300px;
        height:200px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc3 img{
        width: 300px;
        height:200px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc4 img{
        width: 300px;
        height:200px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc5 img{
        width: 300px;
        height:200px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc6 img{
        width: 300px;
        height:200px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
}





@media screen  and (max-width:1280px) {



    @keyframes squeezeAnimation {
        0% {
            transform: scale(1); /* Normal size */
        }
        50% {
            transform: scale(0.9); /* Squeezed */
        }
        100% {
            transform: scale(1); /* Back to normal size */
        }
    }


    #Desc img{
        width: 350px;
        height:250px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc2 img{
        width: 350px;
        height:250px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc3 img{
        width: 350px;
        height:250px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc4 img{
        width: 350px;
        height:250px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc5 img{
        width: 350px;
        height:250px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
    #desc6 img{
        width: 350px;
        height:250px;
        background-size: contain;
        border-radius: 30px;
        margin-bottom: 1rem;
        animation: squeezeAnimation 2s ease infinite;
    }
}











#testimonials{
    margin: 50px auto;
    background-color: #007bff;
 }
 #testimonials h1{
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    padding-bottom: 10px;
    text-transform: uppercase;
 }
 #testimonials h1::after
 {
content: '';
background: #c20d0d;
display: block;
height: 3px;
width: 170px;
margin: 20px auto 5px;
}
#testimonials .row{
    margin-top: 30px;

}
#testimonials .col-md-4{
    margin-top: 40px auto;
}
#testimonials .profile{
    padding: 70px 10px 10px;
    background-color: #ffffff;

}
#testimonials img{
    top: -60px;
    position: absolute;
    left: calc(50% - 60px);
    border: 10px solid white;   
}

#testimonials .g1{
    width: 120px;
    height: 120px;
    border-radius: 50%;
}
#testimonials .profile h3{
    font-size: 20px;
    margin-top: 15px;
    color: #0051ff;

}

#testimonials span{
    font-size: 12px;
    color: #000;
}
#testimonials blackquote{
font-size: 16px;
line-height: 30px;
}
#testimonials blackquote::before{
    content: '\93';
    position: relative;
    color:#c20d0d;
    line-height: 20px;
    bottom: -15px;
    right:5px;

}
#testimonials blackquote::after{
    content: '\94';
    font-size: 50px;
    position: relative;
    color:#c20d0d;
    line-height: 10px;
    bottom: -15px;
    left:5px;
}
#testimonials .profile:hover{
    box-shadow: 0 0 15px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.5s;
}


/* PRICE */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#price{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#price h2{
    text-align: center;
    background-color: #0051ff;
    color: #fff;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.tick {
    color: green;
  }
  
  .multiply {
    color: red;
  }
#price .pricing-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    
  }
  #price .card {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  #price .card-header {
    background-color: #4CAF50; /* Basic plan color */
    color: white;
    padding: 20px;
    font-size: 24px;
  }
  #price .card-header.business {
    background-color: #E91E63; /* Business plan color */
  }
  #price .card-header.business-plus {
    background-color: #C2185B; /* Business plus plan color */
  }
  #price .card-body {
    padding: 15px;
    background-color: white;
  }
  #price .price {
    font-size: 28px;
    color: #fff;
    background-color: slateblue;
    margin: 20px 0;
    font-weight: bold;
    border-radius: 0px 10px 0px 10px;

  }
  #price .feature {
    border-top: 1px solid #eee;
    padding: 10px 0;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
  }
/* 
#price{
    display: flex;
    align-items: center;
    justify-content: center;
   
}
#price h1{
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: underline;
}
#price h2{
    text-align: center;
   
    font-weight: 400 bold;
    border: 2px solid #4e0248;
    padding: 20px;
    border-radius: 50px;
    background-color: #2824f1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-top: 1rem;
}
#price h3{
    text-align: center;
    margin-top: 3rem;
    font-weight: 900 ;
    letter-spacing: 3px;
    margin-bottom: 3rem; 
}
#price h4{
    text-align: center;
    border: 3px solid #4e0248;
    padding: 15px;
    border-radius: 20px;
   margin-left: 30px;
    background-color: #4e0248;
    color: #000000;
    line-height: 50px;
   
}

#price ul{
    list-style: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
}
#price ul li{
    background-image: linear-gradient(to right, rgba(94, 3, 241, 0.986),rgb(119, 5, 196));
    color: #000000;
    line-height: 60px;
    border: 5px double #00ff40;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    padding: 15px;
    border-radius: 20px;
    margin-top: 2rem;
    letter-spacing: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
 */
/* DYNAMIC */
/* 
#dynamic{
    display: flex;
    align-items: center;
    justify-content: center;
}
#dynamic h2{
    margin-left: 25px;
    text-align: center;
    font-weight: 400 bold;
    border: 2px solid #4e0248;
    padding: 20px;
    border-radius: 50px;
    background-color: #2824f1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing:10px;
    margin-top: 1rem;
    font-size: 25px;
    line-height: 30px;
}
#dynamic ul{
    list-style: none;
}
#dynamic ul li{
    background-image: linear-gradient(to right, rgba(94, 3, 241, 0.986),rgb(119, 5, 196));
    color: #fff;
    line-height: 60px;
    border: 5px double #00ff40;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 15px;
    border-radius: 20px;
    margin-top: 2rem;
    letter-spacing: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}
#dynamic h4{
    text-align: center;
    border: 3px solid #4e0248;
    padding: 15px;
    border-radius: 20px;
    margin-left: 30px;
    background-color: #4e0248;
    color: #fff;
    line-height: 50px;
}

#logodes{
    display: flex;
    align-items: center;
    justify-content: center;
}
#logodes h2{
    margin-left: 25px;
    text-align: center;
    font-weight: 400 bold;
    border: 2px solid #4e0248;
    padding: 20px;
    border-radius: 50px;
    background-color: #2824f1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-top: 1rem;
    font-size: 25px;
    line-height: 40px;
}

#logodes ul{
    list-style: none;
}
#logodes ul li{
    background-image: linear-gradient(to right, rgba(94, 3, 241, 0.986),rgb(119, 5, 196));
    color: #fff;
    line-height: 60px;
    border: 5px double #00ff40;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 15px;
    border-radius: 20px;
    margin-top: 2rem;
    letter-spacing: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);


}
#logodes h4{
    text-align: center;
    border: 3px solid #4e0248;
    padding: 15px;
    border-radius: 20px;
    margin-left: 30px;
    background-color: #4e0248;
    color: #fff;
    line-height: 50px;
}
 */
/* ECOMMERCE */

/* #ecom{

    display: flex;
    align-items: center;
    justify-content: center;
}
#ecom h2{
    text-align: center;
    font-weight: 400 bold;
    border: 2px solid #4e0248;
    padding: 20px;
    border-radius: 50px;
    background-color: #2824f1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2rem;
    margin-top: 1rem;
}
#ecom ul{
    list-style: none;
}
#ecom ul li{
    color: #78089b;
    line-height: 60px;
    border: 3px solid #006db6;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 15px;
    border-radius: 20px;
    margin-top: 2rem;
    letter-spacing: 3px;

}
#dyna h4{
    text-align: center;
    border: 3px solid #4e0248;
    padding: 15px;
    border-radius: 20px;
    margin-left: 2rem;
    background-color: #4e0248;
    color: #fff;
}
 */


#inner-link{
display: flex;
align-items: center;
justify-content: center;

}

#inner-link ul{
    list-style: none;
}

#inner-link ul li{
    font-size: 18px;
    margin-top: 1rem;

}





/* FAQ2 */
.accordion{
    width:100%;
    background: transparent;
}

.accordion-item{
    background-color: #6617CB;
    color: white;
    border: none;
    box-shadow: 0 10px 12px 0 #00000033, 0 10px 20px 0 rgba(0, 0, 0, 0.19);
}
.accordion-body{
    background: #6617CB;
    font-size: 0.9rem;

}
.accordion-button1{
    font-size: 0.8rem;
    background: transparent;
    outline: none;
    border: 1px solid #000;
    color: white;
    font-weight: 500;
    
}
.accordion-button1:focus{
    box-shadow: none;
    border: 1px solid #000;
}

.accordion-button1:not(.collapsed){
    background: #78089b;
    color: #fff;
    box-shadow: none;
}

.accordion-button::after{
    background-image: none;
    content: " ⬇️";
    width: auto;
    height: auto;
}

.accordion-button1:not(.collapsed::after){
    background-image: none;
color: #fff;
}

#faq h1{
    text-align: center;
}

#helpline h1{
text-align: left;
font-size:25px;
font-weight: 500;

}

#helpline p{
line-height:50px;
font-size: 16px;
letter-spacing: 2px;

}
   


/* POPUP */



.hidden {
    display: none;
  }
  
  #contactFormContainer {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  #contactForm {
    background-image: linear-gradient(to left,rgb(63, 84, 180),#0062ca);
    color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  .floating-register {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
  }
  
  #registerButton {
    display: block;
    padding: 10px 20px;
    background-color: #0062ca;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    animation: floatingcard 1s ease-in-out infinite alternate;
}

@keyframes floatingcard{
  from {
      transform: translateY(0);
  }
  to {
      transform: translateY(-10px); /* Apply floating effect */
  }
}
  
  
  #registerButton:hover {
    background-color: #0062ca;
  }
  #white{
    color: #fff !important;
  }
  label {
      display: block;
    margin-bottom: 5px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
  }
  
  button[type="submit"] {
    background-color: #ffffff;
    color: rgb(55, 3, 177);
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  button[type="submit"]:hover {
    background-color: #ffffff;
  }
  
  


/* WM */


.contact-buttons {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    transition: top 0.3s; /* Add smooth transition */
  }
  
  .contact-buttons.scrolled {
    top: calc(100% - 100px); /* Adjust as needed */
  }
  
  .contact-buttons a {
    display: block;
    margin-bottom: 10px;
  }
  .contact-buttons a img
  {
  width: 50px; /* Adjust as needed */
  height: auto;
  border-radius: 5px;
  }
  .email-button img
   {
    width: 55px !important; /* Adjust as needed */
    height: auto;
    
    margin-bottom: -1rem;
  }
#FBS{
    margin-right: 5px !important;
}
  .instagram-button{

    width: 5px !important; /* Adjust as needed */
    height: 5px !important;


  }
.whatsapp-button img{
    width:42px;
    height: auto;
    border-radius: 6px;
    margin-top: 1rem;
    margin-left: 4px !important;
  }



  #getin h1{
    text-align: center;
    margin-top: 3rem;
    margin-top: 2rem;
    color: #2905ad;
}

#getin label{
    color: #2905ad;
    font-size: 18px;
    font-weight: bold;
}

#get-btn{
    background-color: #2905ad;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer{
    min-height: 100vh;
    background-color: #101010;
    padding: 85px 0;
    animation:  CSSscrollReveal1 ease-in-out both ;
    animation-timeline: view();
    animation-range: entry 50% cover 50%;
    margin-top: 5rem;


}
#footer i{
    font-size: 25px !important;
    margin:1rem;
    margin-top: 3rem;

}
#footer i:hover{
    color: #fff;
    font-weight: 700 !important;
}
#footer h2{
    color: #fff;
    text-transform: uppercase;
}
@media (max-width:767px){
    #footer{
        background-color: #333131;
        padding: 85px 0;
    
    
    }
}
@media (max-width:576px){
    #footer{
        background-color: #111111;
        padding: 85px 0;
    
    
    }
}
#footer p{
    color:#fff;
}
#footer button{
    padding: 10px;
    position: relative;
    background-color: #0051ff;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    letter-spacing: 5px;
}
#footer button:hover{
    background-color: #134cc9;
}

.single-box p{
color: #fff;
line-height: 1.9;
}

.single-box h3{
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.single-box.card-area{
    color: #04e617;
    font-size: 20px;
    margin-right: 10px;
}
.single-box ul{
    list-style: none;
    padding: 0;

}

.single-box ul li a{
text-decoration: none;
color: #04e617;
line-height: 2.5;
font-weight: 100;
}
.single-box ul li a:hover{
    color: #87e3ff;
}

.single-box h2{
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.basic-addon2{
    background: #ffbb00 !important;
    color: #fff;
}
.socials i{
font-size: 18px;
margin-right: 15px;
}

@media (max-width:767px){
    .single-box{
        margin-bottom: 50px;
    }
}

@media (min-width:768px) and (max-width:991px){
    .single-box{
        margin-bottom: 50px;
    }
}
#copyright{
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 15rem;
}

/* 
SCROLL EFFECT CODE */



.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}
/* 
<!-- .main-container { -->
  <!-- background: #fff; -->
  <!-- max-width: 1000px; -->
  <!-- margin: 25px 25px auto; -->
  <!-- position: relative; -->
<!-- } -->
 */
.container {
  position: relative;
  padding: 25px;
}

.container-fluid:last-of-type {
  padding-top: 0px;
}
/* 
<!-- .animation-element { -->
  <!-- position: relative; -->
  <!-- width: 30%; -->
  <!-- margin: 0% 1.33 2.66% 1.33%; -->
  <!-- float: left; -->
<!-- } -->
 */
/* 
<!-- .animation-element:nth-of-type(3n-2) { -->
  <!-- width: 31.5%; -->
  <!-- margin: 0% 1.375% 2.75% 0%; -->
  <!-- clear: left; -->
<!-- } --> */
/* 
<!-- .animation-element:nth-of-type(3n-1) { -->
  <!-- width: 31.5%; -->
  <!-- margin: 0% 1.375% 2.75% 1.375%; -->
<!-- } -->
 *//* 
<!-- .animation-element:nth-of-type(3n-0) { -->
  <!-- width: 31.5%; -->
  <!-- margin: 0% 0% 2.75% 1.375%; -->
  <!-- clear: right; -->
<!-- } -->
 */

.bounce-up .subject {
  opacity: 0;
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -o-transform: translate(0px, 200px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 200, 0px);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.bounce-up.in-view .subject {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.subject {
  float: left;
  width: 100%;
  /* <!-- margin: 0% 1.33% 2.66% 1.33%; -->
  <!-- background: #F5F5F5; -->
  <!-- padding: 15px; -->
  <!-- box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2); --> */
  /* border: solid 1px #EAEAEA; */
}
/* 
<!-- .subject:hover, -->
<!-- .subject:active { --> */
 /*  <!-- box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.25); -->
<!-- } --> */

.subject .header {
  margin: 8px 0px;
}

.subject .header .date,
.subject .header .category {
  margin: 0px;
  clear: none;
  width: 50%;
}

.subject .header .date i,
.subject .header .category i {
  margin-right: 5px;
  color: #333;
  -moz-transition: all 400ms linear;
  -webkit-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
}

.subject .header .date {
  float: left;
  text-align: left;
}

.subject .header .category {
  float: right;
  text-align: right;
}


.subject .icon {
  position: absolute;
  top: -20px;
  left: 50%;
  left: calc(50% - 20px);
}

.subject .icon i {
  width: 40px;
  height: 40px;
  color: rgb(255, 255, 255);
  font-size: 150%;
  border-radius: 50%;
  text-align: center;
  padding: 7px;
}


.subject .category-color {
  height: 7px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}

.subject.design .category-color,
.subject.design .icon i {
  background: #c0392b;
}

.subject.development .category-color,
.subject.development .icon i {
  background: #16a085;
}

.subject.photography .category-color,
.subject.photography .icon i {
  background: #2980b9;
}


.subject.development:hover .header i {
  color: #16a085;
}

.subject.design:hover .header i {
  color: #c0392b;
}

.subject.photography:hover .header i {
  color: #2980b9;
}

.subject .title {
  margin: 12px 0px;
  border-bottom: dashed 1px #ccc;
  padding-bottom: 10px;
}

.subject .content {
  margin-bottom: 8px;
}

.subject .enrole {
  position: relative;
  color: #333;
  padding: 5px 12px;
  cursor: pointer;
  float: right;
  display: inline-block;
 /*  border: solid 1px #ccc; */
  -moz-transition: all 400ms linear;
  -webkit-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
}

.subject .enrole:hover,
.subject .enrole:active {
  background: #222;
  color: #fff;
}


@media screen and (max-width: 678px) {
  .main-container {
    margin: 20px 15px;
  }
  .animation-element,
  .animation-element:nth-of-type(3n-1),
  .animation-element:nth-of-type(3n-2),
  .animation-element:nth-of-type(3n-0) {
    width: 100%;
    margin: 0px 0px 30px 0px;
  }
  .subject .header .date,
  .subject .header .category {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}