/**
* Template Name: MyPortfolio
* Template URL: https://bootstrapmade.com/myportfolio-bootstrap-portfolio-website-template/
* Updated: Aug 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Inconsolata",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Inconsolata",  sans-serif;
  --nav-font: "Inconsolata",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #000000; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5b5b5b;  /* The default color of the main navmenu links */
  --nav-hover-color: #000000; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f5f5f5; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5b5b5b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #000000; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu */
.mobile-nav-toggle {
  color: var(--nav-color);
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  display: block !important;
  z-index: 998;
  transition: 0.3s;
}

.mobile-nav-toggle:hover {
  color: var(--nav-hover-color);
}

.navmenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  z-index: 997;
  transition: 0.3s;
  width: 300px;
  overflow: hidden;
}

.navmenu ul {
  display: block;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  overflow-y: auto;
  transition: 0.3s;
  z-index: 998;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 10px 20px;
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a i:hover,
.navmenu a:focus i:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .active i,
.navmenu .active:focus i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

/*.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 10px 0;
  margin: 10px 20px;
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}*/

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--nav-dropdown-color), transparent 90%);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav-toggle {
  right: 310px;
  background-color: var(--surface-color);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.mobile-nav-active .navmenu {
  position: fixed;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--nav-mobile-background-color);
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 0 5px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  /*padding: 120px 0;*/
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  /*padding: 60px 0;*/
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-info h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.portfolio .portfolio-info p {
  font-size: 15px;
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  border-bottom: 2px solid var(--default-color);
  padding-bottom: 3px;
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 5px;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 18px;
  mask-border: 0;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
}

.portfolio .portfolio-content .portfolio-info p {
  text-align: center;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  font-size: 26px;
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

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

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item:hover .icon i {
  color: var(--heading-color);
}

.services .service-item:hover .icon:before {
  background: color-mix(in srgb, var(--heading-color), transparent 90%);
}

.services .service-item:hover h3 {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--heading-color);
}

.services .service-item:hover .readmore {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Alt Pricing Section
--------------------------------------------------------------*/
.alt-pricing .pricing-item {
  border-bottom: 1px dashed color-mix(in srgb, var(--default-color), transparent 60%);
  width: 100%;
  height: 100%;
  padding: 0 0 15px 0;
}

.alt-pricing .pricing-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.alt-pricing .pricing-item h4 {
  margin: 0;
  font-size: 18px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-image: url("../img/contact-bg.png");
  background-position: left center;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 640px) {
  .contact {
    background-position: center 50px;
    background-size: contain;
  }
}

.contact:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Fija la altura del contenedor del slide y centra su contenido */
.portfolio-details .swiper-slide {
  height: 550px; /* Ajusta este valor según la altura deseada */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fuerza a la imagen a cubrir el área manteniendo su proporción */
.portfolio-details .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Recorta los bordes para llenar el espacio sin deformar */
  border-radius: 8px; /* Opcional: bordes redondeados */
}





/* ============================================================
   REVISIÓN GLOBAL: Fondo Azul para Toda la Página
   ============================================================ */
body, 
.index-page, 
main,
section, 
.header, 
.footer,
.light-background {
  background-color: #0d6efd !important; /* Azul Bootstrap (ajusta HEX si quieres) */
  color: #ffffff !important;
}

/* Títulos y textos generales visibles */
h1, h2, h3, h4, h5, h6, 
p, span, a, 
.sitename, 
.section-title h2, 
.section-title p {
  color: #ffffff !important;
}

/* ============================================================
   AJUSTE PERSONALIZADO
   SOLUCIÓN AL LOGO CENTRADO
   ============================================================ */
#header .container-fluid {
  justify-content: center !important;
  position: relative;
  padding: 10px 0;
}

/*.logo-centrado-img {
  max-height: 50px; 
  height: auto;
  display: block;
}*/

/* Navegación a la derecha */
#header .navmenu {
  position: absolute !important;
  right: 20px;
  background-color: transparent !important;
}

.navmenu a, .navmenu a:focus {
  color: #ffffff !important;
}

.navmenu a:hover, .navmenu .active {
  color: #ffd700 !important; /* Dorado en hover */
}

/* ============================================================
   SOLUCIÓN AL HOVER DE IMAGEN EN PORTAFOLIO (CORRECCIÓN PEDIDA)
   ============================================================ */
   
