:root {
    --purple: #6f42c1;
    --purple-dark: #5a32ab;
    --light-purple: #f3eafe;
    --accent-color: #0acffe;
    --gradient-bg: linear-gradient(135deg, #6f42c1, #5631ce);
    --gray-bg: #f8f9fa;
    --text-dark: #343a40;
    --text-light: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.7;
}

.btn {
    border-radius: 30px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-bg);
    border: none;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a32ab, #4820b0);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(111, 66, 193, 0.6);
}

.btn-light {
    background: white;
    color: var(--purple);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: #f8f9fa;
    color: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

.text-purple {
    color: var(--purple) !important;
}

.bg-light-purple {
    background-color: var(--light-purple);
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--purple) !important;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--purple) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--purple);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 70%;
}

.hero {
    background: var(--gradient-bg);
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url('../assets/images/photo-1461749280684-dccba630e2f6.avif');
    background-size: cover;
    background-position: center;
    opacity: 0.13;  /* Slightly higher for visibility, adjust as you like */
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}


.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons .btn {
    margin: 0 10px 10px 0;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--purple);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

.services .card {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: left;
}

.services .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(111, 66, 193, 0.1);
}

.services .card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-purple);
    color: var(--purple);
    font-size: 28px;
    border-radius: 50%;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.services .card:hover .card-icon {
    background: var(--purple);
    color: white;
    transform: rotateY(180deg);
}

.services .card h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--purple);
    font-size: 1.3rem;
}

.services .card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.stats-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(111, 66, 193, 0.1);
}

.stats-item .count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 10px;
}

.stats-item .text {
    color: var(--text-light);
    font-weight: 500;
}

.why-us {
    background-color: var(--gray-bg);
    position: relative;
}

.why-us-item {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(111, 66, 193, 0.1);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--light-purple);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    margin-right: 20px;
}

.why-us-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-project-bg {
    background-color: #f8f9fa;
}

.feature-project {
    border: none;
    border-radius: 16px;
    transition: box-shadow 0.18s, transform 0.16s;
    background: #fff;
}
.feature-project:hover {
    box-shadow: 0 8px 32px rgba(111,66,193,0.10);
    transform: translateY(-3px) scale(1.025);
}
.feature-project .card-title {
    font-weight: 700;
    font-size: 1.19rem;
    margin-bottom: 0.3em;
}
.feature-project .card-text {
    color: #312d42;
    font-size: 1.05rem;
    opacity: 0.93;
}
.feature-project .card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid #f3eafe;
}

@media (max-width: 767px) {
    .feature-project .card-img-top {
        height: 140px;
    }
    .feature-project {
        font-size: 0.98rem;
    }
}


.portfolio {
    background-color: white;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-item img {
    transition: all 0.5s ease;
    width: 100%;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(111, 66, 193, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 20px;
}

.testimonials {
    background-color: var(--gray-bg);
}

.testimonial-card {
    max-width: 680px;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
    position: relative;
}

.testimonial-card::before {           /* subtle quote icon */
    content: "\f10d";
    font-family: "Font Awesome 6 Free", serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: var(--light-purple);
    position: absolute;
    top: -20px;
    right: 25px;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;          /* sits above quote icon */
    color: var(--text-dark);
    font-size: 1.05rem;
}

.avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(#fff);
    box-shadow: 0 6px 15px rgba(0,0,0,.1);
}

.rating i { font-size: 1rem; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(0.25);
    width: 2.5rem;
    height: 2.5rem;
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 30px 25px;
    }
}


.testimonial-text {
    margin-bottom: 20px;
    color: var(--text-light);
    font-style: italic;
}



.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-company {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form input, .contact-form textarea {
    border: 1px solid #e9e9e9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.2);
}

.contact-info {
    background: var(--gradient-bg);
    padding: 40px;
    border-radius: 15px;
    color: white;
    height: 100%;
}

.contact-info h4 {
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.contact-info-text h5 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

footer {
    background: linear-gradient(to right, #2b1a54, #6f42c1);
    color: white;
    padding: 80px 0 30px;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    width: 40px;
    height: 2px;
    background: #edd4f8;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    margin-top: 30px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--purple-dark);
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .why-us-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .why-us-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
.testimonial {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.testimonial .quote {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
    position: relative;
}
.testimonial .quote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free", serif;
    font-weight: 900;
    position: absolute;
    top: -15px;
    left: -5px;
    color: var(--purple);
    font-size: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.4rem 1.2rem 1.4rem;
    box-shadow: 0 3px 18px rgba(111, 66, 193, 0.065);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 270px;
}

.testimonial-icon {
    color: var(--accent-color);
    font-size: 2rem;
    opacity: 0.9;
}

.testimonial-text {
    color: #33315c;
    font-size: 1.08rem;
    margin-bottom: 1.6rem;
    line-height: 1.6;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 1px 6px rgba(111, 66, 193, 0.07);
}

/* Responsive adjustment */
@media (max-width: 767px) {
    .testimonial-card {
        padding: 1.3rem 1rem;
        min-height: 210px;
    }
    .testimonial-text {
        font-size: 0.98rem;
    }
}

.footer {
    background: #2b2f4b;
    color: #d1d1e9;
    padding: 60px 0 20px;
}
.footer a {
    color: #d1d1e9;
    transition: all .2s;
}
.footer a:hover {
    color: #edd4f8;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #edd4f8;
    text-decoration: underline;
}

.footer-custom {
    background-color: var(--light-purple);
    color: #fff;
    box-shadow: 0 -2px 16px 0 rgba(111,66,193,0.03);
    font-size: 1rem;
}

.footer-custom h6,
.footer-custom h4 {
    letter-spacing: 1px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s;
    display: inline-block;
}
.footer-link:hover {
    color: #edd4f8;
    text-decoration: underline;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-dark);
    background: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 1px 7px rgba(111,66,193,0.07);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    font-size: 1.2rem;
}
.footer-social:hover {
    background: #9a83a3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(10,207,254,0.15);
    text-decoration: none;
}



.hero {
    background: var(--gradient-bg);
    color: #ffffff;
    min-height: 100vh;          /* full-view height */
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;      /* top space for nav */
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw + 1rem, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero .text-accent { color: var(--accent-color); }

.hero-img {
    max-width: 430px;
    filter: drop-shadow(0 25px 45px rgba(0,0,0,.25));
    border-radius: 20px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 110px;
}

@media (prefers-reduced-motion:no-preference) {
    .hero-img     { transform: translateY(20px); opacity: 0; animation: floatIn .9s .4s forwards ease-out; }
    .hero-copy h1 { opacity: 0;                   animation: slideFade .7s .1s forwards ease-out; }
}

@keyframes slideFade {
    to { transform: translateY(0); opacity: 1; }
}

@keyframes floatIn {
    to { transform: translateY(0); opacity: 1; }
}

.narvuk-link{
    color: #ecc8b4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s;
    display: inline-block;
}
.narvuk-link:hover {
    color: #e69466;
    text-decoration: underline;
}