@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
    --bg-void: #0a0f1c;
    /* Technical navy blueprint */
    --accent-cyan: #00d9ff;
    --accent-blue: #0080ff;
    --text-pure: #ffffff;
    --text-slate: #8b97b1;
    --text-muted: #a0aabf;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --blur: blur(24px);
    --motion-entry: cubic-bezier(0.16, 1, 0.3, 1);
    --motion-ambient: ease-in-out;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes stitch-draw {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(-45deg, #0a0f1c, #16213e, #0a0f1c, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientShift 15s var(--motion-ambient) infinite;
    background-attachment: fixed;
    color: var(--text-slate);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* all similar content styling codes */
section {
    padding: 128px 0;
    color: var(--text-slate);
    font-family: 'Plus Jakarta Sans', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--motion-entry);
    background: transparent;
    position: relative;
    overflow: hidden;
}

section.reveal {
    opacity: 1;
    transform: translateY(0);
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
    position: relative;
}

/* Stitch Corner Brackets */
.stitch-bracket {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-cyan);
    pointer-events: none;
    opacity: 0.3;
    transition: all 0.3s var(--motion-entry);
}

section:hover .stitch-bracket {
    opacity: 1;
    transform: translateZ(50px) scale(1.2);
}

.stitch-bracket.tl {
    top: 10px;
    left: 10px;
    border-right: 0;
    border-bottom: 0;
    transform: translateZ(20px);
}

.stitch-bracket.tr {
    top: 10px;
    right: 10px;
    border-left: 0;
    border-bottom: 0;
    transform: translateZ(20px);
}

.stitch-bracket.bl {
    bottom: 10px;
    left: 10px;
    border-right: 0;
    border-top: 0;
    transform: translateZ(20px);
}

.stitch-bracket.br {
    bottom: 10px;
    right: 10px;
    border-left: 0;
    border-top: 0;
    transform: translateZ(20px);
}

.about,
.services,
.skills,
.ReferAndEarn,
.contact,
footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    padding-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-pure);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transform: translateX(-50%);
    border-radius: 2px;
}

section .title::after {
    display: none;
    /* Removing the old background text effect */
}

/* Primary Pulse Button */
.btn-primary-pulse {
    background: #00d9ff;
    color: #0a0f1c;
    padding: 16px 40px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--motion-entry);
    animation: pulse-glow 2s infinite ease-in-out;
}

.btn-primary-pulse::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: rotate(45deg);
    pointer-events: none;
}

.btn-primary-pulse:hover {
    transform: scale(1.05);
}

.btn-primary-pulse:hover::before {
    animation: shimmer-sweep 0.8s forwards;
}

/* navbar styling */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 999;
    height: 70px;
    display: flex;
    align-items: center;
    background: rgba(1, 4, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    transition: all 0.4s var(--motion-entry);
}

.navbar.sticky {
    top: 10px;
    width: 95%;
    background: rgba(1, 4, 10, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 217, 255, 0.2);
}

.navbar .max-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.navbar .logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.navbar .logo a .name {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: block;
    /* Change from flex to block */
}

/* Fix visibility for animated spans in header */
.navbar .logo a .name span {
    color: var(--text-pure);
    display: inline-block;
}

.navbar .logo a .name.reveal-text {
    font-size: 22px;
    width: max-content;
}

.navbar .logo a .tag {
    color: var(--accent-cyan);
    font-size: 10px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.navbar .logo a .tag .typing-header {
    color: var(--text-pure);
}

.navbar .menu {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.navbar .menu li {
    list-style: none;
    position: relative;
}

.navbar .menu li a {
    color: var(--text-pure);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.7;
    position: relative;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Dot indicator */
.navbar .menu li a::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: absolute;
    top: -5px;
    opacity: 0;
    transition: all 0.3s var(--motion-entry);
}

/* Animated underline */
.navbar .menu li a::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    position: absolute;
    bottom: 0;
    transition: all 0.3s var(--motion-entry);
}

.navbar .menu li a:hover {
    opacity: 1;
    color: var(--accent-cyan);
}

.navbar .menu li a:hover::before {
    opacity: 1;
    transform: translateY(2px);
}

.navbar .menu li a:hover::after {
    width: 100%;
}

.navbar .nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar .talk-btn {
    background: #ffffff;
    color: #01040a;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--motion-entry);
    border: 1px solid transparent;
}

.navbar .talk-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
    margin-left: 20px;
}

