:root {
    --primary-color: #381a45;
    --primary-dark: #680a8f;
    --text-light: #ffffff;
    --text-nav: #fffafa;
    --custom-cursor-default: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="29" height="45" viewBox="0 0 24 24"><path fill="%23000" stroke="%23FFF" stroke-width="2" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z"/></svg>')
            0 0,
        auto;

    --custom-cursor-hover: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="29" height="35" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" stroke-linejoin="round" d="M10 11V8.99c0-.88.59-1.64 1.44-1.86h.05A1.99 1.99 0 0 1 14 9.05V12v-2c0-.88.6-1.65 1.46-1.87h.05A1.98 1.98 0 0 1 18 10.06V13v-1.94a2 2 0 0 1 1.51-1.94h0A2 2 0 0 1 22 11.06V14c0 .6-.08 1.27-.21 1.97a7.96 7.96 0 0 1-7.55 6.48 54.98 54.98 0 0 1-4.48 0 7.96 7.96 0 0 1-7.55-6.48C2.08 15.27 2 14.59 2 14v-1.49c0-1.11.9-2.01 2.01-2.01h0a2 2 0 0 1 2.01 2.03l-.01.97v-10c0-1.1.9-2 2-2h0a2 2 0 0 1 2 2V11Z"/></svg>')
            0 0,
        auto;
}

body {
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
    cursor: var(--custom-cursor-default);
    background: linear-gradient(
        to right,
        oklch(0.28 0.06 283.11) 0%,
        #57276b 25%,
        oklch(0.37 0.15 304.22) 50%,
        #57276b 75%,
        oklch(0.28 0.06 283.11) 100%
    );
}

a:hover,
button,
button:hover,
[role="button"]:hover,
.clickable:hover {
    cursor: var(--custom-cursor-hover);
}

/* Base Styling */
/* Base Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    min-height: 70px;
}

.navbar .container,
.navbar-collapse {
    align-items: center;
    /* display: flex;  */
}

/* Logo & Links */
.navbar-brand,
.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

/* Animated Underline */
.nav-link.nav-animated {
    position: relative;
    display: inline-block;
}
.nav-link.nav-animated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}
.nav-link.nav-animated:hover::after {
    width: 100%;
}

/* Bounce Animation */
.nav-link.nav-animated:hover {
    color: #c341c1;
    animation: navBounce 0.3s ease;
}
@keyframes navBounce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(2px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Active Link */
.nav-link.active {
    color: oklch(71.4% 0.203 305.504) !important;
}
.nav-link.active::after {
    width: 100%;
}

/* Nav Links Spacing */
.navbar-nav {
    gap: 1.5rem;
    display: flex;
    flex-wrap: nowrap;
}

/* Contact phone icon color */
.navbar .fa-phone {
    color: #fff;
}

/* Social icons */
.navbar .d-flex > div a {
    color: #fff;
    margin-right: 1rem;
    transition: color 0.3s ease;
}
.navbar .d-flex > div a:hover {
    color: #c341c1;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-collapse {
        flex-wrap: wrap; /* allow wrapping to next line */
        /* justify-content: center; */
    }

    .navbar-nav {
        flex-wrap: wrap;
        gap: 1rem 2rem; /* more horizontal and vertical gap */
    }

    .navbar .d-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-left: 0rem;
    }
}

/* === Hero Section === */
/* .hero-section {
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
} */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    color: #fff;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 24px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px auto;
    color: #f1e9f5;
}

.hero-subtitle .contact-line {
    display: inline-block;
    margin-top: 10px;
}

.hero-subtitle a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.hero-tags {
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
}

.para-size {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* === Multi-color Text === */
.text-purple {
    color: #d3c2d9;
    font-weight: 700;
}

.contact-line {
    font-size: xx-large;
}

.text-pink {
    color: #f49d5b;
    font-weight: 700;
}

/* === Button Styling === */
.btn-primary {
    background: linear-gradient(135deg, #ae52c0, #c341c1, #860db4, #ff65c0);
    background-size: 300% 300%;
    border: none;
    padding: 14px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: all 0.4s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(174, 82, 192, 0.4);
}

/* Optional shine effect */
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: skewX(-20deg);
    animation: shine 2s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.color-web {
    color: #1e90ff; /* blue */
}
.color-software {
    color: #22cc49;
}
.color-apps {
    color: #f49d5b; /* orange/red */
}

.btn-animated::before {
    animation: none;
    transition: all 0.3s ease;
}

.btn-animated:hover::before {
    animation: shine 1.5s;
}

/* === Responsive Typography === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 10px 24px;
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    color: #fff;
}

/* 🎥 Video wrapper for section only */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* 🎥 Background video */
.bg-video {
    position: absolute;
    top: 65%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

/*  Blurred overlay with color */
.video-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px); /* Apply blur effect */
    background: rgba(56, 26, 69, 0.6);
    /* background: rgba(49, 24, 60, 0.6); */
    z-index: 1;
}

/*  Content stays above everything */
.hero-section .container {
    position: relative;
    z-index: 1;
}

.section-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        #fff
    ); /* Adjust if next section has a different background */
    z-index: 1;
}

