/********** Template CSS **********/
:root {
    --primary: #4A2C92; /* Deep royal purple */
    --secondary: #FFAA22; /* Rich golden amber */
    --light: #ECECF2; /* Soft premium white */
    --dark: #080910; /* Elegant deep black */
    --primary-icon-gradient: linear-gradient(135deg, rgba(109, 72, 224, 0.9), rgba(85, 40, 210, 0.8)); /* Gradient with transparency */
    --icon-hover-gradient: linear-gradient(135deg, rgba(61, 26, 138, 1), rgba(45, 19, 107, 1)); /* Rich deep hover effect */
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Places it behind content */
    filter: drop-shadow(0px 0px 8px rgba(255, 170, 34, 0.5)); /* Soft amber glow */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    #particles-js {
        filter: drop-shadow(0px 0px 5px rgba(255, 170, 34, 0.3)); /* Softer glow for small screens */
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/********** logo spinner start  **********/
/* Overlay loader */
  #spinner_logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f8f6ff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    gap: 20px;
  }

  /* Full-screen overlay loader */
    #spinner_logo {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: #f8f6ff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      flex-direction: column;
      gap: 20px;
    }

    .logo-container {
      position: relative;
      width: 180px;
      height: 180px;
      border: 4px solid #6244c5;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0 0 25px rgba(98, 68, 197, 0.3);
      background-color: white;
    }

    .logo-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      z-index: 1;
    }

    .water-fill {
      position: absolute;
      bottom: 0;
      width: 100%;
      height: 0%;
      background: linear-gradient(to top, #c084fc, #e0b3ff);
      opacity: 0.6;
      z-index: 2;
      animation: fillWater 3s forwards ease-in-out;
    }

    @keyframes fillWater {
      to { height: 100%; }
    }

    .loading-text-typed {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    margin-top: 20px;
    text-align: center;
    margin-top: 0px;
    /* Typing animation */
    animation: typing 2.8s steps(12, end) forwards, glowPulse 2.5s ease-in-out infinite, shine 5s linear infinite;

    /* Gradient text + stroke combo */
    color: transparent;
    background-image: linear-gradient(90deg, #4A2C92, #A077FF);
    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-stroke: 1.5px #4A2C92;
    text-stroke: 1.5px #4A2C92;

    /* Glowing text shadow */
    text-shadow:
        0 0 6px #7e57c2,
        0 0 12px #a077ff,
        0 0 18px #c8a5ff;
    }

    /* Typing effect */
    @keyframes typing {
    from { width: 0 }
    to { width: 12ch }
    }

    /* Glow pulsating */
    @keyframes glowPulse {
    0%, 100% {
        text-shadow:
        0 0 6px #7e57c2,
        0 0 12px #a077ff,
        0 0 18px #c8a5ff;
    }
    50% {
        text-shadow:
        0 0 10px #b388ff,
        0 0 20px #c299ff,
        0 0 30px #e0ccff;
    }
    }

    /* Shine flicker effect */
    @keyframes shine {
    0% {
        background-position: -200%;
    }
    100% {
        background-position: 200%;
    }
    }

    @media (max-width: 576px) {
    .loading-text-typed {
        font-size: 1.5rem;
        animation: typingMobile 2.8s steps(12, end) forwards, glowPulse 2.5s ease-in-out infinite, shine 5s linear infinite;
    }

    @keyframes typingMobile {
        from { width: 0 }
        to { width: 10ch }
    }
    }
    /* Responsive Design */
    @media (max-width: 480px) {
      .logo-container {
        width: 140px;
        height: 140px;
      }
    }
/********** logo spinner end   **********/

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent */
    backdrop-filter: blur(10px); /* Glassmorphism */
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}

/* Center Navigation Items */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Reduce space for better look */
}

/* Style Each Nav Link */
.navbar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 10px 12px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    position: relative;
}