.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: var(--accent-cyan);
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: var(--bg-void);
    z-index: 9999;
    font-size: 24px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--motion-entry);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}


@keyframes blobMorph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    25% {
        border-radius: 60% 40% 30% 70% / 50% 40% 50% 60%;
    }

    50% {
        border-radius: 30% 70% 60% 40% / 60% 50% 40% 50%;
    }

    75% {
        border-radius: 70% 30% 40% 60% / 40% 60% 50% 40%;
    }
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, -30px) rotate(15deg);
    }
}

/* home section styling */
.home {
    display: flex;
    height: 100vh;
    color: var(--text-pure);
    min-height: 500px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    perspective: 2000px;
}

.blob-bg {
    position: fixed;
    /* Global fixed background */
    width: 800px;
    height: 800px;
    z-index: -1;
    /* Behind everything */
    filter: blur(120px);
    opacity: 0.18;
    animation: blobMorph 20s var(--motion-ambient) infinite,
        blobFloat 25s var(--motion-ambient) infinite;
    pointer-events: none;
}

.home .blob-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
}

.home .blob-2 {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    animation-delay: -5s;
}

.home .max-width {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.home .home-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Staggered Text Reveal */
.reveal-text {
    font-size: 96px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.reveal-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterReveal 0.6s var(--motion-entry) forwards;
}

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

.home .text-3 {
    font-size: 24px;
    color: var(--text-slate);
    margin-top: 10px;
    opacity: 0.8;
}

.home .text-3 span {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* 3D Sphere Styling */
.sphere-container {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}

.sphere {
    width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 80px rgba(0, 217, 255, 0.3),
        inset 15px 15px 40px rgba(255, 255, 255, 0.25),
        inset -20px -20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: sphereFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.sphere::before,
.sphere::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
}

.sphere::before {
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.3), transparent 70%);
    mix-blend-mode: overlay;
    animation: noiseRotate 15s linear infinite;
}

.sphere::after {
    background: radial-gradient(circle at 50% 50%, rgba(0, 128, 255, 0.2), transparent 70%);
    mix-blend-mode: screen;
    animation: noiseRotate 20s linear infinite reverse;
}

.sphere-noise {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    mix-blend-mode: soft-light;
    animation: noiseRotate 25s linear infinite;
}

@keyframes noiseRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes sphereFloat {

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

    50% {
        transform: translateY(-25px);
    }
}

/* Floating Tags */
.float-tag {
    position: absolute;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-pure);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    overflow: hidden;
    white-space: nowrap;
    /* Prevent wrapping */
    z-index: 5;
}

.float-tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to {
        left: 200%;
    }
}

.tag-1 {
    top: 10%;
    left: 2%;
    animation: tagFloat 4s ease-in-out infinite;
}

.tag-2 {
    top: 15%;
    right: -2%;
    animation: tagFloat 5s ease-in-out infinite 0.5s;
}

.tag-3 {
    bottom: 20%;
    right: -5%;
    animation: tagFloat 4.5s ease-in-out infinite 1s;
}

.tag-4 {
    bottom: -5%;
    left: 35%;
    animation: tagFloat 4.2s ease-in-out infinite 0.2s;
}

.tag-5 {
    top: 50%;
    left: -10%;
    animation: tagFloat 5.5s ease-in-out infinite 0.7s;
}

.tag-6 {
    top: 45%;
    right: -8%;
    animation: tagFloat 4.8s ease-in-out infinite 0.4s;
}

.tag-7 {
    bottom: 10%;
    left: -2%;
    animation: tagFloat 5.2s ease-in-out infinite 0.9s;
}

@keyframes tagFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, -20px) rotate(3deg);
    }
}

/* Counter Stat */
.hero-footer {
    position: absolute;
    bottom: 40px;
    right: 80px;
    text-align: right;
}

