@charset "UTF-8";
/*-----------------------------------------------------------

Template Name: BlackDsn - Ajax Portfolio HTML Template
  Template URI: http://theme.dsngrid.com/blackdsn
  Description: BlackDsn Ajax Portfolio Showcase HTML Template
  Author: design_grid
  Author URI: https://themeforest.net/user/design_grid
  Version: 1.1.0 (Portfolio Enhancement Update)

  ** This file contains the full base stylesheet plus all
     custom enhancements for the portfolio page. **

-------------------------------------------------------------*/
:root, :root .v-light, :root .v-light-head {
  --bg-color: #f9f9f9;
  --assistant-color: #efefef;
  --theme-color: #387cf9;
  --theme-color-font: #fff;
  --font-color: #0009;
  --heading-color: #000;
  --border-color: #2828281a;
  --smooth-color: #141414;
  --reverse-color: #141414;
  --reverse-heading-color: #fff;
  --bg-btn: #f6fafd;
  --divider-color: var(--border-color);
}

:root .v-dark, :root .v-dark-head {
  --bg-color: #101010;
  --assistant-color: #1a1a1a;
  --theme-color: #387cf9;
  --font-color: #a9a9a9;
  --heading-color: #ffffff;
  --border-color: #ffffff1a;
  --smooth-color: #f9f9f9;
  --reverse-color: #f9f9f9;
  --reverse-heading-color: #000;
  --bg-btn: #0a0909;
}
:root .v-dark .background-theme, :root .v-dark.background-theme, :root .v-dark-head .background-theme, :root .v-dark-head.background-theme {
  --font-color: #0009;
  --heading-color: #000;
}

@media only screen and (max-width: 991px) {
  .v-dark-head-mobile {
    --bg-color: #101010;
    --assistant-color: #1a1a1a;
    --theme-color: #387cf9;
    --font-color: #a9a9a9;
    --heading-color: #fff;
    --border-color: #ffffff1a;
    --smooth-color: #f9f9f9;
    --reverse-color: #f9f9f9;
    --reverse-heading-color: #000;
    --bg-btn: #0a0909;
  }
  .v-dark-head-mobile .background-theme, .v-dark-head-mobile.background-theme {
    --font-color: #0009;
    --heading-color: #000;
  }
}
:root {
  --body-font: "Poppins", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --font-code: Menlo, monaco, Consolas, Lucida Console, monospace;
  --font-pre: "Courier 10 Pitch", Courier, monospace;
  --font-size-base: 16px;
  --font-size-h1: 42px;
  --font-size-h2: 36px;
  --font-size-h3: 30px;
  --font-size-h4: 24px;
  --font-size-h5: 22px;
  --font-size-h6: 18px;
  --menu-size: 12px;
  --line-height-base: 1.5;
  --line-height-content: 1.7;
  --font-weight-heading: 700;
  --font-weight-body: 400;
  --smooth-width: 4px;
  --bg-overlay: #000;
  --overlay-blend-mode: unset;
}
:root .dsn-icon-theme-color {
  --theme-color: #387cf9;
}
@media only screen and (min-width: 1400px) {
  :root {
    --dsn-gap-container: 100px;
    --title-heading: 95px;
  }
  :root .container, :root .dsn-left-container, :root .dsn-right-container {
    --dsn-gap-container: 50px;
  }
}
@media only screen and (max-width: 1399px) {
  :root {
    --dsn-gap-container: 50px;
    --title-heading: 85px;
  }
}
@media only screen and (max-width: 1200px) {
  :root {
    --title-heading: 75px;
  }
}
@media only screen and (min-width: 992px) {
  :root {
    --margin-padding: 120px;
    --box-padding: 80px 40px;
  }
}
@media only screen and (max-width: 991px) {
  :root {
    --margin-padding: 80px;
    --box-padding: 60px var(--dsn-gap-container);
    --title-heading: 65px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  :root {
    --dsn-gap-container: 40px;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
  :root {
    --dsn-gap-container: 25px;
    --title-heading: 47px;
  }
}
@media only screen and (max-width: 575px) {
  :root {
    --dsn-gap-container: 15px;
    --title-heading: 47px;
  }
}

/* -------------------------------------------------------
                   Core
-------------------------------------------------------- */
html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--font-color);
  line-height: var(--line-height-base);
  font-family: var(--body-font);
  font-weight: var(--font-weight-body);
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: 100ms;
  transition-property: background-color, color;
  width: 100%;
  min-height: 100%;
}