/* Icon Styling */
.navbar .nav-item i {
    font-size: 20px;
    color: var(--primary); /* Follow primary color */
    margin-bottom: 5px;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover & Active Effects */
.navbar .nav-item:hover,
.navbar .nav-item.active {
    color: var(--primary);
}

.navbar .nav-item:hover i,
.navbar .nav-item.active i {
    color: var(--primary);
    transform: scale(1.1);
}

/* Active Section on Scroll */
.navbar .nav-item.active::after {
    content: "";
    width: 50%;
    height: 3px;
    background: var(--primary);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F5F5F5; /* Smoke white border */
    margin-right: 10px;
}


/* Mobile Navbar */
@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        color: var(--primary);
    }

    .navbar .nav-item {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        padding: 8px 15px;
    }

    .navbar .nav-item i {
        margin-bottom: 0;
        margin-right: 10px;
        font-size: 18px;
    }
    .navbar .nav-item.active::after {
        content: "";
        width: 5%;
        height: 3px;
        background: var(--primary);
        position: absolute;
        bottom: -5px;
        left: 6.8%;
        transform: translateX(-50%);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/*** Carousel Header Start ***/

.carousel-indicators [data-bs-target] {
    display: flex;
    width: 15px;
    height: 15px;
    border: 6px solid var(--bs-white);
    border-radius: 15px;
    padding: 0;
    margin-top:10px;
    margin-bottom:10px;
    background: var(--primary) !important;
    opacity: 1;
    transition: 0.5s;
}

.carousel-indicators [data-bs-target].active {
    background: linear-gradient(to right, #ff7e5f, #feb47b) !important;
}
/*** Carousel Header End ***/

/*** Header ***/
.carousel-item {
    position: relative;
    height: 100vh;
}
/* Add the gradient background using ::before */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(57, 42, 109, 0.4), rgba(57, 42, 109, 0.4)); /* Using #6244C5 */
    z-index: 1; /* Places gradient above image */
}
  
/* Image styling */
.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(50%);
    width: 100%;
}

/* Ensuring content appears above gradient */
.carousel-caption {
    position: absolute;
    bottom: 30%;
    left: 10%;
    text-align: left;
    padding: 20px;
    z-index: 2; /* Places content above gradient */
}
.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
    font-family: 'Poppins', sans-serif;
}
.typed-cursor {
    font-size: 30px;
    color: #ff7e5f;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

/* Text Styling */
.carousel-caption h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.carousel-caption h3 {
    font-weight: bold;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-size: 2.3rem;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

/* Auto Typed Text Color & Styling */
.typed-text-output {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-family: 'Montserrat', sans-serif;
}
 /* Medium Screens (Tablets) */
 @media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption h3 {
        font-size: 1.8rem;
    }

    .typed-text-output {
        font-size: 1.8rem;
    }
    .carousel-caption {
        padding: 1px;
    }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .typed-text-output {
        font-size: 1.6rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .carousel-caption h1 {
        font-size: 2rem;
        font-weight: 700;
    }

    .carousel-caption h3 {
        font-size: 1.2rem;
    }

    .typed-text-output {
        font-size: 1.4rem;
    }
}
/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 45px;
}

.section-header p {
    display: inline-block;
    margin: 0 30px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #ffffff;
}

.section-header p::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 11px;
    right: 0;
    left: -30px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    z-index: -1;
}

.section-header p::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    top: 11px;
    left: 3px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    z-index: 1;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}

/*** About ***/
#about .years .display-1 {
    font-size: 10rem;
    line-height: 9rem;
}

#about .years h5 {
    letter-spacing: 30px;
    margin-right: -30px;
}


/*** Skills ***/
#skill .progress {
    height: 5px;
    border-radius: 5px;
}

#skill .progress .progress-bar {
    width: 0px;
    border-radius: 5px;
    transition: 3s;
}

#skill .nav-pills .nav-link {
    color: var(--dark);
}

#skill .nav-pills .nav-link.active {
    color: #FFFFFF;
}

#skill .tab-content hr {
    width: 30px;
}

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 0 transparent;
    transition: ease-out 0.5s;
}

.service .service-item:hover {
    box-shadow: inset 800px 0 0 0 var(--primary);
}

.service .service-icon {
    position: relative;
    width: 150px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    background: #ffffff;
}

.service .service-icon i {
    position: relative;
    font-size: 60px;
    color: var(--primary);
    transition: .3s;
}

.service .service-item:hover i {
    font-size: 75px;
}

.service .service-text {
    position: relative;
    width: calc(100% - 120px);
    padding: 0 30px;
}

.service .service-text h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    transition: 1s;
}

.service .service-text p {
    margin: 0;
    font-size: 16px;
    transition: 1s;
}

.service .service-item:hover .service-text h3,
.service .service-item:hover .service-text p {
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .service .service-text h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .service .service-text p {
        font-size: 14px;
    }
}
/*******************************/
/******* Experience CSS ********/
/*******************************/
.experience {
    position: relative;
    padding: 45px 0 15px 0;
}

.experience .timeline {
    position: relative;
    width: 100%;
}

.experience .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.experience .timeline .timeline-item {
    position: relative;
    background: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.experience .timeline .timeline-item.left {
    left: 0;
    padding-right: 30px;
}

.experience .timeline .timeline-item.right {
    left: 50%;
    padding-left: 30px;
}

.experience .timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 48px;
    right: -8px;
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: 16px;
    z-index: 1;
}

.experience .timeline .timeline-item.right::after {
    left: -8px;
}

