.hero,
.hero-img,
.nav-link,
.portfolio-item,
.section-title h2 {
    position: relative
}

.client-img,
.contact,
.hero,
.portfolio-item {
    overflow: hidden
}

:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4ade80
}

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

body {
    font-family: Poppins, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0, #e4edf5 100%)
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Montserrat, sans-serif;
    font-weight: 700
}

.navbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    transition: .3s
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary)
}

.navbar-brand span {
    color: var(--secondary)
}

.nav-link {
    font-weight: 500;
    margin: 0 10px
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width .3s
}

.nav-link.active:after,
.nav-link:hover:after {
    width: 100%
}

.btn-primary {
    background: #f56c1c;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: .3s
}

.hero:after,
.hero:before {
    border-radius: 50%;
    content: '';
    position: absolute
}

.btn-primary:hover {
    background: #14a4d8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, .3)
}

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(120deg, #e0f7fa 0, #bbdefb 100%)
}

.hero:before {
    width: 300px;
    height: 300px;
    background: rgba(76, 201, 240, .1);
    top: -150px;
    right: -150px
}

.hero:after {
    width: 200px;
    height: 200px;
    background: rgba(67, 97, 238, .1);
    bottom: -100px;
    left: -100px
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px
}

.hero-img {
    animation: 6s ease-in-out infinite float
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

section {
    padding: 100px 0
}

.section-title {
    text-align: center;
    margin-bottom: 60px
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 15px
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: .4s;
    height: 100%;
    border: 1px solid rgba(67, 97, 238, .1)
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, .15);
    border-color: rgba(67, 97, 238, .3)
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: var(--primary)
}

.portfolio {
    background: #f8f9fa
}

.portfolio-filter {
    margin-bottom: 40px
}

.portfolio-filter button {
    background: 0 0;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 30px;
    font-weight: 500;
    transition: .3s
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
    background: var(--primary);
    color: #fff
}

.portfolio-item {
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05)
}

.portfolio-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: .5s
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 97, 238, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s
}

.client-info,
.contact-icon {
    display: flex;
    align-items: center
}

.parsley-errors-list.filled,
.portfolio-item:hover .portfolio-overlay,
.wg-box-content:hover .wg-box-content-overlay {
    opacity: 1
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1)
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    margin: 20px 0;
    position: relative
}

.testimonial-card:after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(67, 97, 238, .1);
    font-family: serif;
    line-height: 1
}

.contact:after,
.contact:before {
    content: '';
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    position: absolute
}

.client-info {
    margin-top: 20px
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px
}

.contact {
    background: linear-gradient(135deg, #4361ee 0, #3a0ca3 100%);
    color: #fff;
    position: relative
}

.contact-info,
.social-links a {
    background: rgba(255, 255, 255, .1)
}

.contact:before {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px
}

.contact:after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px
}

.contact-form .form-control {
    background: rgba(255, 255, 255, .15);
    border: none;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    margin-bottom: 20px
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, .7)
}

.contact-info {
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px)
}

.contact-item {
    display: flex;
    margin-bottom: 25px
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px
}

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    padding: 80px 0 30px
}

.footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: .3s
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: .3s
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px)
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center
}

@media (max-width:991px) {
    .hero h1 {
        font-size: 2.8rem
    }

    section {
        padding: 80px 0
    }
}

@media (max-width:767px) {
    .hero {
        padding: 100px 0 60px
    }

    .hero h1 {
        font-size: 2.3rem
    }

    .section-title h2 {
        font-size: 2rem
    }

    .navbar-brand {
        font-size: 1.5rem
    }
}

.parsley-errors-list {
    margin: 5px 0 0;
    padding: 0;
    list-style-type: none;
    font-size: .8em;
    line-height: 1.2em;
    opacity: 0;
    transition: .3s ease-in;
    color: #dc3545
}

.parsley-error {
    border-color: #dc3545 !important;
    background-color: #fff3f3
}

.parsley-success {
    border-color: #28a745 !important;
    background-color: #f3fff5
}

.parsley-errors-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 3px
}

.parsley-errors-list li:before {
    content: "âš  ";
    position: absolute;
    left: 0;
    top: 1px
}

.parsley-error+.form-check-label {
    color: #dc3545
}

select.parsley-error {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem)
}

.parsley-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .25)
}

.parsley-success:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .25)
}