/* Contenedor de la tarjeta azul completa */
.portfolio-wrap-azul {
  background-color: #0b5ed7; /* Azul un poco más oscuro para la tarjeta */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

/* Contenedor estricto para imagen + hover (Mismo tamaño que la imagen) */
.portfolio-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Ajusta la relación de aspecto si tus imágenes varían */
  overflow: hidden;
}

/* Imagen que ocupa todo su contenedor */
.portfolio-content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Superposición del hover: Solo cubre .portfolio-image-container */
.portfolio-info-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Capa oscura (mismo tono que en tu imagen) */
  opacity: 0; /* Oculto por defecto */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Efecto hover en el contenedor de imagen */
.portfolio-image-container:hover .portfolio-info-hover {
  opacity: 1; /* Mostrar la capa oscura en hover */
}

/* Estilos de Iconos en el Hover */
.preview-link-azul, .details-link-azul {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 10px;
  transition: all 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

.preview-link-azul:hover, .details-link-azul:hover {
  color: #ffffff;
}

/* Contenedor de Texto (Debajo de la imagen, con fondo azul) */
.portfolio-info-text {
  padding: 15px;
  text-align: center;
}

.portfolio-info-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff !important;
}

.portfolio-info-text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ============================================================
   REVISIÓN DE SCROLL: Solución de Altura (Corrección anterior)
   ============================================================ */
html, body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

.isotope-container {
  height: auto !important;
  min-height: min-content !important;
  overflow: visible !important;
}

.portfolio-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
}

/* Ajustes para hacer el logo más grande */
/*.logo-centrado-img {
  max-height: 310px !important;
  height: auto;
  width: auto;
  display: block;
}*/

/* Espaciado del header para acomodar el logo más grande */
#header {
  padding: 15px 0 !important;
}

/* Ocultar el texto del menú completamente si prefieres hacerlo desde CSS */
/* 
#navmenu ul {
  display: none !important;
}
*/

/* Oculta la lista de navegación en pantallas de escritorio (computadoras) */
@media (min-width: 1200px) {
  #navmenu ul {
    display: none !important;
  }
  
  /* Asegura que el ícono de hamburguesa esté alineado a la derecha */
  .mobile-nav-toggle {
    position: absolute;
    right: 20px;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
  }
}

/* Regla para mostrar el menú desplegable únicamente cuando se activa en móvil */
body.mobile-nav-active #navmenu ul {
  display: block !important;
}

/* Asegura que el ícono (hamburguesa o 'X') permanezca visible cuando el menú está abierto */
body.mobile-nav-active .mobile-nav-toggle {
  display: block !important;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  font-size: 32px;
  color: #271919 !important;
  cursor: pointer;
}

/* Fuerza a que el contenedor del menú abierto no oculte el botón de cierre */
.mobile-nav-toggle {
  z-index: 9999;
}

/* Cambia la fuente de todo el sitio a la tipografía redondeada */
body, 
h1, h2, h3, h4, h5, h6, 
p, span, a, li, button,
.sitename, .navmenu a {
  font-family: 'Fredoka', cursive, sans-serif !important;
}

/* Títulos principales (como "Somos la mejor opción...") con el tono amarillo/naranja del logo */
h1, h2, h3, .section-title h2 {
  color: #ffcc00 !important; /* Amarillo brillante del logo */
  font-weight: 600 !important;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3); /* Sombra suave para destacar sobre azul */
}

/* Subtítulos y textos de tarjetas (como "Inflables", "Barra Snacks") */
h4, .portfolio-info-text h4 {
  color: #ffffff !important;
  font-weight: 500 !important;
}

/* Párrafos e información secundaria */
p, .portfolio-info-text p, .section-title p {
  color: #ffffff !important;
  font-weight: 400 !important;
}

/* Filtros activos del portafolio (Todos, Inflables, Snacks) */
.portfolio-filters li {
  font-family: 'Fredoka', cursive, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}

.portfolio-filters li.filter-active,
.portfolio-filters li:hover {
  color: #ffcc00 !important; /* Resaltado amarillo estilo logo */
  border-bottom: 3px solid #ffcc00 !important;
}

/*============================================================*/
/*=====================AJUSTES FORMATOWEB=====================*/
/*============================================================*/