.experience .timeline .timeline-item::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 46px;
  right: 10px;
  z-index: 1;
  border: 10px solid;
  border-color: transparent transparent transparent #dddddd;
}

.experience .timeline .timeline-item.right::before {
  left: 10px;
  border-color: transparent #dddddd transparent transparent;
}

.experience .timeline .timeline-date {
    position: absolute;
    width: 100%;
    top: 44px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.experience .timeline .timeline-item.left .timeline-date {
    text-align: left;
    left: calc(100% + 55px);
}

.experience .timeline .timeline-item.right .timeline-date {
    text-align: right;
    right: calc(100% + 55px);
}

.experience .timeline .timeline-text {
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-right: 5px solid #dddddd;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.experience .timeline .timeline-item.right .timeline-text {
    border-right: none;
    border-left: 5px solid #dddddd;
}

.experience .timeline .timeline-text h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600;
}

.experience .timeline .timeline-text h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

.experience .timeline .timeline-text p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .experience .timeline::after {
        left: 8px;
    }

    .experience .timeline .timeline-item {
        width: 100%;
        padding-left: 38px;
    }
    
    .experience .timeline .timeline-item.left {
        padding-right: 0;
    }
    
    .experience .timeline .timeline-item.right {
        left: 0%;
        padding-left: 38px;
    }

    .experience .timeline .timeline-item.left::after, 
    .experience .timeline .timeline-item.right::after {
        left: 0;
    }
    
    .experience .timeline .timeline-item.left::before,
    .experience .timeline .timeline-item.right::before {
        left: 18px;
        border-color: transparent #dddddd transparent transparent;
    }
    
    .experience .timeline .timeline-item.left .timeline-date,
    .experience .timeline .timeline-item.right .timeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        text-align: left;
        margin-bottom: 10px;
    }
    
    .experience .timeline .timeline-item.left .timeline-text,
    .experience .timeline .timeline-item.right .timeline-text {
        border-right: none;
        border-left: 5px solid #dddddd;
    }
}
/*******************************/
/********* Banner CSS **********/
/*******************************/
.banner {
    position: relative;
    width: 100%;
    margin: 45px 0;
    padding: 90px 0;
    background: var(--primary);
}

.banner .container {
    max-width: 750px;
    text-align: center;
}

.banner .section-header-banner {
    margin-bottom: 20px;
}

.banner .section-header-banner p {
    color: var(--light);
    background: transparent;
}

.banner .section-header-banner p::after {
    display: none;
}

.banner .section-header-banner h2 {
    color: #ffffff;
}

.banner .section-header-banner h2 span {
    color: #ff7e5f;
    font-size: 50px;
}

.banner .banner-text p {
    font-size: 18px;
    color: #ffffff;
}

.banner .banner-text .btn {
    margin-top: 15px;
    color: var(--primary);
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.banner .banner-text .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}


/*******************************/
/********* Pricing CSS *********/
/*******************************/
.price {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.price .row {
    padding: 0 15px;
}

.price .col-md-4 {
    padding: 0;
}

.price .price-item {
    position: relative;
    margin-bottom: 30px;
    background: #ffffff;
}

.price .featured-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    z-index: 1;
}

.price .price-header,
.price .price-body,
.price .price-footer {
    position: relative;
    text-align: center;
}

.price .price-header {
    padding: 45px 0 30px 0;
    color: #414141;
}

.price .price-item.featured-item .price-header {
    color: var(--primary);
}

.price .price-title h2 {
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
}

.price .price-prices h2 {
    font-size: 45px;
    font-weight: 700;
    margin-left: 10px;
}

.price .price-prices h2 small {
    position: absolute;
    font-size: 18px;
    font-weight: 400;
    margin-top: 9px;
    margin-left: -12px;
}

.price .price-prices h2 span {
    margin-left: 1px;
    font-size: 18px;
    font-weight: 400;
}

.price .price-item.featured-item h2 {
    color: var(--primary);
}

.price .price-body {
    padding: 0 0 20px 0;
}

.price .price-description ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price .price-description ul li {
    padding: 0 0 20px 0;
}

.price .price-item .price-action {
    padding-bottom: 45px;
}

.price .price-item .price-action .btn {
    color: #ffffff;
    background: #414141;
    box-shadow: inset 0 0 0 50px #414141;
}

.price .price-item .price-action .btn:hover {
    color: #414141;
    background: transparent;
    box-shadow: inset 0 0 0 0 #414141;
    border-color: #414141;
}

.price .price-item.featured-item .price-action .btn {
    color: #ffffff;
    background: var(--primary);
    box-shadow: inset 0 0 0 50px var(--primary);
}

