* {
    margin: 0px;
    padding: 0px;
}

#main {
    display: flex;
    justify-content: center;
    align-items: center;
} 

/* Animations */

/* Base styles for animated elements */
.animate {
    transition-duration: 1s;
    opacity: 0;
}

/* Specific animations */
.slideInBottom {
    transform: translateY(125%);
}

.slideInLeft {
    transform: translateX(-100%);
}

.slideInRight {
    transform: translateX(100%);
}

/* Apply animation when the element is visible */
.show-animation .animate {
    transform: initial; 
    opacity: 1;
}

/* Nav CSS */

nav {
    background-color: #4169E1;
    background-size: 200% 100%;
    color: white;
}

.nav-content {
    display: flex;
    padding: 0px 13%;
    justify-content: space-between;
    align-items: center;
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-end a {
    color: white;
    text-decoration: none;
    font-size: clamp(25px, 1.35vw, 30px);   
}

/* Home CSS */

body {
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10%;
margin: 30px 0px 0px 0px ;
    overflow: hidden;
}

.intro-left {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.intro-left h2 {
    font-size: 2.5vw;
}

.intro-left h2 span {
    color: #4169E1;
}

.intro-left p {
    font-size: 1.7vw;
}

.intro-left .buttons {
    padding: 0px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
}

.intro-left button {
    width: 40%;
}

.intro-right {
    width: 40%;
}

.intro-right img {
    width: 100%;
    height: 100%;
}

/* Footer CSS */

footer {
    background-color: #4169E1;
    background-size: 200% 100%;
    overflow: hidden;
    margin-top: auto;
}

.footer-content {
    display: flex;
    padding: 0px 12%;
    align-items: center;
    justify-content: space-between;
}

.form-object {
    margin: 40px 0px;
    background-color: white;
    box-shadow: 0px 0px 8px #333333;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 10px 30px;
    width: 30%;   
    opacity: 0;    
}

.form-object h2 {
    font-size: 2em;
    color: black;
    text-align: center;
}

.input-field {
    width: auto;
    position: relative;
    margin: 10px 0;
    border-bottom: 2px solid black;
}

.input-fields {    
    display: flex;
    justify-content: space-around;
    gap: 10%;   
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.3);
    transform-origin: left;
    transition: all 0.3s ease;
    color: black;
    font-size: 1em;
    transition: 0.5s;
}

.input-field input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding:0 35px 0 5px;
    color: black;
}

.input-field input:focus ~ label,
.input-field input:valid ~ label{
    top: 0;
    transform: scale(0.6, 0.6) translateX(10px);
}

.form-object textarea {
    width: 100%;
    margin: 20px 0px;
    border: 2px solid rgba(0,0,0,0.5);
    background-color: transparent;
    color: black;
    text-decoration: none;
}

.form-object button {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background: #912077;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: white;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 100px;  
}

.contact-info {
    display: flex;
    align-items: center;
    padding: 20px;  
    width: 30vw;
    justify-content: center;
    gap: 20px;
    border-radius: 25px;
    background-color: white;
    box-shadow: 0px 0px 8px #333333;
    opacity: 0;
    text-align: center;
}

.contact-info h3 {
    font-weight: lighter;
}

.contact-info i {
    padding: 5px;
    color: #912077;
    border-radius: 50%;
}

/* Other People Work */

/* Button designed by Codepen User "@yuhomyan" */

.custom-btn {
    width: 130px;
    height: 40px;
    color: #fff;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
}

.btn-3 {
    background: rgb(0,172,238);
    background: linear-gradient(0deg, rgba(0,172,238,1) 0%, rgba(2,126,251,1) 100%);
    width: 130px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
}

.btn-3 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn-3:before,
.btn-3:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    background: rgba(2,126,251,1);
    transition: all 0.3s ease;
}

.btn-3:before {
    height: 0%;
    width: 2px;
}

.btn-3:after {
    width: 0%;
    height: 2px;
}

.btn-3:hover{
    background: transparent;
    box-shadow: none;
}

.btn-3:hover:before {
    height: 100%;
}
    
.btn-3:hover:after {
    width: 100%;
}

.btn-3 span:hover{
    color: rgba(2,126,251,1);
}

.btn-3 span:before,
.btn-3 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
        background: rgba(2,126,251,1);
    transition: all 0.3s ease;
}

.btn-3 span:before {
    width: 2px;
    height: 0%;
}

.btn-3 span:after {
    width: 0%;
    height: 2px;
}

.btn-3 span:hover:before {
    height: 100%;
}

.btn-3 span:hover:after {
    width: 100%;
}
/* 
#form-container {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 50px;
    align-items: center;
    justify-content: center;
} */
 
 /* Form css - Done by codepen user Atakan Goktepe */
#form-page {
    display: flex;
    width: 100%;
}

#form-page > * {
    flex: 1;
}

/*form styles*/
#msform {
    padding: 30px;
    position: relative;
    box-sizing: border-box;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
   
    /*stacking fieldsets above each other*/
    position: relative;
}

#msform fieldset > * {
    margin-bottom: 40px;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}
 /*inputs*/
#msform input, #msform textarea, #msform select {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #4169E1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px;
    margin: 10px 5px;
    text-decoration: none;
    font-size: 14px;
}
#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #4169E1;
}
/*headings*/
.fs-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
}
.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    text-align: center;
    list-style-type: none;
    color: black;
    text-transform: uppercase;
    font-size: 9px;
    float: left;
    position: relative;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: #333;
    background: white;
    border-radius: 3px;
    z-index: 1;
    position: relative;
    margin: 0 auto 5px auto;
    border: 1px solid black;
}
 /*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    border: 1px solid black;
}
#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}
 /*marking active/completed steps green*/
 /*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
    background: #4169E1;
    color: white;
}

 /* Service Sidebar */
 
#service-sidebar-container {
    padding: 30px;
}
 
#service-sidebar {
    box-sizing: border-box;
    background-color: #4169E1;
    color: white;
    height: 100%;
    border: 2px solid black;
    border-radius: 15px;
}
 
 
#service-sidebar-title {
    display: flex;
    padding: 20px;
}
 
 
#service-sidebar-content {
    background-color: white;
    color: black;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#service-sidebar-content p {
    margin-bottom: 10px;
    font-weight: 500;
}

#service-sidebar-content ul,
#service-sidebar-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
}

#service-sidebar-content ul li,
#service-sidebar-content ol li {
    margin-bottom: 8px;
}

#service-sidebar-content strong {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
    color: #4169E1;
}

#service-sidebar {
    max-height: 600px;
    overflow-y: auto;
}

.service-section-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.service-box {
    flex: 1;
    min-width: 200px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.service-box-full {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.service-box p,
.service-box-full p {
    margin-bottom: 10px;
    font-size: 14px;
}

.service-box ul,
.service-box ol {
    padding-left: 18px;
    font-size: 14px;
    margin: 0;
}