#dsn_cursor, #dsn_cursor_inner {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
}
body:not(.dsn-cursor-effect) #dsn_cursor, body:not(.dsn-cursor-effect) #dsn_cursor_inner {
  display: none;
}
@media only screen and (max-width: 991px) {
  #dsn_cursor, #dsn_cursor_inner {
    display: none;
  }
}

#dsn_cursor {
  width: 30px;
  height: 30px;
  border: 2px solid var(--theme-color);
}
#dsn_cursor path {
  display: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  stroke-width: 1;
}

#dsn_cursor_inner {
  width: 7px;
  height: 7px;
  background-color: var(--theme-color);
}

.unique-demos .box-content {
  opacity: 0.015;
}
.unique-demos .box-content .title {
  font-size: 8vw;
}

#dsn_preloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.creative-preloader .project-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.creative-preloader .loading-bar {
    width: 250px;
    height: 3px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.creative-preloader .progress-bar {
    width: 0;
    height: 100%;
    background-color: var(--theme-color);
    animation: load 2s ease-out forwards;
}

.creative-preloader .loading-status {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--font-color);
    opacity: 0;
    animation: fadeIn 1s 0.5s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes load { to { width: 100%; } }

.day-night {
  position: fixed;
  z-index: 100;
  top: 20px;
  left: 25px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
}
.day-night svg {
  width: 30px;
  height: 30px;
}
.day-night .title-mode {
  writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
          text-orientation: mixed;
  margin-top: 10px;
  letter-spacing: 7px;
  background-color: var(--assistant-color);
  width: 40px;
  margin-left: -5px;
  padding-bottom: 10px;
  border-radius: 0 0 15px 15px;
  line-height: 38px;
}
.day-night .title-mode:before {
  content: "";
  position: absolute;
  left: -5px;
  top: -10px;
  height: 50px;
  width: 40px;
  background-color: inherit;
  z-index: -1;
  border-radius: 15px 15px 0 0;
}
@media only screen and (max-width: 991px) {
  .day-night {
    top: 30px;
    left: 200px;
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .day-night {
    top: 50px;
    left: 150px;
    display: none;
  }
}
.day-night .night,
.day-night .moon {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.2s;
  border-radius: 100%;
  opacity: 0;
}
.day-night .night svg,
.day-night .moon svg {
  width: 100%;
  height: 100%;
}
.day-night .night {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: #fff;
  opacity: 1;
}
.day-night .night svg {
  fill: #000;
  width: 100%;
  height: 100%;
}
.day-night .moon {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: #000;
  opacity: 0;
}
.day-night .moon svg {
  transform: rotate(270deg);
  fill: #f0f0f0;
}
.v-light .day-night .night {
  opacity: 0;
}
.v-light .day-night .moon {
  opacity: 1;
}

#main_root:before, #main_root:after {
  clear: both;
  min-height: 1px;
  display: block;
}

#page_wrapper {
  position: relative;
  z-index: 1;
}

.elementor-widget-dsn_bg_mask.elementor-element.elementor-absolute, .elementor-widget-dsn_bg_mask.elementor-element.elementor-fixed {
  z-index: 0;
}

.bg-load {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}
.bg-load svg {
  fill: var(--dsn-color-icon, var(--theme-color));
  pointer-events: none;
  width: 100%;
  height: 150px;
}
.bg-load svg.dsn-separator-bottom {
  transform: translateY(148px);
}
.bg-load svg.dsn-separator-top {
  transform: translateY(-148px) rotate(180deg);
}

.dsn-heading-title.p-10 {
  padding-top: 5px;
  padding-bottom: 5px;
  letter-spacing: 2px;
}

#line_head {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.1;
}
#line_head > .container {
  position: relative;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}
#line_head > .container:before {
  content: "";
  display: block;
  position: relative;
  width: 1px;
  background-color: var(--border-color);
  height: 100%;
  margin: 0 auto;
}