.counter-element {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.counter-element .count {
    font-size: 64px;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.counter-element .label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* about section styling */
.about {
    background: transparent;
}

.about .about-content .left {
    width: 45%;
    display: flex;
    justify-content: center;
}

.about .about-content .left img {
    height: 450px;
    width: 450px;
    object-fit: cover;
    border-radius: 50%;
    /* Perfect Circle */
    border: 1px solid var(--glass-border);
    padding: 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s var(--motion-entry);
}

.about .about-content .left img:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.about .about-content .right {
    width: 50%;
}

.about .about-content .right .text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-pure);
    font-family: 'Outfit', sans-serif;
}

.about .about-content .right .text span {
    color: var(--accent-cyan);
}

.about .about-content .right p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-slate);
    font-size: 16px;
}

.about .about-content .right a {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--bg-void);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 12px;
    transition: all 0.3s var(--motion-entry);
    position: relative;
    overflow: hidden;
}

.about .about-content .right a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

/* services section styling */
.services {
    position: relative;
    background: transparent;
}

.services .serv-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    /* Force equal height columns */
}

.services .serv-content .card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
    padding: 40px 25px;
    cursor: pointer;
    transition: all 0.5s var(--motion-entry);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: left;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Stretch to grid cell height */
}

.services .serv-content .card:hover {
    transform: translateY(-10px) rotateX(8deg) rotateY(8deg);
    border-color: var(--accent-cyan);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 217, 255, 0.1);
}

.services .serv-content .card:hover::before {
    opacity: 1;
}

.services .serv-content .card .box {
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services .serv-content .card .icon-container {
    width: 56px;
    height: 56px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.services .serv-content .card .icon-container i {
    font-size: 24px;
    color: var(--accent-cyan);
}

/* Subtle Pulse Animation */
.services .serv-content .card .icon-container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--accent-cyan);
    animation: iconPulse 2s infinite;
    opacity: 0;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.services .serv-content .card .text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.services .serv-content .card p {
    color: var(--text-slate);
    font-size: 14px;
    line-height: 1.6;
}

/* workflow section styling */
.workflow {
    background: var(--bg-void);
    overflow: hidden;
}

.workflow .workflow-container {
    position: relative;
    padding: 60px 0;
}

.workflow .drawing-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    /* Animated via .reveal class */
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent);
    z-index: 0;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow.reveal .drawing-line {
    width: 100%;
}

.workflow .workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.workflow .step-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px dashed var(--glass-border);
    /* Stitched Border */
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--motion-entry);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.workflow .step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.workflow .step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 120px;
    font-weight: 800;
    color: var(--accent-cyan);
    opacity: 0.05;
    font-family: 'Outfit', sans-serif;
    transition: transform 1s var(--motion-entry);
    pointer-events: none;
    line-height: 1;
}

.workflow .step-card:hover .step-num {
    transform: rotate(360deg);
    opacity: 0.15;
}

.workflow .step-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.workflow .step-content p {
    color: var(--text-slate);
    line-height: 1.6;
    font-size: 15px;
}



.skills-content .right .mysql::before {
    width: 70%;
}

/* ReferAndEarn section styling */
.ReferAndEarn .title::after {
    content: "Refer And earn With Me";
}

.ReferAndEarn .carousel .card {
    background: #222;
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ReferAndEarn .carousel .card:hover {
    background: #0178c2;
}

.ReferAndEarn .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ReferAndEarn .carousel .card:hover .box {
    transform: scale(1.05);
}

.ReferAndEarn .carousel .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

.ReferAndEarn .carousel .card img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #0178c2;
    transition: all 0.3s ease;
}

.ReferAndEarn .carousel .card:hover img {
    border-color: #fff;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    height: 13px;
    width: 13px;
    margin: 05px;
    outline: none !important;
    border-radius: 50%;
    border: 2px solid #0178c2 !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    width: 35px;
    border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
    background: #0178c2 !important;
}

/* testimonials section styling */
.testimonials {
    background: transparent;
    padding: 120px 0 160px;
    color: var(--text-pure);
}

.testimonials .carousel .quote-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border-radius: 30px; /* Exact rounded look from image */
    padding: 45px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 
                inset 0 0 20px rgba(255, 255, 255, 0.02);
    text-align: left;
    margin: 30px 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--motion-entry);
}

.testimonials .carousel .quote-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-cyan);
    box-shadow: 0 50px 120px rgba(0, 217, 255, 0.15);
}