/* ----------------hero end-------- */

/* -----------loader-------------- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        oklch(0.28 0.06 283.11) 0%,
        #57276b 25%,
        oklch(0.37 0.15 304.22) 50%,
        #57276b 75%,
        oklch(0.28 0.06 283.11) 100%
    );
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

.multicolor-loader {
    width: 70px;
    height: 70px;
    border: 8px solid transparent;
    border-radius: 50%;
    border-top: 8px solid #ff5b5b;
    border-right: 8px solid #ffb347;
    border-bottom: 8px solid #4cd137;
    border-left: 8px solid #1e90ff;
    animation: spin 1.2s linear infinite, colorShift 6s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes colorShift {
    0% {
        border-top-color: #ff5b5b;
        border-right-color: #ffb347;
        border-bottom-color: #4cd137;
        border-left-color: #1e90ff;
    }
    25% {
        border-top-color: #ffb347;
        border-right-color: #4cd137;
        border-bottom-color: #1e90ff;
        border-left-color: #ff5b5b;
    }
    50% {
        border-top-color: #4cd137;
        border-right-color: #1e90ff;
        border-bottom-color: #ff5b5b;
        border-left-color: #ffb347;
    }
    75% {
        border-top-color: #1e90ff;
        border-right-color: #ff5b5b;
        border-bottom-color: #ffb347;
        border-left-color: #4cd137;
    }
    100% {
        border-top-color: #ff5b5b;
        border-right-color: #ffb347;
        border-bottom-color: #4cd137;
        border-left-color: #1e90ff;
    }
}

/* -----------loader end-------------- */

.section-title {
    text-align: center;
    color: var(--text-nav);
    margin-bottom: 2rem;
    font-weight: 800;
}

