:root {
    --primary: #FF014F; /* New Primary: Vibrant Pink/Red */
    --secondary: #4A00E0; /* New Secondary: Vibrant Purple/Blue */
    --primary-rgb: 255, 1, 79;
    --dark: #101010; /* Very Dark Grey */
    --light: #f8f9fa;
    --text-main: #ffffff;
    --text-secondary-dark: #a0a0a0; /* Medium Grey */
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --bg-card: #181818; /* Darker Card */
    --bg-section: #000000; /* Pure Black */
    --bg-navbar: rgba(16, 16, 16, 0.8);
    --bg-modal: #181818;
    --btn-close-filter: invert(1) grayscale(100%) brightness(200%);
}
body.light-mode {
    --primary: #D60047; /* Darker Pink/Red for better contrast on light bg */
    --secondary: #4A00E0;
    --primary-rgb: 214, 0, 71;
    --dark: #ffffff;
    --light: #000000;
    --text-main: #212529;
    --text-secondary-dark: #6c757d;
    --glass: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --bg-card: #ffffff;
    --bg-section: #f8f8f8;
    --bg-navbar: rgba(255, 255, 255, 0.8);
    --bg-modal: #fdfdfd;
    --btn-close-filter: none;
}
* {
    box-sizing: border-box;
}
html {
    width: 100%;
    overflow-x: hidden;
}
body {
    background-color: var(--dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: clip;
    width: 100%;
    scroll-behavior: smooth;
    cursor: none; /* Hide default cursor */
}
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
}
.primary-color {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--text-secondary-dark) !important;
}
.text-main-secondary {
    color: var(--secondary) !important;
}
body.light-mode .white-color {
    color: white;
}
.bg-black {
    background-color: var(--bg-section) !important;
}
/* Custom Scrollbar */ ::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 10px;
}
/* Interactive Elements Cursor Fix */
a, button, .btn, input, textarea {
    cursor: none !important;
}
/* Navigation */
.navbar {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
body.light-mode .navbar-brand {
    color: var(--primary) !important;
}
.navbar-brand {
    font-family: 'Syncopate', sans-serif; /* Tumne ye font link kiya hua hai */
    font-size: 1.5rem;
    transition: 0.3s ease;
    color: white;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: white;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.5); /* Neon Glow Effect */
}

/* Logo box animation */
.logo-box {
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--primary);
}

.navbar-brand:hover .logo-box {
    transform: rotate(20deg);
}