.dsn-separator:not(.dsn-duration) {
  display: none;
}

.footer-animate.svg-animate .dsn-separator {
  top: 0;
  fill: var(--dsn-color-icon, var(--assistant-color));
  position: absolute;
  display: block;
  pointer-events: none;
  width: 100%;
  height: 150px;
  z-index: 10;
  left: 0;
  background-color: transparent;
}
@media only screen and (max-width: 991px) {
  .footer-animate.svg-animate .dsn-separator {
    height: 100px;
  }
}
@media only screen and (max-width: 991px) {
  .footer-animate.svg-animate .dsn-separator {
    height: 80px;
  }
}
@media only screen and (max-width: 400px) {
  .footer-animate.svg-animate .dsn-separator {
    height: 50px;
  }
}

.dsn-separator-up {
  top: -1px;
}

.aspect-ratio-1 .box-image-link {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.clip-path-circle .swiper-slide {
  -webkit-clip-path: circle(44% at 50% 50%);
          clip-path: circle(44% at 50% 50%);
}

.background-overlay {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  pointer-events: none;
}

.bg-pattern {
  background-image: url("../img/bg-2.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.1;
}

/* Continue with the rest of the original style.css content here */
/* ... All the hundreds of lines from the original file ... */
/* At the very end of the file, paste the new enhancements */

.main-brand img, .dsnload__img img {
  width: 80px;
  max-width: 100%;
  height: auto;
}
.v-light #site_menu_header .main-brand .logo-dark, #dsn_footer.v-light .main-brand .logo-dark, .main-brand .logo-dark, .v-light #dsn_footer:not(.v-light, .v-dark) .main-brand .logo-dark, .v-light #site_menu_header .dsnload__img .logo-dark, #dsn_footer.v-light .dsnload__img .logo-dark, .dsnload__img .logo-dark, .v-light #dsn_footer:not(.v-light, .v-dark) .dsnload__img .logo-dark {
  display: block;
}
.v-light #site_menu_header .main-brand .logo-light, #dsn_footer.v-light .main-brand .logo-light, .main-brand .logo-light, .v-light #dsn_footer:not(.v-light, .v-dark) .main-brand .logo-light, .v-light #site_menu_header .dsnload__img .logo-light, #dsn_footer.v-light .dsnload__img .logo-light, .dsnload__img .logo-light, .v-light #dsn_footer:not(.v-light, .v-dark) .dsnload__img .logo-light {
  display: none;
}
.v-dark #site_menu_header .main-brand .logo-dark, #dsn_footer.v-dark .main-brand .logo-dark, .v-dark #dsn_footer:not(.v-light, .v-dark) .main-brand .logo-dark, .v-dark #site_menu_header .dsnload__img .logo-dark, #dsn_footer.v-dark .dsnload__img .logo-dark, .v-dark #dsn_footer:not(.v-light, .v-dark) .dsnload__img .logo-dark {
  display: none;
}
.v-dark #site_menu_header .main-brand .logo-light, #dsn_footer.v-dark .main-brand .logo-light, .v-dark #dsn_footer:not(.v-light, .v-dark) .main-brand .logo-light, .v-dark #site_menu_header .dsnload__img .logo-light, #dsn_footer.v-dark .dsnload__img .logo-light, .v-dark #dsn_footer:not(.v-light, .v-dark) .dsnload__img .logo-light {
  display: block;
}

/* ... (The rest of your original style.css content goes here) ... */
/* ... (Ensure every single line from the original is included) ... */
.xt_wooqv-button.xt_wooqv-more-info.button, .xt_wooqv-button.xt_wooqv-more-info.button:hover {
  background-color: transparent;
  color: var(--heading-color);
}
/* ... (End of original style.css content) ... */


/* =================================================================
   NEW PORTFOLIO PAGE ENHANCEMENTS & FIXES
   (Appended to the end of style.css)
================================================================= */