.service-card {
    border: none;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

footer {
    background-color: #2b2b2b;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* ---------------- */

.service-card {
    position: relative;
    border: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease,
        background-color 0.4s ease;
    /* cursor: pointer; */
    padding: 1.5rem;
    border-radius: 12px;
    min-height: 280px;
    box-shadow: 0 4px 10px rgba(134, 13, 180, 0.1);
    color: #fff; /* default text color white for better contrast */
    overflow: hidden;
}

/* Background colors for each card */
.web-dev {
    background: linear-gradient(135deg, #7190f7, #a05cfa, #62d77d);
    color: #fff;
}

.web-dev:hover {
    filter: brightness(1.1);
    transition: all 0.3s ease-in-out;
    color: black;
}

.software-dev {
    background: linear-gradient(135deg, #5ec5ed, #2f75a4, #6dd5fa);
    color: #fff;
}

.software-dev:hover {
    filter: brightness(1.1);
    transition: all 0.3s ease-in-out;
    color: black;
}

.mobile-dev {
    background: linear-gradient(135deg, #6960e8, #6b87f4, #4d2099);
    color: #fff;
}

.mobile-dev:hover {
    filter: brightness(1.1);
    transition: all 0.3s ease-in-out;
    color: black;
}

/* Base pseudo-element for border */
.service-card::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 15px;
    padding: 3px;
    background-size: 1000% 1000%;
    animation: gradientBorder 8s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 5;
}

/* Gradient borders */
.web-dev::before {
    background: linear-gradient(270deg, #d36f70, #c341c1, #860db4, #d36f70);
}

.software-dev::before {
    background: linear-gradient(270deg, #5a7ef7, #354ad2, #0a6a79, #5a7ef7);
}

.mobile-dev::before {
    background: linear-gradient(270deg, #fba1c1, #f55a99, #cc0e7d, #fba1c1);
}

/* Card title colors - brighter shade for better contrast */
.web-dev .card-title {
    color: #f3e6fa;
}

.software-dev .card-title {
    color: #bee1e6;
}

.mobile-dev .card-title {
    color: #f9bfd7;
}

/* Card text color - lighter */
.service-card .card-text {
    color: #e0d9e8;
    font-size: 1.1rem;
}

/* Show border on hover */
.service-card:hover::before {
    opacity: 1;
}

/* Hover transform + shadow + float animation */
/* .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(134, 13, 180, 0.4);
    z-index: 10;
    animation: floatUp 0.4s ease forwards;
} */

/* Gradient animation */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Float up animation */
@keyframes floatUp {
    0% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1.05) translateY(-8px);
    }
}

/* -----------------About------------ */
.zoom-effect {
    transition: transform 0.5s ease;
}

.zoom-effect:hover {
    transform: scale(1.05);
}

.lead-about {
    color: white;
}

/* -------------about End------------- */

/* -------contact------------ */

.contact-title {
    font-weight: 800;
    color: white;
}

.contact-p {
    color: white;
    font-size: x-large;
}

/* -----------contact-end----- */

/* -----------footer---- */
.footer-bg {
    background-color: #381a45;
}

footer h5,
footer h3 {
    font-weight: 600;
}

/* Footer links - default style */
footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Footer links on hover */
footer a:hover {
    color: rgb(179 78 193);
}

/* Icon animation on hover */
footer i {
    transition: transform 0.3s ease;
}

footer i:hover {
    transform: scale(1.2);
}
/* ----------foter end---------- */

/* ----------saprate aboutus --------------- */
.about-text {
    max-width: 800px;
    line-height: 1.7;
    color: #f5f5f5;
}

.who-we-are-text {
    color: #f5f5f5;
}

.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.custom-bg-1 {
    background: linear-gradient(135deg, #007bff, #6610f2); /* Blue-Purple */
}

.custom-bg-2 {
    background: linear-gradient(135deg, #28a745, #218838); /* Green gradient */
}

.custom-bg-3 {
    background: linear-gradient(135deg, #17a2b8, #0a3633); /* Teal-Blue */
}

.over-team-text {
    color: #f5f5f5;
    font-size: 20px;
}

/* ----------saprate aboutus --------------- */

/* -------------------service------------ */

.service-custom-bg-1 {
    background: linear-gradient(135deg, #9365f7, #5b09e0); /* Blue-Purple */
}

.service-custom-bg-3 {
    background: linear-gradient(135deg, #0c8396, #0a3633); /* Teal-Blue */
}

.service-custom-bg-2 {
    background: linear-gradient(135deg, #33ae1e, #157e77); /* Teal-Blue */
}

.choose-service-custom-bg-1 {
    background: linear-gradient(135deg, #f747bf, #9a33d9); /* Teal-Blue */
}

.choose-service-custom-bg-2 {
    background: linear-gradient(135deg, #f75f5f, #bc33ea); /* Teal-Blue */
}
/* ------------service end--------------- */

/* --------------Contact start------------- */
.contact-form-section {
    border-radius: 15px;
    padding: 60px 20px;
}

.contact-form-section h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.contact-form-section ul {
    font-size: 1rem;
}

.contact-form-section ul li i {
    color: #38b76d;
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #eee;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 10px 10px 0;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #38b76d;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: #ddd;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -18px;
    font-size: 0.85rem;
    color: #38b76d;
    font-weight: 600;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #38b76d;
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-border,
.form-group textarea:focus ~ .input-border {
    width: 100%;
}

/* Responsive spacing */
@media (max-width: 767.98px) {
    .contact-form-section .col-md-6 {
        margin-bottom: 2rem;
    }
}
/* --------------Contact End------------- */

/* ------------FAQ Start------------- */
#faqs .accordion-button {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    background-color: #9bbec7;
    color: #fff;
    box-shadow: none;
    font-weight: 600;
}

.bg-faq-color {
    background: linear-gradient(135deg, #36e27b, #36a8e2) !important;
}

#faqs .accordion-button:not(.collapsed) {
    background-color: #2b2b2b;
    color: #ffd700;
    transform: translateY(-2px);
}

#faqs .accordion-button:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.2);
}

#faqs .accordion-body {
    background-color: #c1d7dc;
    font-style: italic;
    border-radius: 0 0 5px 5px;
    padding: 1rem;
    color: #ccc;
    transition: all 0.3s ease;
    font-size: 17px;
}

/* --------------FAQ END------------- */

/* --------------Career-Page---------------- */

/* ---------------Career-Page-end---------------- */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* 20px from bottom */
    right: 20px; /* 20px from right */
    background-color: #25d366; /* WhatsApp green */
    color: white;
    border-radius: 50%; /* Rounded circle */
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e; /* Darker green on hover */
}