/* Navbar Scrolled State */
.navbar.scrolled, .navbar:not(.scrolled) {
/*    background: var(--bg-navbar) !important;*/
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
/* Light Mode mein links ka color bhi change karna hoga */
body.light-mode .navbar:not(.scrolled) .navbar-brand .logo-box {
    background-color: var(--primary) !important; /* White by default at top */
}
/* Light Mode mein links ka color bhi change karna hoga */
body.light-mode .navbar:not(.scrolled) .nav-link {
    color: #fff !important; /* White by default at top */
}
/* Light Mode mein links ka color bhi change karna hoga */
body.light-mode .navbar:not(.scrolled) .nav-social-link {
    background: rgba(255,255,255,0.2);
    color: white;
}
body.light-mode .navbar:not(.scrolled) .navbar-toggler {
    background-color: var(--dark) !important;
    border: 3px solid var(--primary) !important;
}
body.light-mode .navbar.scrolled .nav-link {
    color: var(--text-main) !important; /* Black on scroll */
}
body.light-mode .navbar .nav-link:hover {
    color: var(--primary) !important;
}
body.light-mode .navbar-brand {
    color: var(--primary) !important;
}
body.light-mode .logo-box {
    background-color: var(--secondary) !important;
    color: white !important;
}
.nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--primary) !important;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}
.nav-link:hover::after {
    width: 100%;
}
.switch {
    width: 40px;
    height: 40px;
    border-radius: 30px;
    text-align: center;
    line-height: 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.switch:hover {
    background-color: var(--primary);
    color: var(--dark);
}
body.light-mode .switch {
    color: var(--primary);
    border: 2px solid var(--primary);
}
body.light-mode .switch:hover {
    color: var(--glass);
    border: 2px solid var(--primary);
}
.navbar-toggler {
    border-radius: 100%;
    background-color: transparent;
    border: 2px solid var(--primary);
    width: 46px;
    height: 46px;
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}
.navbar-toggler::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}
.navbar-toggler:hover::before {
    transform: scale(1);
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FF014F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    font-size: 18px;
    transition: 0.3s;
}
.navbar-toggler:hover {
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--primary);
}
.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* Default view in light mode */
body.light-mode .navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1) !important; /* Standard Bootstrap default border */
}
body.light-mode .navbar-light .navbar-toggler-icon {
    /* Default Bootstrap light icon */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar Social Icons */
.nav-social-link {
    width: 43px;
    height: 43px;
    margin-left: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInTop 0.5s ease forwards;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.nav-social-link:nth-child(1) { animation-delay: 0.2s; }
.nav-social-link:nth-child(2) { animation-delay: 0.3s; }
.nav-social-link:nth-child(3) { animation-delay: 0.4s; }

.nav-social-link i {
font-size: 20px;
}
.nav-social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-social-link:hover {
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 0 10px var(--primary);
}
.nav-social-link:hover::before {
    transform: scale(1);
}

body.light-mode .nav-social-link {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}
body.light-mode .nav-social-link:hover {
    color: #fff;
}

@keyframes slideInTop {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url("../images/hero.jpg"); /* Premium Dark Fluid Background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
body.light-mode .hero {
    background-image: url('../images/breadcum-bg.png'), url("../images/hero.jpg"); /* Light Tech Background */
    background-color: black;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 1;
}

.self-name {
    -webkit-text-stroke: 1px rgba(255, 1, 79, 0.6);
    color: transparent;
}
.behind-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem; /* Bigger */
    font-weight: 900;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.03); /* More subtle */
    z-index: -1;
    width: 100%;
    pointer-events: none;
    font-family: 'Space Grotesk', sans-serif;
}
body.light-mode .behind-text {
    color: rgba(0, 0, 0, 0.05);
}
.hero-user-img {
    max-height: 80vh;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.3));
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
body.light-mode .hero-content .hero-anim {
    color: rgba(255,255,255,0.7);
}
body.light-mode .hero-content .hero-btn{
    border: 2px solid rgba(255,255,255,0.7);
    color: rgba(255,255,255,0.7) !important;
}
body.light-mode .hero-content .hero-btn:hover{
    border: none;
    color: rgba(255,255,255,0.7);
}
/* Typing Cursor */
.typing-text {
    font-family: 'Space Grotesk', monospace;
    color: var(--primary);
}
.typing-text::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: var(--primary);
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 0.7s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-h1 {
    font-size: calc(0.2rem + 4vw);
    line-height: 1;
    font-weight: 700;
    color: var(--text-main);
}
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0; /* Remove stroke inherited from parent if any */
}
/* Tool Grid */
.tool-card {
    padding: 30px;
    text-align: center;
}
body.light-mode .tool-card {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}
.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}
.tool-marquee-row {
    display: flex;
    flex-shrink: 0;
    width: max-content; /* Width will be according to the content */
}
body.light-mode .tool-btn {
    border: 1px solid #b0b0b0;
    color: #808080;
}
body.light-mode .tool-btn:hover {
    background-color: var(--primary);
    color: #fff;
}
.tool-marquee-row .tool-card {
    flex: 0 0 auto; /* Card size will remain fixed */
    width: 220px; /* Fixed card width */
    margin: 0 15px; /* Space between cards */
    opacity: 1; /* Override the opacity of the old animation */
    transform: none; /* Override the transform of the old animation */
}
/* Modal Tool Card Adjustments */
.modal-body .tool-card {
    height: 100%; /* Ensure equal height in grid */
}
.modal-title {
    color: var(--primary);

}
.tool-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}
/* Image Gallery (Stacking Cards Effect) */
.gallery-card {
    position: sticky;
    top: 120px; /* Stick below navbar */
    height: 60vh; /* Occupy significant screen height */
    margin-bottom: 10vh; /* Space between cards for scrolling */
    transform-origin: center top;
}
#filter-btns {
    flex-wrap: wrap;
    ;
}
.gallery-item {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #000; /* Background to cover previous card */
    border: 1px solid var(--border);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); /* Shadow pointing up */
}
body.light-mode .gallery-item {
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-card);
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
/* Testimonials */
.testi-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--secondary);
}
body.light-mode .testi-card {
    box-shadow: 0 0 20px 0.5px #ccc;
    transform: translateY(-10px);
}
/* --- NEW SECTIONS STYLES --- */
/* Marquee */
.marquee-section {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    position: relative;
    z-index: 1;
}
.marquee-content {
    display: flex;
    gap: 60px;
    width: max-content;
}
.marquee-item {
    font-size: 6vw; /* Responsive Huge Text */
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--primary-rgb), 0.6);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}
.marquee-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 60px;
    -webkit-text-stroke: 0;
}
body.light-mode .marquee-item {
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
}
body.light-mode .marquee-item {
    -webkit-text-stroke: 1px rgba(var(--primary-rgb), 0.6);
}
/* About Image */
.about-project-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.about-project-box:hover {
    transform: translateY(-10px);
}
.about-project-box h3 {
    font-size: 8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.about-project-box p {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 4px;
    margin-top: 10px;
    text-transform: uppercase;
}
.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.about-img-wrapper img {
    transition: 0.5s;
    filter: grayscale(100%);
}
.about-img-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.about-content-card {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--primary) 150%);
}
body.light-mode .about-content-card > h2 {
    color: var(--primary) !important;
}