/* Fondo general con degradado suave y moderno */
body, 
.index-page, 
main,
section, 
.header, 
.footer,
.light-background {
  background: linear-gradient(180deg, #f0f8ff 0%, #dbeafe 40%, #bfdbfe 100%) !important;
  color: #1e293b !important;
}

/* Sombra y realce para el logo centrado */
.logo-centrado-img {
  max-height: 310px !important;
  height: auto;
  width: auto;
  display: block;
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.15)); /* Sombra para despegar el logo del fondo */
}

/* Contrastes de lectura para títulos principales */
h1, h2, h3, .section-title h2 {
  color: #0f172a !important; /* Azul muy oscuro/casi negro para máxima lectura */
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Párrafos e información general */
p, .section-title p {
  color: #334155 !important;
  font-weight: 400 !important;
}

/* Tarjetas del portafolio */
.portfolio-wrap-azul {
  background-color: #ffffff !important; /* Tarjeta blanca para resaltar la imagen y el texto */
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.portfolio-info-text h4 {
  color: #1e3a8a !important; /* Azul rey oscuro para los títulos dentro de las tarjetas */
}

.portfolio-info-text p {
  color: #64748b !important;
}

/* Filtros activos del portafolio */
.portfolio-filters li {
  color: #334155 !important;
}

.portfolio-filters li.filter-active,
.portfolio-filters li:hover {
  color: #0284c7 !important; /* Azul vibrante */
  border-bottom: 3px solid #0284c7 !important;
}

/* COLOR DE LOS DROPDOWN */

/* Color del texto del menú principal */
.navbar-nav .nav-link {
  color: #2c3e50 !important;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Color al pasar el ratón por el menú principal */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

/* Opciones del menú desplegable */
.navbar .dropdown-menu {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.navbar .dropdown-item {
  color: #333333 !important;
  font-weight: 500;
  padding: 10px 20px;
}

/* Estado hover de las opciones del desplegable */
.navbar .dropdown-item:hover {
  background-color: #0d6efd !important;
  color: #ffffff !important;
}

/* MENU LATERAL */

/* Menú Lateral Vertical */
.sidebar-vertical-menu .nav-link {
  font-weight: 600;
  color: #2c3e50 !important;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sidebar-vertical-menu .nav-link:hover {
  background-color: #f0f4f8;
  color: #0d6efd !important;
}

/* Submenús desplegables integrados */
.sidebar-vertical-menu .dropdown-menu {
  border: 1px solid #e2e8f0;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  margin-top: 4px;
}

.sidebar-vertical-menu .dropdown-item {
  font-weight: 500;
  font-size: 0.95rem;
  color: #4a5568 !important;
  padding: 8px 16px;
}

.sidebar-vertical-menu .dropdown-item:hover {
  background-color: #0d6efd !important;
  color: #ffffff !important;
}

/* Opcional: Despliegue automático al pasar el mouse en computadoras */
@media (min-width: 992px) {
  .sidebar-vertical-menu .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Posicionamiento relativo del contenedor */
.sidebar-vertical-menu .dropdown {
  position: relative;
}


/* ==========================================
   SOLUCIÓN DEFINITIVA PARA EL MENÚ MÓVIL
   ========================================== */

/* 1. Ocultar el menú de navegación normal en pantallas menores a 1200px */
@media (max-width: 1199px) {
  .header .navmenu {
    display: none !important; /* Oculto por defecto */
  }

  /* Mostrar únicamente el botón de hamburguesa */
  .header .mobile-nav-toggle {
    display: block !important;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    cursor: pointer;
    z-index: 1100;
    color: #222;
  }
}

/* 2. Cuando se hace clic (el body adquiere la clase .mobile-nav-active) */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active .header .navmenu {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important; /* Fondo blanco sólido */
  z-index: 1050 !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

/* 3. Acomodar los enlaces dentro del menú móvil para que no se amontonen */
body.mobile-nav-active .header .navmenu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

body.mobile-nav-active .header .navmenu ul li a {
  font-size: 24px;
  font-weight: 700;
  color: #333 !important;
}

/* 4. En pantallas grandes (Desktop), asegurar que el menú se vea normal y la hamburguesa desaparezca */
@media (min-width: 1200px) {
  .header .navmenu {
    display: flex !important;
  }
  .header .mobile-nav-toggle {
    display: none !important;
  }
}

/* Clases de color personalizadas */
.texto-rosa {
  color: #ff3366 !important; /* Rosa brillante */
}

.texto-verde {
  color: #28a745 !important; /* Verde brillante */
}

/* 1. Permitir que la barra lateral y los contenedores no corten el contenido */
.sidebar-vertical-menu,
.col-lg-3,
.row.gy-4,
.portfolio.section,
.main {
  overflow: visible !important;
}

/* 2. Ajuste inteligente para el submenú de opciones */
.sidebar-vertical-menu .dropdown-menu {
  position: absolute !important;
  top: 0 !important;
  left: 100% !important;
  margin-left: 5px !important;
  
  /* Se adapta al tamaño exacto, pero tiene un límite máximo inteligente para pantallas chicas */
  max-height: calc(100vh - 150px) !important; 
  overflow-y: auto !important; /* Muestra una barra elegante solo si excede la altura de la pantalla */
  
  /* Diseño limpio y espaciado cómodo */
  padding: 10px 0;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
}

/* 3. Ajuste de los elementos internos del menú para que no queden apretados */
.sidebar-vertical-menu .dropdown-menu .dropdown-item {
  padding: 8px 20px;
  white-space: normal; /* Permite que si un texto es largo baje de línea en lugar de cortarse */
}

/*COLOR DE LOS TITULOS*/

/* 1. Aplicar la tipografía divertida a todos los títulos y encabezados */
    h1, h2, h3, h4, h5, h6, .portfolio-info h3, .sitename, .sidebar-vertical-menu h5 {
      letter-spacing: 1px;
    }

    /* 2. Clases de colores brillantes para fiestas */
    .titulo-rosa {
      color: #ec4899 !important; /* Rosa brillante */
    }

    .titulo-verde {
      color: #22c55e !important; /* Verde brillante */
    }

    .titulo-anaranjado {
      color: #cf60058b !important; /* Verde brillante */
    }


  /* 1. Forzar color absoluto en los filtros de la lista */
  ul.portfolio-filters li.titulo-rosa {
    color: #ec4899 !important;
  }
  ul.portfolio-filters li.titulo-verde {
    color: #22c55e !important;
  }
  ul.portfolio-filters li.titulo-anaranjado {
    color: #f97316 !important;
  }

  /* 2. Forzar el color incluso cuando el botón está activo o se pasa el mouse por encima */
  ul.portfolio-filters li.filter-active.titulo-rosa,
  ul.portfolio-filters li.titulo-rosa:hover {
    color: #ec4899 !important;
  }
  ul.portfolio-filters li.filter-active.titulo-verde,
  ul.portfolio-filters li.titulo-verde:hover {
    color: #22c55e !important;
  }
  ul.portfolio-filters li.filter-active.titulo-anaranjado,
  ul.portfolio-filters li.titulo-anaranjado:hover {
    color: #f97316 !important;
  }

  h1.tituloPrincipal {
    font-size: 3.5rem !important; /* Puedes subirlo a 4rem o 4.5rem si lo quieres aún más gigante */
    line-height: 1.2 !important;  /* Asegura que si el texto baja a dos líneas no se amontone */
  }
  

  /* 1. COMPORTAMIENTO PARA COMPUTADORAS (Más pegado al menú padre) */
.sidebar-vertical-menu .dropdown-menu {
  position: absolute !important;
  top: 0 !important;
  left: 95% !important; /* Reducido de 100% a 95% para acercarlo */
  margin-left: 2px !important; /* Espacio mínimo de separación */
  max-height: calc(100vh - 150px) !important;
  overflow-y: auto !important;
  padding: 10px 0;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  background-color: #ffffff;
}

.sidebar-vertical-menu .dropdown-menu .dropdown-item {
  padding: 8px 20px;
  white-space: normal;
}

/* 2. COMPORTAMIENTO EXCLUSIVO PARA MÓVILES (Se mantiene hacia abajo) */
@media (max-width: 991.98px) {
  .sidebar-vertical-menu .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin-top: 5px !important;
    margin-left: 0 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.08);
  }
}

/* Asegura que el contenedor abarque todo el ancho de la pantalla sin márgenes */
#header.header {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

#header .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

/* El enlace contenedor ocupa todo el ancho */
.logo-link-centrado {
  display: block;
  width: 100%;
}

/* Cambiamos 'cover' por 'contain' para que NUNCA se corte la imagen y se vea completa */
.logo-centrado-img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain !important;
}

.btn-regresar {
    width: 200px; /* Ajusta el tamaño deseado */
    height: auto;
}

