/*
Template Name: Wadeng - Wedding & Event Planner Website Template
Author: Pillarix
Author URI: https://wrapbootstrap.com/user/pillarix
Version: 1.0
*/
/*
-- Body
-- Custom Classes
-- Nav
-- Back To Top
-- Sidebar
-- Page Loading
*/

/* Body */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");

body{
  overflow-x: hidden;
}
a{
  -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/*Navbar*/
.logo {
  height: 350px;
  width: auto;
  margin-top: -5rem;
  margin-bottom: -5rem;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
  .logo {
    height: 300px; 
    margin-top: -2rem;
    margin-bottom: -2rem;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 250px; /* aún más chico en celular */
    margin-top: -2rem;
    margin-bottom: -2rem;
  }
}


/*Header*/
.header-section {
    margin-top: -3rem !important;  /* elimina cualquier margen heredado */
}
.header-section .container {
    padding-top: 0 !important; /* quita py-5 de bootstrap */
}


/*Nuestros pacientes*/
.img-hover{
  width: 100%;
  max-width: 500px;        
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(57,54,155,0.3);
  object-fit: cover;
  transition: transform .3s ease, box-shadow .3s ease;
  display: block;
  cursor: pointer;
  background: #AC7EE6;
  opacity: 0.80; 
}
.img-hover:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(57,54,155,0.45);
}

/* opcional: asegurar que en pantallas pequeñas llene la columna */
@media (max-width: 767.98px) {
  .img-hover { max-width: 100%; }
}




/* Custom Classes */
.text-purple{
	color: #AC7EE6 !important;
}
.btn-theme {
	padding: 10px 25px !important;
}
.btn-purple{
	background-color: #AC7EE6;
	color: #ffffff;
	border: 1px solid #AC7EE6;
}
.btn-purple:hover, .btn-purple:focus, .btn-outline-purple:hover {
	background-color: #9657B1;
	color: #ffffff;
	border: 1px solid #9657B1;
}
.btn-outline-purple{
	color: #9657B1;
	border: 1px solid #9657B1;
}
.bg-purple{
	background-color: #AC7EE6;
}
.purple-tab .nav-link {
	color: #AC7EE6;
}
.bg-opacity-purple {
	background: rgb(139 61 255 / 8%);
}
.shadow {
  box-shadow: 0 10px 40px 0 rgba(47,47,47,.1) !important;
}
.transition-3d-hover {
  transition: all 0.2s ease-in-out;
}
.transition-3d-hover:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}
.osahan-dropdown-box {
  background-image: url("https://iamosahan.com/wrapbootstrap-pillarix/wadeng/img/bg.png") !important;
  background-size: cover;
  background-repeat: no-repeat;
}
.card-osahan-demo .card-img-top {
  border-radius: 18px 0 0 0 !important;
  border-right: 0px !important;
  border-bottom: 0px !important;
}
.card-osahan-demo{
  transition: all .35s;
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
}
.card-osahan-demo:hover {
  box-shadow:0px 0px 40px 10px rgba(0,0,0,0.05);
  transform: translateY(-10px);
}