.testimonials .stars {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.testimonials .stars i {
    color: var(--accent-cyan);
    font-size: 18px;
}

.testimonials .quote-card p {
    color: var(--text-pure);
    font-size: 22px; /* Larger, bolder text as per image */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
    font-style: normal;
    letter-spacing: -0.01em;
}

.testimonials .client-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.testimonials .profile-icon {
    width: 60px;
    height: 60px;
    background: #01040a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 24px;
    border: 2px solid var(--accent-cyan);
    flex-shrink: 0;
}

.testimonials .details .name {
    display: block;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.testimonials .details .role,
.testimonials .details .location {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

/* Pagination Dots - Circular as per image */
.testimonials .owl-dots {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonials .owl-dot {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    width: 10px;
    height: 10px;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonials .owl-dot.active {
    background: var(--accent-cyan) !important;
    transform: scale(1.2);
}

/* skills section styling */
.skills {
    background: var(--bg-void);
}

.skills .skills-content .column {
    width: calc(50% - 30px);
}

.skills .skills-content .left .text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-pure);
    font-family: 'Outfit', sans-serif;
}

.skills .skills-content .left p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-slate);
}

.skills .skills-content .left a {
    display: inline-block;
    background: transparent;
    color: var(--accent-cyan);
    font-size: 16px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 12px;
    border: 1px solid var(--accent-cyan);
    transition: all 0.3s var(--motion-entry);
}

.skills .skills-content .left a:hover {
    background: var(--accent-cyan);
    color: var(--bg-void);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.skills .skills-content .right .bars {
    margin-bottom: 25px;
}

.skills .skills-content .right .info {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    justify-content: space-between;
}

.skills .skills-content .right span {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-pure);
}

.skills .skills-content .right .line {
    height: 8px;
    width: 100%;
    background: var(--glass-bg);
    position: relative;
    border-radius: 100px;
    overflow: hidden;
}

.skills .skills-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.skills .skills-content .right .html::before {
    width: 90%;
}

.skills .skills-content .right .css::before {
    width: 60%;
}

.skills .skills-content .right .js::before {
    width: 80%;
}

.skills .skills-content .right .php::before {
    width: 50%;
}

.skills .skills-content .right .mysql::before {
    width: 70%;
}

/* contact section styling */
.contact {
    background: var(--bg-void);
}

.contact .contact-content .column {
    width: calc(50% - 30px);
}

.contact .contact-content .text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-pure);
    font-family: 'Outfit', sans-serif;
}

.contact .contact-content .left p {
    line-height: 1.8;
    color: var(--text-slate);
    margin-bottom: 30px;
}

.contact .contact-content .row {
    display: flex;
    height: 80px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    padding: 0 20px;
    border-radius: 16px;
    transition: all 0.3s var(--motion-entry);
}

/* Footer modern */
footer {
    background: rgba(1, 4, 10, 0.5);
    /* Semi-transparent */
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col .foot-head {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.footer-col .foot-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.footer-col .foot-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col .foot-text a:hover {
    color: var(--accent-cyan);
}

.footer-col .foot-sub {
    font-size: 14px;
    color: var(--text-slate);
    font-family: 'JetBrains Mono', monospace;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom .copyright {
    opacity: 0.6;
    font-family: 'JetBrains Mono', monospace;
}

/* cta section styling */
.cta {
    background: transparent;
    padding: 100px 0;
}

.cta .cta-container {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px dashed var(--glass-border);
    /* Stitched Border */
    padding: 80px 40px;
    border-radius: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--motion-entry);
    transform-style: preserve-3d;
}

.cta-container:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px) scale(1.01);
}

.cta .light-source {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.cta .light-source.cyan {
    top: -50px;
    left: -50px;
    background: var(--accent-cyan);
}

.cta .light-source.blue {
    bottom: -50px;
    right: -50px;
    background: var(--accent-blue);
}

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

.cta .cta-content h2 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.cta .cta-content p {
    color: var(--text-slate);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta .cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta .primary-btn {
    padding: 16px 40px;
    background: var(--accent-cyan);
    color: var(--bg-void);
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--motion-entry);
}

.cta .primary-btn.shimmer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

.cta .primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.cta .secondary-btn {
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-pure);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s var(--motion-entry);
}

.cta .secondary-btn i {
    transition: transform 0.6s var(--motion-entry);
}