.price .price-item.featured-item .price-action .btn:hover {
    color: var(--primary);
    background: transparent;
    box-shadow: inset 0 0 0 0 var(--primary);
    border-color: var(--primary);
}

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(98 68 197 / 55%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}

/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px solid #ff7e5f;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel .testimonial-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #ff7e5f;
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 2px solid #ff7e5f;
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 5px;
    left: 5px;
    border-radius: 16px;
    background: var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active::after {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
}
/*** Team Start ***/
.team .team-item {
    position: relative;
    text-align: center;
    border-radius: 10px;
    margin-top: 100px;
    background: #EEEDF2;
    transition: 0.5s;
    z-index: 1;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--primary);
    z-index: 2;
    transition: 0.5s;
}

.team .team-item:hover::after {
    height: 100%;
}

.team .team-item .team-content {
    position: relative;
    z-index: 5;
}

.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}
.team .team-item:hover .team-content p {
    color: var(--bs-white);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    top: -100px;
    margin-bottom: -100px;
    border-radius: 10px;
    z-index: 3;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .3);
    z-index: 4;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}
/*** Team End ***/

/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.blog .blog-item {
    position: relative;
    margin-bottom: 30px;
}

.blog .blog-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.blog .blog-img img {
    width: 100%;
    transition: .5s;
}

.blog .blog-item:hover img {
    transform: scale(1.1);
}

.blog .blog-text {
    position: relative;
    padding: 18px;
    border-right: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    border-left: 1px solid rgba(0, 0, 0, .07);
}

.blog .blog-text h2 {
    font-size: 25px;
    font-weight: 600;
}

.blog .blog-text p {
    margin-bottom: 10px;
}

.blog .blog-item a.btn {
    margin-top: 10px;
    padding: 8px 15px;
}

.blog .blog-item a.btn i {
    margin-left: 5px;
}

.blog .blog-meta {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

.blog .blog-meta p {
    margin: 0 10px 0 0;
    font-size: 13px;
}

.blog .blog-meta i {
    color: #414141;
    margin-right: 5px;
}

.blog .blog-meta p:last-child {
    margin: 0;
}


/* blog details start */
.blog-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.8;
}
.blog-thumb:hover,
.blog-thumb.active {
    border-color: #6244C5;
    box-shadow: 0 0 10px rgba(98, 68, 197, 0.5);
    opacity: 1;
}

    /* Tab Styling */
#blogTab .nav-link.active {
    background-color: #6244C5;
    color: white;
}

.nav-tabs .nav-link.active {
    font-weight: 600;
}
.nav-tabs .nav-link {
    color: #333;
}

/* Accordion Styling */
.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}
.accordion-button:hover {
    background-color: #f5f5f5;
    color: #6244C5;
}
.accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #6244C5;
}

/* Responsive Thumbnail */
@media (max-width: 576px) {
    .blog-thumb {
        width: 65px;
        height: 50px;
    }
}

/* blog details end */

footer {
    top: 5rem;
    background: rgba(255, 255, 255, 0.8); /* Glassmorphic soft white */
    backdrop-filter: blur(10px); /* Smooth blur effect */
    color: #333; /* Dark text for readability */
    padding: 50px 0 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
    border-top: 3px solid var(--primary); /* Elegant top border */
    box-shadow: 0px -8px 20px rgba(0, 0, 0, 0.2); /* Floating shadow effect */
    border-radius: 20px 20px 0 0; /* Soft rounded top corners */
    padding-bottom: 5rem;
}

footer .redes {
    margin-bottom: 20px;
}

footer .redes a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.8rem; /* Reduced size */
    height: 2.8rem; /* Reduced size */
    background: transparent;
    border: .15rem solid var(--primary); /* Slightly thinner border */
    border-radius: 50%;
    font-size: 1.5rem; /* Smaller icon size */
    color: var(--primary);
    text-decoration: none;
    margin: 0.8rem 0.4rem; /* Adjusted spacing */
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08); /* Slightly softer shadow */
}

footer .redes a:hover {
    background: var(--primary);
    color: var(--light);
    transform: scale(1.1); /* Slight hover effect */
}

footer .arriba {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.9rem;
    height: 2.9rem;
    background: var(--primary);
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

footer .arriba:hover {
    background: #442e8f;
    color: white;
    box-shadow: 0px 0px 20px rgba(68, 46, 143, 0.7);
}

footer p {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 20px;
    opacity: 0.8;
}

.floating-donate-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    width: 48px;
    height: 48px;
    background-color: #6244C5;
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
  }

  .floating-donate-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background-color: #5137A8;
    color: #ffc107;
    }

  @media (max-width: 576px) {
    .floating-donate-btn {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
    }
  }