/* --- SKILLS PROGRESS BARS --- */
.skill-item .progress {
    height: 8px;
    background-color: var(--border);
    border-radius: var(--bs-border-radius-pill);
    overflow: hidden; 
}
.skill-item .progress-bar {
    background-color: var(--primary);
    border-radius: var(--bs-border-radius-pill);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
}

/* Services Cards */
.service-card {
    padding: 40px 30px;
    height: 100%;
}
body.light-mode .service-card {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}
.service-card:hover {
    transform: translateY(-5px);
}
/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--border);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}
.timeline-item:hover {
    border-left-color: var(--primary);
}
/* --- NEW SECTIONS (Process, Stats, CTA) --- */
/* Process Section */
.process-card {
    padding: 40px 30px;
    height: 100%;
}
body.light-mode .process-card {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}
.process-card:hover {
    transform: translateY(-10px);
}
.step-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: 'Space Grotesk', sans-serif;
}
body.light-mode .step-number {
    color: rgba(0, 0, 0, 0.05);
}
/* Stats Section */
.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--bg-section) 100%);
}
body.light-mode .cta-section {
    background: linear-gradient(180deg, #f4f7f9 0%, #e9ecef 100%);
}
/* Text Animation Helper */
.char {
    display: inline-block;
} /* Required for transform animations on letters */
.word {
    display: inline-block;
    white-space: nowrap;
} /* Keeps words together */
/* --- NEW SECTIONS (Pricing, FAQ, Blog) --- */
/* Pricing */
.pricing-card {
    padding: 40px;
}
body.light-mode .pricing-card {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}
.pricing-card:hover {
    transform: translateY(-10px);
}
.price-tag {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
/* FAQ */
.accordion-item {
    background: transparent;
    border: 1px solid var(--border);
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
}
.accordion-button {
    background: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}
body.light-mode .accordion-button:not(.collapsed) {
    background: rgba(var(--primary-rgb), 0.1);
}
.accordion-body {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary-dark);
}
body.light-mode .accordion-body {
    background: var(--dark);
}
/* Blog */
.blog-card {
    padding: 1px; /* To ensure image sits inside the spotlight border */
}
body.light-mode .blog-card {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-radius: 19px 19px 0 0;
}
.blog-content {
    padding: 25px;
}
/* Scroll Text Fill Animation */
.text-fill-anim {
    -webkit-text-stroke-width: 1px;
    -webkit-text-fill-color: transparent; /* Transparent inside */
    color: transparent;
    background-image: linear-gradient(to right, var(--primary), var(--primary)); /* Fill color */
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 0% 100%; /* Start empty */
    background-position: 0% 50%;
}
/* Typewriter Scrub Animation */
.typewriter-text .char {
    opacity: 0; /* Start completely invisible */
    transition: none; /* GSAP handles animation */
}
/* Cursor Updates */
.cursor-dot {
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
}
.cursor-outline {
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
}
/* Footer */
footer {
    background: var(--bg-section);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}
section#contact .form-control, footer#contact .form-control {
    background-color: var(--dark) !important;
    border-color: var(--border) !important;
    color: var(--text-main) !important;
}
footer .form-control::placeholder, textarea.form-control::placeholder {
    color: var(--text-secondary-dark) !important;
    /* To remove browser default transparency */
}
.all-rights {
    color: var(--primary) !important;
}
.mail {
    color: var(--primary);
}
.mail:hover {
    color: var(--secondary);
}
body.light-mode footer .form-control {
    background-color: #fff !important;
}
.social-links a i {
    color: rgb(136, 136, 136);
}
.social-links a:hover i {
    color: rgb(84, 84, 84);
}
body.light-mode .social-links a i {
    color: rgb(26, 26, 26);
}
body.light-mode .social-links a:hover i {
    color: var(--primary);
}
.btn-main {
    position: relative;
    background: var(--primary);
    color: #fff !important;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}
.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--secondary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    border-radius: 50px;
}
/* Shine Effect for Primary Button */
.btn-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    transition: none;
    z-index: 1;
    pointer-events: none;
}
.btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 0, 224, 0.4);
    letter-spacing: 3px; /* Text Expansion */
}
.btn-main:hover::before {
    width: 100%;
}
.btn-main:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Hero Secondary Button (Hire Me) */
.hero-btn {
    position: relative;
    background: transparent;
    color: var(--text-main) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-main);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left;
    transform: scaleX(0) skewX(-20deg); /* Diagonal Fill Start */
    z-index: -1;
    border-radius: 50px;
}
.hero-btn:hover {
    color: var(--bg-section) !important;
    border-color: var(--text-main);
    transform: translateY(-5px);
    letter-spacing: 3px;
    animation: btnPulse 1.5s infinite;
}
.hero-btn:hover::before {
    transform: scaleX(1) skewX(-20deg); /* Diagonal Fill End */
    width: 150%; /* Ensure full coverage with skew */
    left: -25%;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-main) !important;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Light Mode Adjustments for Hero Button */
