
        
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('images/bg.jpeg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
   
}

.content-section {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 1.9);
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0.8;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.about-section img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.about-section div {
    flex: 1 1 300px;
    text-align: justify;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    width: 250px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.2em;
    margin: 15px 0 10px;
    text-align: center;
}

.service-card p {
    font-size: 0.9em;
    margin: 0 10px 15px;
    color: #666;
    text-align: center;
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

.button-container a, .contact-form button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    color: #fff;
    background-color: gray;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button-container a:hover, .contact-form button:hover {
    background-color: #0056b3;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    animation: fadeIn 1.5s ease-out;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 20px;
    font-size: 1em;
    color: #fff;
    /* background-color: #007bff; */
    border-radius: 5px;
    cursor: pointer;
    margin: 0 auto;
}

.contact-form button i {
    font-size: 1.2em;
}


/* header  coding  */


@import url("https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900&display=swap");
.about {
position: fixed;
z-index: 10;
bottom: 10px;
right: 10px;
width: 40px;
height: 40px;
display: flex;
justify-content: flex-end;
align-items: flex-end;
transition: all 0.2s ease;
}
.about .bg_links {
width: 40px;
height: 40px;
border-radius: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.2);
border-radius: 100%;
backdrop-filter: blur(5px);
position: absolute;
}
.about .logo {
width: 40px;
height: 40px;
z-index: 9;
background-image: url(https://rafaelavlucas.github.io/assets/codepen/logo_white.svg);
background-size: 50%;
background-repeat: no-repeat;
background-position: 10px 7px;
opacity: 0.9;
transition: all 1s 0.2s ease;
bottom: 0;
right: 0;
}
/* .about .social {
opacity: 0;
right: 0;
bottom: 0;
}
.about .social .icon {
width: 100%;
height: 100%;
background-size: 20px;
background-repeat: no-repeat;
background-position: center;
background-color: transparent;
display: flex;
transition: all 0.2s ease, background-color 0.4s ease;
opacity: 0;
border-radius: 100%;
}
.about .social.portfolio {
transition: all 0.8s ease;
}
.about .social.portfolio .icon {
background-image: url(https://rafaelavlucas.github.io/assets/codepen/link.svg);
}
.about .social.dribbble {
transition: all 0.3s ease;
}
.about .social.dribbble .icon {
background-image: url(https://rafaelavlucas.github.io/assets/codepen/dribbble.svg);
}
.about .social.linkedin {
transition: all 0.8s ease;
}
.about .social.linkedin .icon {
background-image: url(https://rafaelavlucas.github.io/assets/codepen/linkedin.svg);
}
.about:hover {
width: 105px;
height: 105px;
transition: all 0.6s cubic-bezier(0.64, 0.01, 0.07, 1.65);
}
.about:hover .logo {
opacity: 1;
transition: all 0.6s ease;
}
.about:hover .social {
opacity: 1;
}
.about:hover .social .icon {
opacity: 0.9;
}
.about:hover .social:hover {
background-size: 28px;
}
.about:hover .social:hover .icon {
background-size: 65%;
opacity: 1;
}
.about:hover .social.portfolio {
right: 0;
bottom: calc(100% - 40px);
transition: all 0.3s 0s cubic-bezier(0.64, 0.01, 0.07, 1.65);
}
.about:hover .social.portfolio .icon:hover {
background-color: #698fb7;
}
.about:hover .social.dribbble {
bottom: 45%;
right: 45%;
transition: all 0.3s 0.15s cubic-bezier(0.64, 0.01, 0.07, 1.65);
}
.about:hover .social.dribbble .icon:hover {
background-color: #ea4c89;
}
.about:hover .social.linkedin {
bottom: 0;
right: calc(100% - 40px);
transition: all 0.3s 0.25s cubic-bezier(0.64, 0.01, 0.07, 1.65);
}
.about:hover .social.linkedin .icon:hover {
background-color: #0077b5;
} */

* {
margin: 0;
padding: 0;
list-style: none;
border: 0;
outline: 0;
-webkit-tap-highlight-color: transparent;
text-decoration: none;
color: inherit;
box-sizing: border-box;
}
*:focus {
outline: 0;
}

body {
font-family: "Raleway", sans-serif;
}

.mainNav {
width: 100%;
height: 80px;
position: absolute;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: center;
color: #9197ae;
text-transform: uppercase;
padding: 0 40px;
}
@media screen and (max-width: 799px) {
.mainNav {
padding: 0 20px;
}
}
.mainNav__logo {
font-weight: 800;
letter-spacing: 1px;
font-size: 18px;
}
.mainNav__links {
display: flex;
}
@media screen and (max-width: 799px) {
.mainNav__links {
display: none;
}
}
.mainNav__link {
letter-spacing: 1px;
font-size: 14px;
margin-left: 20px;
font-weight: 600;
box-shadow: inset 0px -10px 0px rgba(255, 255, 255, 0.5);
transition: all 0.4s ease, transform 0.2s ease;
padding: 2px 4px;
transform: translateY(0px);
}
.mainNav__link:hover {
transform: translateY(-5px);
box-shadow: inset 0px -20px 0px rgba(255, 255, 255, 0.521);
}
.mainNav__icon {
background-image: url(https://rafaelalucas91.github.io/assets/icons/black/icon-141.svg);
width: 32px;
height: 32px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
display: none;
}
@media screen and (max-width: 799px) {
.mainNav__icon {
display: block;
}
}

.mainHeading {
width: 100%;
height: 100%;
position: relative;
padding: 0 40px;
background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}
@media screen and (max-width: 799px) {
.mainHeading {
padding: 0 20px;
}
}
.mainHeading__content {
max-width: 1110px;
min-height: 600px;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
@media screen and (max-width: 799px) {
.mainHeading__content {
min-height: 500px;
}
}
.mainHeading__text {
z-index: 1;
color: #637498;
background-color: rgba(255, 255, 255, 0.2);
padding: 40px;
max-width: 620px;
margin-top: 100px;
width: 70%;
backdrop-filter: blur(8px);
animation: text 0.8s 0.6s ease backwards;
position: relative;
}
.mainHeading__text:before {
content: "";
position: absolute;
width: 5px;
height: 100%;
background-color: rgba(255, 255, 255, 0.5);
top: 0;
left: 0;
animation: line 0.8s 0.6s ease backwards;
}
@keyframes line {
0% {
right: 0;
width: 100%;
opacity: 0;
}
}
@media screen and (max-width: 799px) {
.mainHeading__text {
padding: 20px;
margin: 90px 0 40px 0;
}
}
@keyframes text {
0% {
opacity: 0;
transform: translateX(200px);
}
}
.mainHeading__preTitle {
text-transform: uppercase;
font-weight: 600;
letter-spacing: 2px;
margin-bottom: 16px;
color: #637498;
}
.mainHeading__title {
text-transform: uppercase;
font-weight: 200;
letter-spacing: 2px;
margin-bottom: 24px;
font-size: 40px;
color: #637498;
}
@media screen and (max-width: 799px) {
.mainHeading__title {
margin-bottom: 16px;
font-size: 28px;
}
}
.mainHeading__description {
letter-spacing: 0.5px;
font-size: 16px;
line-height: 26px;
}
@media screen and (max-width: 799px) {
.mainHeading__description {
font-size: 14px;
}
}
.mainHeading__image {
right: 0;
max-width: 600px;
width: 60%;
height: 600px;
transform: translatey(100px);
position: absolute;
overflow: hidden;
animation: image 0.6s 0.2s ease backwards;
}
@media screen and (max-width: 799px) {
.mainHeading__image {
height: 480px;
width: 70%;
transform: translatey(80px);
right: -6%;
}
}
@keyframes image {
0% {
opacity: 0;
transform: translatey(200px);
}
}
.mainHeading__image:before, .mainHeading__image:after {
content: "";
position: absolute;
width: 100%;
height: 0%;
top: 100%;
background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
opacity: 1;
left: 0;
}
.mainHeading__image:before {
animation: imageBefore 1s 0.2s ease backwards;
}
@keyframes imageBefore {
0% {
height: 100%;
top: 0;
}
}
.mainHeading__image:after {
background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
height: 100%;
top: 0;
opacity: 0.2;
}
.mainHeading__image img {
width: 100%;
height: 100%;
}

.cta {
padding: 16px 32px;
color: #637498;
background-color: transparent;
border: 1px solid rgba(99, 116, 152, 0.4);
font-family: "Raleway", sans-serif;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 600;
margin-top: 32px;
cursor: pointer;
box-shadow: inset 0px 0px 0px rgba(99, 116, 152, 0.2);
transition: all 0.4s ease;
}
.cta:hover {
border: 1px solid rgba(99, 116, 152, 0.1);
box-shadow: inset 0px -80px 0px rgba(99, 116, 152, 0.1);
transform: translateY(-5px);
}
@media screen and (max-width: 799px) {
.cta {
margin-top: 16px;
}
}



/* Unique CSS for Back to Top button */
#backToTopUnique {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333; /* Light black */
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px; /* Reduced size */
    height: 40px; /* Reduced size */
    font-size: 22px; /* Smaller font size */
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#backToTopUnique:hover {
    background-color: #555555; /* Darker black on hover */
    opacity: 1;
    transform: scale(1.1);
}

#backToTopUnique:active {
    transform: scale(0.95);
}

/* Removed the arrow from the pseudo-element to avoid duplication */
#backToTopUnique {
    font-size: 20px; /* Adjusted size for the arrow */
}

/* Adding a pulse effect for added visual interest */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

#backToTopUnique.pulse-animation {
    animation: pulse 1.5s infinite;
}



.mainNav__links {
    display: flex;
    gap: 20px;
}

.mainNav__link {
    color:  #9197ae;
    text-decoration: none;
    font-weight: 600;
}

.mainNav__icon {
    display: none;
}

@media screen and (max-width: 768px) {
    .mainNav__links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #0e110c0c;
        padding: 20px;
        border-radius: 5px;
    }

    .mainNav__icon {
        display: block;
        cursor: pointer;
    }

    .mainNav__links.active {
        display: flex;
    }
}

  