.cta .secondary-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
}

.cta .secondary-btn:hover i {
    transform: rotate(360deg);
}

/* contact section styling */
footer {
    background: var(--bg-void);
    padding: 80px 23px 40px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-col .foot-head {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col .foot-text {
    font-size: 14px;
    color: var(--text-slate);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-col .foot-text a {
    color: var(--text-slate);
    transition: all 0.3s var(--motion-entry);
}

.footer-col .foot-text a:hover {
    color: var(--accent-cyan);
}

.footer-col .foot-sub {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-pure);
    font-size: 18px;
    transition: all 0.4s var(--motion-entry);
}

.social-icon:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

footer span a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

footer span a:hover {
    color: var(--accent-blue);
}


/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }

    .menu-btn i.active:before {
        content: "\f00d";
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: rgba(1, 4, 10, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: all 0.3s var(--motion-entry);
        flex: none;
        /* Reset flex for mobile overlay */
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        display: inline-block;
        margin: 10px 0;
        font-size: 25px;
        opacity: 1;
    }

    .navbar .menu li a::before,
    .navbar .menu li a::after {
        display: none;
        /* Disable indicators on mobile for better clarity */
    }

    .navbar .nav-right .talk-btn {
        display: none;
        /* Hide talk button on small screens or move it inside menu */
    }

    .navbar .menu.active~.nav-right .talk-btn {
        display: none;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    .max-width {
        max-width: 930px;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .services .serv-content,
    .portfolio .portfolio-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .home .home-content a {
        font-size: 20px;
    }

    .services .serv-content,
    .portfolio .portfolio-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .about .about-content .right .text,
    .skills .skills-content .left .text {
        font-size: 19px;
    }

    .contact .right form .fields {
        flex-direction: column;
    }

    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }

    .right form .error-box {
        width: 150px;
    }

    .scroll-up-btn {
        left: 15px;
        /* Moved to left on mobile */
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}

/* WhatsApp Floating Capsule */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(37, 211, 102, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    padding: 12px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    z-index: 9999;
    transition: all 0.4s var(--motion-entry);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(37, 211, 102, 0.1);
}

.whatsapp-btn i {
    font-size: 20px;
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-5px) scale(1.05);
    border-color: #25D366;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.2);
    color: #ffffff;
}

.whatsapp-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 2px solid #25D366;
    animation: waPulse 2s infinite;
    opacity: 0;
    left: 0;
    top: 0;
}

/* Scroll Up Button - Stacked Above WhatsApp */
.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    right: 30px;
    bottom: 100px;
    text-align: center;
    line-height: 45px;
    color: var(--accent-cyan);
    z-index: 999;
    font-size: 24px;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--motion-entry);
}

.scroll-up-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    color: var(--bg-void);
    background: var(--accent-cyan);
    transform: translateY(-5px);
}

/* portfolio section styling */
.portfolio {
    background: transparent;
    position: relative;
    padding: 100px 0;
}

.portfolio .portfolio-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.portfolio .project-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--motion-entry);
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
}

.portfolio .project-card:hover {
    transform: translateY(-10px) rotateX(4deg) rotateY(4deg);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.portfolio .project-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.portfolio .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.portfolio .project-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.portfolio .tech-tag {
    background: rgba(0, 217, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio .project-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio .project-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.portfolio .project-info p {
    font-size: 15px;
    color: var(--text-slate);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio .tech-stack {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent-cyan);
    opacity: 0.7;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.portfolio .view-project {
    margin-top: auto;
    color: var(--text-pure);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.portfolio .view-project i {
    transition: transform 0.3s ease;
}

.portfolio .view-project:hover {
    color: var(--accent-cyan);
}

.portfolio .view-project:hover i {
    transform: translateX(5px);
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.blob-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.18;
    animation: blobMorph 20s var(--motion-ambient) infinite, blobFloat 25s var(--motion-ambient) infinite;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    animation-delay: -5s;
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    25% {
        border-radius: 60% 40% 30% 70% / 50% 40% 50% 60%;
    }

    50% {
        border-radius: 30% 70% 60% 40% / 60% 50% 40% 50%;
    }

    75% {
        border-radius: 70% 30% 40% 60% / 40% 60% 50% 40%;
    }
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, -30px) rotate(15deg);
    }
}