body.light-mode .hero-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-main) !important;
}
body.light-mode .hero-btn::before {
    background: var(--text-main);
}
body.light-mode .hero-btn:hover {
    color: var(--bg-section) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Custom Cursor Styles */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    mix-blend-mode: difference; /* Cool effect on different backgrounds */
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(var(--primary-rgb), 0.5);
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
/* Modal Overrides */
.modal-content {
    background-color: var(--bg-modal);
    border-color: var(--border);
}
.modal-header, .modal-footer {
    border-color: var(--border);
}

/* --- UNIVERSAL SPOTLIGHT CARD STYLES --- */
.about-stat-card,
.about-content-card,
.service-card,
.process-card,
.pricing-card,
.blog-card,
.tool-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05); /* Inactive Border Color */
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none; /* Remove old borders */
}

/* Spotlight Gradient (The Glow) */
.about-stat-card::before,
.about-content-card::before,
.service-card::before,
.process-card::before,
.pricing-card::before,
.blog-card::before,
.tool-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(
        500px circle at var(--mouse-x) var(--mouse-y),
        rgba(var(--primary-rgb), 0.6),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.about-stat-card:hover::before,
.about-content-card:hover::before,
.service-card:hover::before,
.process-card:hover::before,
.pricing-card:hover::before,
.blog-card:hover::before,
.tool-card:hover::before {
    opacity: 1;
}

/* Inner Card Background (The Mask) */
.about-stat-card::after,
.about-content-card::after,
.service-card::after,
.process-card::after,
.pricing-card::after,
.blog-card::after,
.tool-card::after {
    content: "";
    position: absolute;
    inset: 3px; /* Border Width */
    background: var(--bg-card);
    border-radius: 19px;
    z-index: 1;
}
.con-form .form-control::placeholder {
    color: var(--text-secondary-dark);
}
/* Special override for About Content Card to keep gradient visible but subtle */
.about-content-card::after {
    background: linear-gradient(135deg, var(--bg-section) 20%, rgba(var(--primary-rgb), 0.15) 100%);
}

/* Ensure Content is Clickable and Visible */
.about-stat-content,
.about-content-card > *,
.service-card > *,
.process-card > *,
.pricing-card > *,
.blog-card > *,
.tool-card > * {
    position: relative;
    z-index: 2;
}

/* --- BOOTSTRAP OVERRIDES FOR THEME --- */
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary.active,
.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}