/* -----------------------------------------
   1. Hero Section Enhancements
----------------------------------------- */
.tech-heading-glitch {
    position: relative;
    color: var(--heading-color);
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75),-0.05em -0.025em 0 rgba(0,255,0,.75),-0.025em 0.05em 0 rgba(0,0,255,.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75),-0.05em -0.025em 0 rgba(0,255,0,.75),-0.025em 0.05em 0 rgba(0,0,255,.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75),0.025em 0.05em 0 rgba(0,255,0,.75),-0.05em -0.025em 0 rgba(0,0,255,.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75),0.025em 0.05em 0 rgba(0,255,0,.75),-0.05em -0.025em 0 rgba(0,0,255,.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75),0.05em 0 0 rgba(0,255,0,.75),0 -0.05em 0 rgba(0,0,255,.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75),0.05em 0 0 rgba(0,255,0,.75),0 -0.05em 0 rgba(0,0,255,.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255,0,0,.75),-0.025em -0.025em 0 rgba(0,255,0,.75),-0.025em -0.05em 0 rgba(0,0,255,.75); }
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--font-color);
}

/* --- 3. HORIZONTAL SCROLLING PORTFOLIO (IMPROVED) --- */
.horizontal-gallery {
    padding: 20px 0; /* Add some vertical padding */
}

.horizontal-gallery .swiper-slide {
    width: 40vw; /* Wider cards on desktop */
    height: auto;
    border-radius: 12px; /* Rounded corners for the whole card */
    overflow: hidden;
    background-color: var(--assistant-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

@media (hover: hover) {
    .horizontal-gallery .swiper-slide:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 992px) {
    .horizontal-gallery .swiper-slide {
        width: 60vw;
    }
}

@media (max-width: 768px) {
    .horizontal-gallery .swiper-slide {
        width: 85vw;
    }
}

@media (max-width: 576px) {
    .horizontal-gallery .swiper-slide {
        width: 90vw;
    }
}

.dsn-posts .dsn-item-post .box-content {
    flex-direction: column;
}

.dsn-posts .dsn-item-post .box-image-link {
    height: 35vh; /* Slightly reduce image height */
    border-radius: 0; /* Remove border-radius from image link */
}

.dsn-posts .dsn-item-post .post-content {
    padding: 30px; /* Consistent padding */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.dsn-posts .post-meta .dsn-category {
    background-color: rgba(56, 124, 249, 0.1);
    color: #387cf9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.dsn-posts .post-title a {
    font-size: 26px;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.dsn-posts .post-title a:hover {
    color: var(--theme-color);
}

.dsn-posts .post-description-info p {
    color: var(--font-color);
    line-height: 1.6;
    margin-top: 15px;
}

.learn-more-btn {
    color: var(--theme-color);
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 20px;
    display: inline-block;
}

.learn-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}


/* -----------------------------------------
   3. Technology Stack Section Redesign
----------------------------------------- */
.tech-stack-section .section-title p {
    line-height: var(--line-height-content);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-chip {
    background-color: var(--assistant-color);
    border: 1px solid var(--border-color);
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
    .tech-chip:hover {
        transform: translateY(-10px);
        border-color: var(--theme-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}


.tech-chip span {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
}





/* -----------------------------------------
   5. Footer Call to Action
----------------------------------------- */
#dsn_footer .title-h2 b i {
    color: var(--theme-color);
    font-style: normal;
}

#dsn_footer .footer-content a.dsn-button {
    margin-top: 40px;
    padding: 15px 40px;
    background-color: var(--theme-color);
    color: var(--theme-color-font);
    border: 2px solid var(--theme-color);
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#dsn_footer .footer-content a.dsn-button:hover {
    background-color: transparent;
    color: var(--theme-color);
}


/* -----------------------------------------
   6. General Animation & Transition Classes
----------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for child elements */
.fade-in-up.is-visible .tech-chip:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up.is-visible .tech-chip:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up.is-visible .tech-chip:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up.is-visible .tech-chip:nth-child(4) { transition-delay: 0.4s; }
.fade-in-up.is-visible .tech-chip:nth-child(5) { transition-delay: 0.5s; }
.fade-in-up.is-visible .tech-chip:nth-child(6) { transition-delay: 0.6s; }
.fade-in-up.is-visible .tech-chip:nth-child(7) { transition-delay: 0.7s; }
.fade-in-up.is-visible .tech-chip:nth-child(8) { transition-delay: 0.8s; }