/*SWIPER*/
  .swiper { padding-bottom: 50px; }

  /* flechas */
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  .swiper-button-prev::after{
    color: #39369B;
  }
  .swiper-button-next::after{
    color: #39369B;
  }
  .swiper-button-next:hover::after,
  .swiper-button-prev:hover::after {
    color: #231D37;
  }
  .swiper-slide {
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }
  .card {
    width: 80%;
    min-height: 460px; 
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  .card-body {
    flex-grow: 1;
    overflow-y: auto;
  }
  @media (max-width: 767px) {
    .swiper-slide { width: 280px; }
  }


/* Nav */
.osahan-main-nav{
	-webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
}
.osahan-main-nav.fixed-top{
  background-color: #ffffff;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.04);
}
.navbar-nav .dropdown-menu {
  box-shadow: 0px 24px 21px rgb(0 0 0 / 11%) !important;
}
.dropdown:hover>.dropdown-menu {
  display: block;
  animation: dropdown-show 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes dropdown-show {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.dropdown-menu:hover .dropdown-item{
  opacity: 0.6;
}
.dropdown-menu .dropdown-item:hover{
  opacity: unset;
  font-weight: 500;
}
.dropdown-item{
  transition: all 0.2s ease-in-out;
  padding-right: 40px;
}
.dropdown-item:hover{
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
}
.dropdown-item:after {
  content: "\ea6c";
  font-family: remixicon!important;
  font-style: normal;
  position: absolute;
  right: 0;
  font-size: 14px;
  line-height: 24px;
  opacity: 0;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.dropdown-item:hover:after{
  opacity: unset;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.dropdown-item {
  position: relative;
}
.single-dropdown-nav .dropdown-menu {
  border: none;
  border-radius: 11px;
  padding: 14px 22px 14px 14px;
  min-width: 270px;
}
.single-dropdown-nav .dropdown-menu .dropdown-item {
  padding: 7px 40px 7px 14px;
  border-radius: 6px;
}
.single-dropdown-nav .dropdown-menu .dropdown-item::after {
  right: 11px;
}
.site-brand  small {
	font-size: 11px;
	letter-spacing: 0.1px;
}
.site-brand .fw-bold {
	line-height: 20px;
}
.site-brand .lh-1 {
  line-height: 12px !important;
}
.osahan-dropdown-box p.lead.mb-5 {
  font-size: 13px;
  margin-bottom: 29px !important;
}
.osahan-dropdown-box  a.btn {
  padding: 10px 23px !important;
  border-radius: 32px;
  font-size: 14px;
  background: #000;
  border: none;
}
.osahan-dropdown-box  h1.text-primary {
  font-size: 25px;
  color: #000 !important;
}
.osahan-dropdown-box h5.text-dark {
  font-size: 15px;
  opacity: 0.7;
  margin-top: 30px !important;
}

/* Back To Top */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: #9657B1;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}
#back-to-top:hover {
  background-color: #6E52CF; 
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}




/* Sidebar */
#sidebar .offcanvas-header .link-light {
  color: #000 !important;
}
#sidebar .offcanvas-body .nav-item .nav-link {
  text-align: center;
  padding: 15px 20px !important;
}
#sidebar .offcanvas-body .nav-item.dropdown {
  position: unset !important;
}
#sidebar .offcanvas-body .dropdown-menu {
  position: relative !important;
  transform: unset !important;
  box-shadow: none !important;
}
#sidebar .offcanvas-body .dropdown-menu .dropdown-mega-content .col-lg-3 {
  border: none !important;
  padding: 15px 15px !important;
  text-align: center;
}

/* Page Loading */
.page-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all .4s .2s ease-in-out;
  transition: all .4s .2s ease-in-out;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}
[data-bs-theme="dark"] .page-loading {
  background-color: #121519;
}
.page-loading.active {
  opacity: 1;
  visibility: visible;
}
.page-loading-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  opacity: 0;
}
.page-loading.active > .page-loading-inner {
  opacity: 1;
}
.page-loading-inner > span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  color: #6f788b;
}
[data-bs-theme="dark"] .page-loading-inner > span {
  color: #fff;
  opacity: .6;
}
.page-spinner {
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .75rem;
  vertical-align: text-bottom;
  background-color: #d7dde2; 
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: spinner .75s linear infinite;
  animation: spinner .75s linear infinite;
}
[data-bs-theme="dark"] .page-spinner {
  background-color: rgba(255,255,255,.25);
}
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}


/*Contact*/
.contact-form {
  background-color: #f9fafb; /* Gris muy claro, más suave que blanco */
}

.custom-input {
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  padding-left: 0;
  transition: border-color 0.3s ease;
  background-color: transparent;
}

.custom-input:focus {
  border-color: #5b8fb9; /* Azul suave */
  box-shadow: none;
}

.btn-custom {
  background-color: #6E52CF; /* Azul psicología */
  color: white;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-custom:hover {
  background-color: #9657B1;
  transform: translateY(-2px);
}

/*Sobre nosotros*/

@media (max-width: 576px) {
  .sobre-nosotros p {
    font-size: 0.9rem; /* más chico que el lead original */
    line-height: 1.4;  /* menos altura de línea */
  }
  .sobre-nosotros h1 {
    font-size: 1.5rem; /* título más pequeño */
  }
  .sobre-nosotros .p-5 {
    padding: 1.5rem !important; /* menos padding */
  }
  .sobre-nosotros .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}