/* Contact Info Cards */
.contact-info-card {
    padding: 20px;
    border-radius: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}
.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: 0.3s;
}
.contact-info-card:hover .contact-icon-box {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
#contact-form .form-control::placeholder {
    color: var(--text-secondary-dark);
}

/* --- NEW FOOTER STYLES --- */
footer {
    background-color: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}
footer h4, footer h5 {
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
}
footer ul li a {
    transition: 0.3s;
}
footer ul li a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

/* --- SCROLL PROGRESS BUTTON --- */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Clip the water */
    background-color: var(--bg-card);
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Water Fill Animation */
.progress-wrap::after {
    content: "";
    position: absolute;
    left: -50%;
    top: calc(100% - var(--scroll-height, 0%));
    width: 200%;
    height: 200%;
    background-color: var(--primary);
    border-radius: 40%;
    animation: wave 6s linear infinite;
    z-index: 1;
    transition: top 0.1s linear;
}
/* Second Wave Layer (Background) */
.progress-wrap::before {
    content: "";
    position: absolute;
    left: -50%;
    top: calc(100% - var(--scroll-height, 0%) + 10px);
    width: 200%;
    height: 200%;
    background-color: var(--primary);
    opacity: 0.4;
    border-radius: 45%;
    animation: wave 10s linear infinite;
    z-index: 0;
    transition: top 0.1s linear;
}
/* Arrow Icon */
.progress-wrap i {
    position: relative;
    z-index: 2;
    color: var(--text-main);
    font-size: 1.2rem;
    transition: color 0.3s;
    mix-blend-mode: difference; /* Ensures visibility on both backgrounds */
}
/* Hide old SVG */
.progress-wrap svg {
    display: none !important;
}
body.light-mode .progress-wrap {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
body.light-mode .progress-wrap i {
    color: var(--dark);
}

@keyframes wave {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- FLOATING CONTACT BUTTON --- */
.floating-contact-btn {
    position: fixed;
    right: 30px;
    bottom: 100px; /* Above the Go-To-Top button */
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.floating-contact-btn.btn-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#quick-contact-form .form-control, .form-control::placeholder {
    color: var(--text-secondary-dark);
}
.floating-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}
.floating-contact-btn i {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.floating-contact-btn .fa-times {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}
.floating-contact-btn.active .fa-comment-dots {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}
.floating-contact-btn.active .fa-times {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}




