/* ============================
  Template Name: Bliss
  Author: uideck
  Description: Digital Agency Bootstrap 5 Landing Page.
  Version: 1.0
=============================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans.woff2') format('woff2');
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon,
.footer .widget-wrapper .footer-widget .socials li a {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*===========================
    01.COMMON css 
===========================*/
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-color: #0D3243 #e2e8f0;
  scrollbar-width: thin;
}
html::-webkit-scrollbar {
  width: 8px;
}
html::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb {
  background: #0D3243;
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover {
  background: #004e5b;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #6B6F92;
  background: #fff;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10000;
  padding: 10px 16px;
  color: #fff;
  background: #0D3243;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus-visible {
  top: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
  text-decoration: none;
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid #D2591F;
  outline-offset: 2px;
  box-shadow: none;
}

a:hover {
  color: #4E6EF1;
}

a {
  transition: all 0.3s ease-out 0s;
}

a,
a:focus,
a:hover {
  text-decoration: none;
}

i,
span,
a {
  display: inline-block;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/* Video play icon overlay */
.video-gallery-item {
  position: relative;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 98, 114, 0.85);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 20px;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-gallery-item:hover .video-play-icon {
  background: rgba(0, 176, 185, 0.95);
  transform: translate(-50%, -50%) scale(1.1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  margin: 0px;
  color: #313450;
}

.section-title p {
  font-size: 18px;
  line-height: 28px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h1 {
  font-size: 35px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

ul,
ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  margin: 0px;
}

.img-bg {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.error {
  color: orangered;
}

.success {
  color: green;
}

/*===== All Button Style =====*/
.main-btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  transition: all .4s ease-in-out;
  border: none;
  background: #0D3243;
  overflow: hidden;
}

.main-btn:hover {
  color: #fff;
  text-decoration: none;
}

.main-btn:focus {
  text-decoration: none;
}

.main-btn.border-btn {
  border: 2px solid #0D3243;
  background: transparent;
  color: #313450;
}

.btn-hover {
  position: relative;
  overflow: hidden;
}

.btn-hover::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 0%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  top: 50%;
  left: 50%;
  padding: 50%;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
  transform: translate3d(-50%, -50%, 0) scale(0);
}

.btn-hover:hover::after {
  transform: translate3d(-50%, -50%, 0) scale(1.3);
}

/* Header phone button - no hover effect */
.navbar-nav .nav-item .main-btn.btn-hover::after {
  display: none;
}

.scroll-top {
  width: 45px;
  height: 45px;
  background: #D2591F;
  color: #fff;
  font-size: 22px;
  border-radius: 10px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top:hover {
  opacity: 1;
  bottom: 40px;
  background: rgba(227, 82, 5, 0.8);
}

@keyframes animation1 {
  0% {
    transform: translateY(30px);
  }

  50% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(30px);
  }
}

/* Ajuste colapso navbar para anchos menores a 1400px (evita fondo transparente) */
@media (max-width: 1399.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 99;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
  }

  .navbar-collapse .navbar-nav .nav-item {
    margin-left: 0 !important;
  }

  .navbar-collapse .navbar-nav .nav-link {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*===== All Preloader Style =====*/
.preloader {
  /* Body Overlay */
  position: fixed;
  top: 0;
  left: 0;
  display: table;
  height: 100%;
  width: 100%;
  /* Change Background Color */
  background: #fff;
  z-index: 99999;
}

.preloader .loader {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.preloader .loader .spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  margin-left: -32px;
  z-index: 18;
  pointer-events: none;
}

.preloader .loader .spinner .spinner-container {
  pointer-events: none;
  position: absolute;
  width: 100%;
  padding-bottom: 100%;
  top: 50%;
  left: 50%;
  margin-top: -50%;
  margin-left: -50%;
  animation: spinner-linspin 1568.2353ms linear infinite;
}

.preloader .loader .spinner .spinner-container .spinner-rotator {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinner-easespin 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.preloader .loader .spinner .spinner-container .spinner-rotator .spinner-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  right: 50%;
}

.preloader .loader .spinner .spinner-container .spinner-rotator .spinner-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  left: 50%;
}

.preloader .loader .spinner-circle {
  box-sizing: border-box;
  position: absolute;
  width: 200%;
  height: 100%;
  border-style: solid;
  /* Spinner Color */
  border-color: #4E6EF1 #4E6EF1 #ddd;
  border-radius: 50%;
  border-width: 6px;
}

.preloader .loader .spinner-left .spinner-circle {
  left: 0;
  right: -100%;
  border-right-color: #ddd;
  animation: spinner-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.preloader .loader .spinner-right .spinner-circle {
  left: -100%;
  right: 0;
  border-left-color: #ddd;
  animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

/* Preloader Animations */

@keyframes spinner-linspin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner-easespin {
  12.5% {
    transform: rotate(135deg);
  }

  25% {
    transform: rotate(270deg);
  }

  37.5% {
    transform: rotate(405deg);
  }

  50% {
    transform: rotate(540deg);
  }

  62.5% {
    transform: rotate(675deg);
  }

  75% {
    transform: rotate(810deg);
  }

  87.5% {
    transform: rotate(945deg);
  }

  to {
    transform: rotate(1080deg);
  }
}

@keyframes spinner-left-spin {
  0% {
    transform: rotate(130deg);
  }

  50% {
    transform: rotate(-5deg);
  }

  to {
    transform: rotate(130deg);
  }
}

@keyframes right-spin {
  0% {
    transform: rotate(-130deg);
  }

  50% {
    transform: rotate(5deg);
  }

  to {
    transform: rotate(-130deg);
  }
}

/*===========================
    02.HEADER css 
===========================*/
/*===== NAVBAR =====*/
.navbar-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  z-index: 99;
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.sticky {
  position: fixed;
  z-index: 99;
  background-color: #fff;
  box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out;
  left: 0;
  right: 0;
  width: auto;
}

.sticky .navbar {
  padding: 17px 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .sticky .navbar {
    padding: 15px 0;
  }
}

.sticky .navbar .navbar-nav .nav-item a {
  color: #313450;
}

.sticky .navbar .navbar-nav .nav-item a.active {
  color: #D2591F;
}

.sticky .navbar .navbar-toggler .toggler-icon {
  background: #313450;
}

.navbar {
  border-radius: 5px;
  position: relative;
  transition: all 0.3s ease-out 0s;
  padding: 20px 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar {
    padding: 17px 0;
  }
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  max-width: none;
}

.navbar-toggler {
  padding: 0;
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: #313450;
  display: block;
  margin: 5px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-toggler.active .toggler-icon:nth-of-type(1) {
  transform: rotate(45deg);
  top: 7px;
}

.navbar-toggler.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
}

.navbar-toggler.active .toggler-icon:nth-of-type(3) {
  transform: rotate(135deg);
  top: -7px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 12px;
  }
}

.navbar-nav .nav-item {
  position: relative;
  margin-left: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-nav .nav-item {
    margin-left: 0;
  }
}

@media (max-width: 1399.98px) {

  .navbar-nav .nav-item,
  .navbar-nav .nav-item:first-child {
    margin-left: 0;
  }
}

.navbar-nav .nav-item:first-child {
  margin-left: 0;
}

.navbar-nav .nav-item a {
  font-size: 18px;
  font-weight: 400;
  color: #6B6F92;
  transition: all 0.3s ease-out 0s;
  padding: 10px 0;
  position: relative;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-nav .nav-item a {
    display: inline-block;
    padding: 6px 0px;
    color: #6B6F92;
  }
}

.navbar-nav .nav-item a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-top: 2px solid #D2591F;
  z-index: -1;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Fix: No aplicar underline al botón de llamar */
.navbar-nav .nav-item a.main-btn::before {
  display: none;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active {
  color: #D2591F;
}

.navbar-nav .nav-item a:hover::before,
.navbar-nav .nav-item a.active::before {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left center;
}

.navbar-nav .nav-item:hover .sub-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-item:hover .sub-menu {
    top: 0;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item:hover .sub-menu {
    top: 0;
  }
}

.navbar-nav .nav-item .sub-menu {
  width: 200px;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 110%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-nav .nav-item .sub-menu {
    position: relative;
    width: 100%;
    top: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 767px) {
  .navbar-nav .nav-item .sub-menu {
    position: relative;
    width: 100%;
    top: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
}

.navbar-nav .nav-item .sub-menu li {
  display: block;
}

.navbar-nav .nav-item .sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: #222;
}

.navbar-nav .nav-item .sub-menu li a.active,
.navbar-nav .nav-item .sub-menu li a:hover {
  padding-left: 25px;
  color: #D2591F;
}

.auth-logo {
  display: block;
  max-width: 140px;
  height: auto;
  margin: 0 auto 10px auto;
}

.navbar-nav .sub-nav-toggler {
  display: none;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .sub-nav-toggler {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    color: #222;
    font-size: 18px;
    border: 0;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 767px) {
  .navbar-nav .sub-nav-toggler {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    color: #222;
    font-size: 18px;
    border: 0;
    width: 30px;
    height: 30px;
  }
}

.navbar-nav .sub-nav-toggler span {
  width: 8px;
  height: 8px;
  border-left: 1px solid #222;
  border-bottom: 1px solid #222;
  transform: rotate(-45deg);
  position: relative;
  top: -5px;
}

/* ============== hero-area ============ */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 70px;
  background: #fff;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .hero-section {
    padding: 180px 0 140px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-section {
    padding: 180px 0 140px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-section .hero-content {
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .hero-section .hero-content {
    margin-bottom: 50px;
  }
}

.hero-section .hero-content span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  color: #D2591F;
  margin-bottom: 20px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-section .hero-content h1 {
    font-size: 45px;
    font-weight: 700;
    line-height: 55px;
    margin-bottom: 20px;
  }

  .hero-section .hero-content p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 30px;
  }
}

.hero-section .hero-content h1 {
  font-size: 50px;
  margin-bottom: 35px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .hero-section .hero-content h1 {
    font-size: 45px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-section .hero-content h1 {
    font-size: 37px;
  }
}

@media (max-width: 767px) {
  .hero-section .hero-content h1 {
    font-size: 36px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .hero-section .hero-content h1 {
    font-size: 45px;
  }
}

.hero-section .hero-content p {
  margin-bottom: 40px;
}

.hero-section .hero-img img {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
}

.hero-section .hero-slideshow {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-section .hero-slideshow .hero-slide {
  display: block;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  backface-visibility: hidden;
  pointer-events: none;
  transform: translateZ(0);
  will-change: opacity;
}

.hero-section .hero-slideshow .hero-slide.is-active {
  opacity: 1;
}

.hero-section .hero-slideshow .hero-slide-next {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-slideshow .hero-slide {
    transition: none;
  }
}

.hero-section .hero-shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(40% 40% at 85% 20%, rgba(0, 176, 185, 0.08) 0%, rgba(0, 176, 185, 0) 60%);
}

.course-card .image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.course-card .image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover .image-wrapper::after {
  opacity: 1;
}

.course-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.course-card:hover img {
  transform: scale(1.05);
}

.course-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border-radius: 20px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 98, 114, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 176, 185, 0.3);
}

.course-card .content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card .content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2b4a;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card .content p {
  margin-bottom: 12px;
  color: #5a6a85;
  font-size: 14px;
  line-height: 1.5;
}

.course-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.course-card .badge {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  color: #0d5c8f;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(13, 92, 143, 0.1);
  transition: all 0.2s ease;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
  height: auto;
}

.course-card:hover .badge {
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeefb 100%);
}

.course-card .price {
  color: #D2591F;
  font-weight: 700;
  font-size: 13px;
}

.course-card .ribbon {
  position: absolute;
  top: 28px;
  left: 0;
  background: linear-gradient(135deg, #D2591F 0%, #0D3243 100%);
  color: #fff;
  padding: 8px 18px 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 4px 15px rgba(0, 98, 114, 0.35);
  z-index: 2;
}

.course-card .ribbon::before {
  display: none;
}

.course-card .meta-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: #4a5568;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f3f7;
}

.course-card .meta-line .price {
  font-weight: 800;
  font-size: 15px;
  color: #D2591F;
}

.course-card .meta-line .cert-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-card .meta-line i {
  color: #D2591F;
  font-size: 16px;
}

.attachments-section h5 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.attachments-section h5 i {
  color: #0D3243;
}

.attachments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.attachment-item:hover {
  background: #e9f7f8;
  border-color: #D2591F;
  transform: translateX(4px);
}

.attachment-item i:first-child {
  font-size: 22px;
  color: #0D3243;
}

.attachment-name {
  flex: 1;
  font-weight: 500;
  word-break: break-all;
}

.attachment-size {
  font-size: 12px;
  color: #888;
}

.attachment-item i:last-child {
  font-size: 16px;
  color: #D2591F;
}

/* Featured select in admin */
.featured-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 6px 28px 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 8px center;
  background-size: 12px;
  font-size: 13px;
  cursor: pointer;
  min-width: 60px;
  color: #333;
  font-family: inherit;
  line-height: 1.4;
}

.featured-select:focus {
  outline: none;
  border-color: #D2591F;
  box-shadow: 0 0 0 2px rgba(0, 176, 185, 0.15);
}

.featured-select:hover {
  border-color: #bbb;
}

.featured-select option {
  padding: 6px 10px;
  background: #fff;
  color: #333;
}

.featured-select option[value="0"] {
  color: #999;
}

/* ========== TRUSTED BANNER ========== */
.trusted-banner {
  padding: 25px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.trusted-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trusted-label {
  font-size: 15px;
  color: #64748b;
}

.trusted-label strong {
  color: #1a202c;
}

.trusted-logos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.logo-item i {
  font-size: 18px;
  color: #D2591F;
}

@media (max-width: 767px) {
  .trusted-content {
    justify-content: center;
    text-align: center;
  }

  .trusted-logos {
    justify-content: center;
  }
}

/* ========== SHOWCASE SECTION (Premium Features) ========== */
.showcase-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: #0a0f1a;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.gradient-orb.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #D2591F 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.gradient-orb.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.showcase-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 176, 185, 0.15);
  border: 1px solid rgba(0, 176, 185, 0.3);
  color: #D2591F;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pill-badge.light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.showcase-header h2 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .showcase-header h2 {
    font-size: 32px;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #D2591F 0%, #F0A35C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Mega Grid */
.features-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .features-mega-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 176, 185, 0.3);
  transform: translateY(-4px);
}

.feature-card.feature-hero {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(0, 176, 185, 0.1) 0%, rgba(0, 98, 114, 0.1) 100%);
  border-color: rgba(0, 176, 185, 0.2);
}

.feature-card.feature-wide {
  grid-column: span 2;
}

@media (max-width: 991px) {

  .feature-card.feature-hero,
  .feature-card.feature-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.card-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 176, 185, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.feature-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #D2591F 0%, #0D3243 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.feature-icon-large {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.feature-icon-large svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.feature-list li i {
  color: #D2591F;
  font-size: 16px;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #D2591F 0%, #0D3243 100%);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.feature-cta:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(0, 176, 185, 0.3);
  color: #fff;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

.feature-icon-wrap.gradient-orange {
  background: linear-gradient(135deg, #D2591F 0%, #ff7b3d 100%);
}

.feature-icon-wrap.gradient-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.feature-icon-wrap.gradient-teal {
  background: linear-gradient(135deg, #D2591F 0%, #0D3243 100%);
}

.feature-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-stats .stat {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.feature-stats .stat span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #D2591F;
  margin-bottom: 2px;
}

.feature-card.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.wide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 767px) {
  .wide-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.wide-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wide-left .feature-icon-wrap {
  margin-bottom: 0;
  flex-shrink: 0;
}

.wide-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 575px) {
  .wide-features {
    grid-template-columns: 1fr;
  }
}

.mini-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.mini-feature i {
  color: #D2591F;
  font-size: 16px;
}

/* ========== AGENCY PREMIUM SECTION ========== */
.agency-premium {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0D3243 0%, #004d5a 100%);
}

.agency-premium-bg {
  position: absolute;
  inset: 0;
}

.mesh-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 176, 185, 0.3), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(227, 82, 5, 0.15), transparent);
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: -50px;
  animation-delay: -10s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.agency-premium-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1199px) {
  .agency-premium-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.agency-info {
  color: #fff;
}

.agency-info h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .agency-info h2 {
    font-size: 32px;
  }
}

.agency-info h2 .highlight {
  position: relative;
  display: inline-block;
}

.agency-info h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: rgba(227, 82, 5, 0.4);
  z-index: -1;
  border-radius: 2px;
}

.agency-info .lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 40px;
}

.process-timeline {
  margin-bottom: 40px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.timeline-marker {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker {
  background: #D2591F;
  border-color: #D2591F;
}

.timeline-content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.timeline-content span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.timeline-connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  margin-left: 21px;
}

.agency-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.highlight-item i {
  color: #D2591F;
  font-size: 18px;
}

.agency-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #D2591F 0%, #ff6b2b 100%);
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(227, 82, 5, 0.3);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(227, 82, 5, 0.4);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Agency Showcase Cards */
.agency-showcase {
  position: relative;
  height: 400px;
}

@media (max-width: 1199px) {
  .agency-showcase {
    display: none;
  }
}

.showcase-card {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.showcase-card.main-card {
  top: 0;
  left: 0;
  right: 0;
  padding: 30px;
}

.main-card .card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #64748b;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.main-card .card-number {
  font-size: 56px;
  font-weight: 800;
  color: #0D3243;
  line-height: 1;
  margin-bottom: 4px;
}

.main-card .card-label {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 20px;
}

.card-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-sectors span {
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 12px;
  color: #64748b;
}

.floating-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
  font-size: 28px;
  color: #D2591F;
}

.floating-card strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #1a202c;
}

.floating-card span {
  font-size: 13px;
  color: #64748b;
}

.card-stats {
  bottom: 80px;
  left: -30px;
  animation-delay: 0s;
}

.card-rate {
  bottom: 0;
  right: -20px;
  animation-delay: -2s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* ========== VALUE SECTION ========== */
.value-section {
  padding: 100px 0;
  background: #fff;
}

.value-header {
  text-align: center;
  margin-bottom: 60px;
}

.value-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #1a202c;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .value-header h2 {
    font-size: 28px;
  }
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1199px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  position: relative;
  padding: 36px 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.value-card:hover {
  background: #fff;
  border-color: #D2591F;
  box-shadow: 0 20px 50px rgba(0, 176, 185, 0.12);
  transform: translateY(-6px);
}

.value-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
  transition: color 0.3s ease;
}

.value-card:hover .value-number {
  color: rgba(0, 176, 185, 0.15);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #D2591F 0%, #0D3243 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 24px;
}

.value-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

/* ========== FINAL CTA SECTION ========== */
.final-cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 176, 185, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta-content h2 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .final-cta-content h2 {
    font-size: 32px;
  }
}

.final-cta-content>p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.cta-buttons-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #D2591F 0%, #0D3243 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 176, 185, 0.3);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 176, 185, 0.4);
  color: #fff;
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-trust i {
  color: #10b981;
}

/* ========== NEWS SECTION ========== */
.news-hero {
  background: linear-gradient(180deg, #e8f4f5 0%, #f0f5f7 100%);
}

.news-list-section {
  background: #f0f5f7;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1f5f9;
}

.news-grid--4x3 .news-card-image {
  aspect-ratio: 4/3;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #cbd5e1;
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.news-card-date i {
  color: #D2591F;
}

.news-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.news-card .read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #D2591F;
  transition: gap 0.3s ease;
}

.news-card:hover .read-more {
  gap: 10px;
}

.news-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* News Detail */
.news-detail-section {
  background: #f8fafc;
}

.back-link {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #D2591F;
}

.news-detail-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.news-detail-image {
  aspect-ratio: 21/9;
  overflow: hidden;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-content {
  padding: 40px;
}

@media (max-width: 767px) {
  .news-detail-content {
    padding: 24px;
  }
}

.news-detail-content .news-meta {
  margin-bottom: 16px;
}

.news-detail-content .news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 14px;
  color: #64748b;
}

.news-detail-content .news-date i {
  color: #D2591F;
}

.news-detail-content h1 {
  font-size: 36px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 24px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .news-detail-content h1 {
    font-size: 28px;
  }
}

.news-body {
  font-size: 18px;
  color: #475569;
  line-height: 1.9;
  margin-top: 24px;
}

.news-body.lead {
  font-size: 18px;
  font-weight: 400;
  color: #334155;
}

.related-news h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
}

.related-news .news-card-link {
  display: block;
  height: 100%;
}

.news-card.small {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card.small .news-card-image {
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.news-card.small .news-card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.news-card.small .news-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card.small h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
  line-height: 1.4;
}

.course-card .main-btn {
  margin-top: auto;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 20px;
}

.course-detail-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.course-detail-card .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-detail-card .pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 14px;
  background: #eef4ff;
  color: #1b3a6f;
  font-size: 12px;
  border: 1px solid #d6e1ff;
}

.course-detail-card .pill.strong {
  background: #fff5eb;
  color: #d35400;
  border-color: #ffd9b3;
}

.course-detail-card .pill.pill-views {
  background: #e6f6f7;
  color: #0D3243;
  border-color: #bfe9ec;
}

.course-detail-card .pill.pill-inscritos {
  background: #fff3e6;
  color: #c2410c;
  border-color: #ffd9b3;
}

.course-detail-card .pill i {
  margin-right: 6px;
}

.course-detail-card .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.course-detail-card .info-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  background: #fafbff;
}

.course-detail-card .info-item i {
  color: #D2591F;
  font-size: 18px;
}

.course-detail-card .info-item small {
  display: block;
  color: #7a8396;
}

.course-detail-card .info-item strong {
  color: #313450;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e4e8f0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  .modal-overlay,
  .modal-box {
    transition: none;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eef1f6;
}

.modal-header h4 {
  margin: 0;
  font-size: 18px;
}

.modal-box .btn-close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #313450;
}

.modal-box .btn-close:hover {
  background: #f3f5f9;
}

.modal-body {
  padding: 18px;
}

body.modal-open {
  overflow: hidden;
}

.no-select {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.course-card .actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.course-card .actions .bookmark {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e0e5ef;
  background: #fff;
  color: #313450;
  transition: all 0.2s ease;
}

.course-card .actions .bookmark:hover {
  color: #D2591F;
  border-color: #D2591F;
}

.courses-grid {
  background: #f7f9fc;
}

.courses-grid .course-card {
  border: 1px solid #e6eaf2;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

/* Course listing: minimal editorial cards */
.course-card-minimal {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.course-card-minimal:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 176, 185, 0.25);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.11);
}

.course-card-minimal .image-wrapper {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: linear-gradient(135deg, #eef8f9 0%, #f8fafc 100%);
}

.course-card-minimal .image-wrapper::after {
  opacity: 1;
  height: 70%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.02) 72%, transparent 100%);
}

.course-card-minimal img {
  border-radius: 0;
  transform: scale(1.01);
}

.course-card-minimal:hover img {
  transform: scale(1.045);
}

.course-card-minimal .ribbon {
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.course-card-minimal .content {
  padding: 18px;
  min-height: 245px;
  gap: 12px;
}

.course-card-minimal .course-eyebrow {
  color: #0D3243;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-minimal .content h3 {
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0;
  min-height: 2.7em;
}

.course-card-minimal .meta {
  gap: 7px;
  margin-top: 0;
}

.course-card-minimal .badge {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-card-minimal .badge i {
  color: #D2591F;
  font-size: 13px;
}

.course-card-minimal:hover .badge {
  background: #fff;
}

.course-card-minimal .course-card-footer-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.course-card-minimal .course-value-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.course-card-minimal .price {
  color: #D2591F;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
}

.course-card-minimal .cert-row {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-card-minimal .cert-row i {
  color: #D2591F;
  font-size: 14px;
}

.course-card-minimal .course-card-link {
  color: #0D3243;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-card-minimal .course-card-link span {
  transition: transform 0.2s ease;
}

.course-card-minimal:hover .course-card-link span {
  transform: translateX(3px);
}

.course-card-minimal .closed-banner {
  font-size: 0.82rem;
  padding: 7px 42px;
  letter-spacing: 2px;
}

@media (max-width: 767px) {
  .course-card-minimal .content {
    min-height: auto;
    padding: 16px;
  }

  .course-card-minimal .image-wrapper {
    aspect-ratio: 4 / 3;
  }
}

.courses-grid .pagination .page-link {
  color: #0D3243;
}

.courses-grid .pagination .page-link:hover {
  color: #D2591F;
}

.pagination-wrapper ul {
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-ellipsis {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 575px) {
  .pagination-wrapper ul {
    gap: 4px !important;
  }

  .pagination-wrapper .main-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    padding: 0 !important;
  }

  .pagination-ellipsis {
    width: 36px;
    height: 36px;
  }
}

/* Course search block */
.course-search {
  background: linear-gradient(135deg, rgba(0, 176, 185, 0.08) 0%, rgba(0, 98, 114, 0.05) 100%);
}

.search-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6eaf2;
}

.search-card .form-label {
  font-weight: 600;
  color: #313450;
}

.search-card .form-control,
.search-card .form-select {
  border-radius: 12px;
  border: 1px solid #d9e1ec;
  padding: 12px 14px;
}

.search-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.search-actions .main-btn {
  flex: 1 1 0;
  border-radius: 12px;
  padding: 14px 18px;
}

.search-actions .border-btn {
  flex: 1 1 0;
}

/* Why choose us */
.why-choose {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.why-choose .why-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.why-choose .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.why-choose .why-card .bg-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 20% 20%, rgba(0, 176, 185, 0.08) 0%, rgba(0, 176, 185, 0) 60%);
  opacity: 0.9;
  pointer-events: none;
}

.why-choose .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.why-choose .icon-wrap.accent-1 {
  background: #D2591F;
}

.why-choose .icon-wrap.accent-2 {
  background: #0D3243;
}

.why-choose .icon-wrap.accent-3 {
  background: #D2591F;
}

.why-choose .why-card h3 {
  margin-bottom: 8px;
}

.why-choose .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.why-choose .tag {
  background: #f0f4fa;
  color: #313450;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.why-choose .cta-inline {
  margin-top: 12px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .hero-section .hero-img img {
    width: 100%;
    max-width: 680px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-section .hero-img img {
    width: 100%;
    max-width: 620px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-section .hero-img img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .hero-section .hero-img img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
}

.hero-section .hero-shape .shape {
  position: absolute;
  z-index: -1;
}

.hero-section .hero-shape .shape.shape-1 {
  top: -285px;
  right: -300px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .hero-section .hero-shape .shape.shape-1 {
    top: -420px;
    right: -550px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-section .hero-shape .shape.shape-1 {
    top: -400px;
    right: -550px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-section .hero-shape .shape.shape-1 {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section .hero-shape .shape.shape-1 {
    display: none;
  }
}

.client-logo-section .single-logo {
  opacity: .43;
  transition: all 0.3s ease-out 0s;
}

.client-logo-section .single-logo:hover {
  opacity: 1;
}

.client-logo-section .single-logo img {
  max-width: 100%;
}

.iso-logo-img {
  max-width: 140px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ======= about css ========*/
.about-section .about-img img {
  width: 100%;
}

.about-section .accordion .single-faq {
  margin-bottom: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 35px #f2f4f9;
}

.about-section .accordion .single-faq button {
  padding: 20px 30px 15px;
  border: none;
  background: none;
  font-size: 20px;
  font-weight: 500;
  color: #313450;
  position: relative;
}

.about-section .accordion .single-faq button::after {
  content: "\eb2c";
  font: normal normal normal 1em/1 "LineIcons";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-out 0s;
}

.about-section .accordion .single-faq button.scroll-top:hover {
  opacity: 1;
  bottom: 40px;
}

.about-section .accordion .single-faq button.collapsed::after {
  content: "\eb53";
}

.about-section .accordion .single-faq .faq-content {
  padding: 0 30px;
  padding-bottom: 20px;
}

/* Header logo sizing/alignment */
.header .navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  gap: 12px;
}

.header .navbar-brand img {
  max-height: 50px;
  width: auto;
  display: block;
}

.header .navbar-brand .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  letter-spacing: 3px;
}

.header .navbar-brand .brand-line {
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #0D3243;
  white-space: nowrap;
}

.header .navbar-brand .brand-line-accent {
  font-weight: 800;
  color: #D2591F;
}

@media (max-width: 575px) {
  .header .navbar-brand {
    gap: 8px;
    padding-left: 0;
  }
  .header .navbar-brand .brand-name {
    letter-spacing: 2px;
  }
  .header .navbar-brand .brand-line {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .header .navbar-brand .brand-name {
    display: flex;
    letter-spacing: 1px;
  }
  .header .navbar-brand .brand-line {
    font-size: 0.8rem;
  }
  .header .navbar-brand img {
    max-height: 38px !important;
  }
  .header .navbar-brand {
    margin-right: 8px;
    gap: 6px;
  }
  .header .navbar .main-btn {
    padding-inline: 8px !important;
    font-size: .85rem !important;
  }
}

/* Footer logo sizing/alignment */
.footer .footer-widget .logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer .footer-widget .logo img {
  max-width: 150px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer .footer-widget .logo .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 2px;
}

.footer .footer-widget .logo .brand-line {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #0D3243;
  white-space: nowrap;
}

.footer .footer-widget .logo .brand-line-accent {
  font-weight: 800;
  color: #D2591F;
}

/* Admin login / selector brand */
.auth-brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.auth-brand-name .brand-line {
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #0D3243;
}

.auth-brand-name .brand-line-accent {
  font-weight: 800;
  color: #D2591F;
}

/* Center admin buttons text */
.admin-card .main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============== service css ==============*/
.service-section {
  background-image: var(--service-bg-image);
}

.service-section .single-service {
  text-align: center;
  padding: 50px 30px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 30px;
}

.service-section .single-service:hover .icon {
  color: #fff;
}

.service-section .single-service:hover .icon.color-1 {
  background: #FB32FB;
}

.service-section .single-service:hover .icon.color-2 {
  background: #4E6EF1;
}

.service-section .single-service:hover .icon.color-3 {
  background: #FF3B3B;
}

.service-section .single-service:hover .icon.color-4 {
  background: #5A37FF;
}

.service-section .single-service .icon {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: 30px;
  font-size: 40px;
  color: #313450;
  transition: all 0.3s ease-out 0s;
}

.service-section .single-service .icon.color-1 {
  background: #FFEFFF;
}

.service-section .single-service .icon.color-2 {
  background: #E4E9FF;
}

.service-section .single-service .icon.color-3 {
  background: #FFEAEA;
}

.service-section .single-service .icon.color-4 {
  background: #ECE8FF;
}

.service-section .single-service .content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* ============= counter-up css =========== */
@media only screen and (min-width: 1400px) {
  .counter-up-section .counter-up-content {
    margin-right: 65px;
  }
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter {
  margin-bottom: 35px;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #4E6EF1;
  font-size: 42px;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-1 {
  background: #FFEFFF;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-2 {
  background: #E1F2FB;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-3 {
  background: #FFEAEA;
}

/* Aulario page */
.innovation-hero {
  background: linear-gradient(135deg, rgba(0, 176, 185, 0.08) 0%, rgba(0, 98, 114, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.innovation-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.4), transparent 30%),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.35), transparent 30%);
  pointer-events: none;
}

.innovation-hero .section-title h1 {
  font-size: 34px;
}

.innovation-hero .card-ghost {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.placement-hero {
  background: linear-gradient(135deg, rgba(0, 98, 114, 0.08) 0%, rgba(0, 176, 185, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.placement-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.45), transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.35), transparent 30%);
  pointer-events: none;
}

.placement-panel .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.placement-panel .dot-green {
  background: #2d8a58;
}

.placement-panel .dot-orange {
  background: #D2591F;
}

.placement-panel .dot-blue {
  background: #3f74e7;
}

.placement-panel {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  background: #fff;
}

.notfound-hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.notfound-hero .container {
  position: relative;
  z-index: 1;
}

.notfound-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.notfound-copy h1 {
  font-size: clamp(88px, 12vw, 160px);
  font-weight: 800;
  line-height: 0.78;
  color: #0D3243;
  letter-spacing: -0.08em;
  margin-bottom: 28px;
}

.notfound-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.notfound-copy p {
  max-width: 660px;
  font-size: 20px;
  line-height: 1.7;
  color: #4c5170;
}

.notfound-copy .badge-floating {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(227, 82, 5, 0.12);
  color: #D2591F;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 26px;
  gap: 8px;
}

.notfound-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.notfound-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -100px;
  right: -90px;
  border-radius: 50%;
  background: rgba(0, 176, 185, 0.12);
}

.notfound-text h3 {
  margin: 6px 0 8px;
  color: #0f172a;
  font-size: 28px;
}

.notfound-text > p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.notfound-card-eyebrow {
  color: #D2591F;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notfound-routes {
  display: grid;
  gap: 10px;
}

.notfound-routes > a {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #0f172a;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.notfound-routes > a:hover {
  transform: translateX(4px);
  border-color: rgba(0, 98, 114, 0.35);
  box-shadow: 0 10px 24px rgba(0, 98, 114, 0.08);
}

.notfound-route-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e8f6f7;
  color: #0D3243;
  font-size: 21px;
}

.notfound-routes strong,
.notfound-routes small {
  display: block;
}

.notfound-routes strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.notfound-routes small {
  color: #64748b;
  font-size: 12px;
}

.notfound-routes > a > .lni-arrow-right {
  color: #94a3b8;
}

.notfound-help {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
}

.notfound-help span {
  color: #64748b;
}

.notfound-help a {
  color: #0D3243;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .notfound-hero {
    padding: 120px 0 80px;
  }
}

@media (max-width: 575px) {
  .notfound-copy h1 {
    margin-bottom: 22px;
  }

  .notfound-copy p {
    font-size: 17px;
  }

  .notfound-card {
    padding: 22px;
  }

  .notfound-help {
    align-items: flex-start;
    flex-direction: column;
  }
}

.empty-state {
  background: #f7fbff;
  border: 1px dashed rgba(0, 98, 114, 0.16);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  color: #4c5170;
}

.empty-state .empty-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 98, 114, 0.08);
  color: #0D3243;
  font-size: 28px;
  margin-bottom: 12px;
}

.empty-state p {
  margin: 0;
  font-weight: 600;
}

.search-actions .main-btn {
  min-height: 54px;
}

.search-actions .main-btn+.main-btn {
  margin-left: 0;
}

.admin-shell {
  max-width: 1100px;
}

.admin-header {
  border: 1px solid rgba(0, 98, 114, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.admin-table thead th {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4c5170;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-table tbody td {
  vertical-align: middle;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.admin-search {
  min-width: 240px;
}

.admin-controls .control-btn {
  min-height: 44px;
}

.admin-table .badge {
  font-size: 12px;
  padding: 6px 10px;
  font-weight: 600;
}

.btn-compact {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
}

.innovation-cards .single-service {
  background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  border: 1px solid rgba(0, 98, 114, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.innovation-cards .single-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 98, 114, 0.16);
}

.innovation-cards .single-service .icon {
  width: 76px;
  height: 76px;
  border: 2px solid rgba(0, 98, 114, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.innovation-cards .single-service .content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.innovation-cards .single-service .content {
  flex: 1;
}

.innovation-cards .single-service .badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(0, 98, 114, 0.08);
  color: #0D3243;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.innovation-cards .single-service .mini-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.innovation-cards .single-service .mini-list li {
  margin-bottom: 6px;
  color: #4c5170;
}

.aula-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 1000px;
}

/* En tablet se recolocan en dos columnas */
@media (max-width: 820px) {
  .aula-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* En móvil apilamos en columna */
@media (max-width: 600px) {
  .aula-grid {
    grid-template-columns: 1fr;
  }

  .aula-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 28px 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

.aula-card {
  position: relative;
  padding: 30px 24px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.28s ease, filter 0.28s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.aula-card:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.18);
  filter: saturate(1.07);
}

.aula-card.naranja {
  background: linear-gradient(135deg, #ff9a62, #D2591F);
}

.aula-card.azul {
  background: linear-gradient(135deg, #9bdcff, #3f8fd1);
}

.aula-card.verde {
  background: linear-gradient(135deg, #8ed3a3, #2d8a58);
}

.aula-card.roja {
  background: linear-gradient(135deg, #ff8ea1, #c62b4e);
}

/* Biblioteca Promo Card - Premium */
.biblioteca-promo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0D3243 0%, #004d5a 50%, #003845 100%);
  padding: 30px 40px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 15px 35px rgba(0, 98, 114, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Shimmer decorativo */
.biblioteca-promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 40%,
      rgba(255, 255, 255, 0.03) 45%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.03) 55%,
      transparent 60%);
  animation: bibliotecaShimmer 6s infinite linear;
  pointer-events: none;
}

@keyframes bibliotecaShimmer {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

.biblioteca-promo-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 50px rgba(0, 98, 114, 0.35);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.promo-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.promo-text {
  flex: 1;
  text-align: center;
  padding-right: 50px;
}

.promo-text h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

.promo-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

.promo-arrow {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.biblioteca-promo-card:hover .promo-arrow {
  transform: translateX(5px);
  background: #D2591F;
  border-color: #D2591F;
  box-shadow: 0 6px 20px rgba(227, 82, 5, 0.4);
}

@media (max-width: 767px) {
  .biblioteca-promo-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 16px;
  }

  .promo-content {
    flex-direction: column;
    gap: 12px;
  }

  .promo-text {
    padding-right: 0;
  }

  .promo-arrow {
    display: none;
  }
}

/* Biblioteca Card - Premium Knowledge Style */
.biblioteca-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0c2d3f 0%, #0a3d5c 40%, #0f5272 100%);
  padding: 28px 36px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(10, 61, 92, 0.35);
  transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.biblioteca-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 176, 185, 0.25), 0 0 30px rgba(0, 176, 185, 0.1);
  color: #fff;
  border-color: rgba(0, 176, 185, 0.3);
}

.biblioteca-glow {
  position: absolute;
  top: -40%;
  left: -15%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 176, 185, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.5s ease;
  pointer-events: none;
}

.biblioteca-card:hover .biblioteca-glow {
  transform: scale(1.6);
}

/* Partículas decorativas */
.biblioteca-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.biblioteca-dots span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(0, 176, 185, 0.4);
  border-radius: 50%;
  animation: biblioFloat 5s infinite ease-in-out;
}

.biblioteca-dots span:nth-child(1) {
  top: 25%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 4s;
}

.biblioteca-dots span:nth-child(2) {
  top: 55%;
  left: 80%;
  animation-delay: 1s;
  animation-duration: 5s;
  background: rgba(255, 255, 255, 0.2);
}

.biblioteca-dots span:nth-child(3) {
  top: 70%;
  left: 45%;
  animation-delay: 2s;
  animation-duration: 4.5s;
  width: 4px;
  height: 4px;
}

.biblioteca-dots span:nth-child(4) {
  top: 15%;
  left: 70%;
  animation-delay: 0.5s;
  animation-duration: 3.8s;
  background: rgba(255, 199, 0, 0.3);
}

@keyframes biblioFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-12px) scale(1.4);
    opacity: 1;
  }
}



.biblioteca-emoji {
  width: 52px;
  /* Mismo ancho que el botón enter para equilibrar centering */
  display: flex;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: biblioBookWiggle 4s infinite ease-in-out;
  position: relative;
  z-index: 2;
}

@keyframes biblioBookWiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-3deg) scale(1.02);
  }

  40% {
    transform: rotate(2deg);
  }

  60% {
    transform: rotate(-1deg);
  }
}

.biblioteca-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.biblioteca-label {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 0%, #b8e6ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.biblioteca-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.3;
}

.biblioteca-enter {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #D2591F, #008b9e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 176, 185, 0.35);
  transition: all 0.3s ease;
  animation: biblioPulse 2.5s infinite ease-in-out;
}

@keyframes biblioPulse {

  0%,
  100% {
    box-shadow: 0 8px 25px rgba(0, 176, 185, 0.35);
  }

  50% {
    box-shadow: 0 8px 35px rgba(0, 176, 185, 0.55), 0 0 15px rgba(0, 176, 185, 0.15);
  }
}

.biblioteca-card:hover .biblioteca-enter {
  transform: scale(1.12);
  background: linear-gradient(135deg, #00c9d4, #D2591F);
}

@media (max-width: 767px) {
  .biblioteca-card {
    padding: 22px 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .biblioteca-emoji {
    width: auto;
    font-size: 34px;
  }

  .biblioteca-label {
    font-size: 1.2rem;
  }

  .biblioteca-enter {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* Juegos Card - Gaming Style */
.juegos-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  padding: 28px 36px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(15, 52, 96, 0.35);
  transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.juegos-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(233, 69, 96, 0.25), 0 0 30px rgba(233, 69, 96, 0.1);
  color: #fff;
  border-color: rgba(233, 69, 96, 0.3);
}

.juegos-bg-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.2) 0%, rgba(233, 69, 96, 0) 70%);
  border-radius: 50%;
  transition: all 0.5s ease;
  pointer-events: none;
}

.juegos-card:hover .juegos-bg-glow {
  transform: scale(1.5);
  opacity: 1.3;
}

/* Partículas flotantes */
.juegos-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.juegos-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(233, 69, 96, 0.5);
  border-radius: 50%;
  animation: juegosFloat 4s infinite ease-in-out;
}

.juegos-particles span:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 3.5s;
}

.juegos-particles span:nth-child(2) {
  top: 60%;
  left: 75%;
  animation-delay: 0.8s;
  animation-duration: 4.2s;
  background: rgba(0, 176, 185, 0.4);
}

.juegos-particles span:nth-child(3) {
  top: 35%;
  left: 55%;
  animation-delay: 1.5s;
  animation-duration: 3.8s;
  width: 3px;
  height: 3px;
}

.juegos-particles span:nth-child(4) {
  top: 75%;
  left: 30%;
  animation-delay: 2.2s;
  animation-duration: 4.5s;
  background: rgba(255, 199, 0, 0.4);
}

.juegos-particles span:nth-child(5) {
  top: 15%;
  left: 85%;
  animation-delay: 0.5s;
  animation-duration: 3.2s;
  background: rgba(0, 176, 185, 0.3);
  width: 5px;
  height: 5px;
}

@keyframes juegosFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-15px) scale(1.5);
    opacity: 1;
  }
}



.juegos-icon {
  width: 52px;
  /* Mismo ancho que el botón play para equilibrar centering */
  display: flex;
  justify-content: center;
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: juegosIconBounce 3s infinite ease-in-out;
  position: relative;
  z-index: 2;
}

@keyframes juegosIconBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-4px) rotate(-5deg);
  }

  75% {
    transform: translateY(-2px) rotate(3deg);
  }
}

.juegos-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.juegos-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.juegos-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.juegos-play {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e94560, #c23152);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
  transition: all 0.3s ease;
  animation: juegosPulse 2.5s infinite ease-in-out;
}

.juegos-play i {
  margin-left: 2px;
  /* Centrar visualmente el play */
}

@keyframes juegosPulse {

  0%,
  100% {
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(233, 69, 96, 0.6), 0 0 15px rgba(233, 69, 96, 0.2);
  }
}

.juegos-card:hover .juegos-play {
  transform: scale(1.12);
  background: linear-gradient(135deg, #ff6b81, #e94560);
}

@media (max-width: 767px) {
  .juegos-card {
    padding: 22px 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .juegos-icon {
    width: auto;
    font-size: 36px;
  }

  .juegos-title {
    font-size: 1.2rem;
  }
}

/* services hover colors */
.service-section .single-service:hover .icon.color-1 {
  background: #FB32FB;
}

.service-section .single-service:hover .icon.color-2 {
  background: #4E6EF1;
}

.service-section .single-service:hover .icon.color-3 {
  background: #FF3B3B;
}

/* Contact page */
.contact-hero {
  background: linear-gradient(135deg, rgba(0, 176, 185, 0.08) 0%, rgba(0, 98, 114, 0.05) 100%);
}

.contact-card {
  background: linear-gradient(145deg, #ffffff 0%, #f3f7ff 100%);
  border: 1px solid #e0e7f5;
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.contact-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  filter: saturate(1.08);
}

.contact-card .icon.color-1 {
  background: #0D3243;
}

.contact-card .icon.color-2 {
  background: #3f74e7;
}

.contact-card .icon.color-3 {
  background: #25D366;
}

.contact-card .icon.color-4 {
  background: #0D3243;
}

.contact-card h4 {
  margin-bottom: 6px;
  font-weight: 800;
}

.contact-card p {
  margin-bottom: 6px;
}

.contact-actions .main-btn {
  min-width: 140px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-actions .main-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.contact-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  padding: 26px;
}

.contact-panel h4 {
  margin-bottom: 10px;
}

.contact-panel .form-control,
.contact-panel .form-select,
.contact-panel textarea {
  border-radius: 12px;
}

.service-section .single-service:hover .icon.color-4 {
  background: #5A37FF;
}

.service-section .single-service .icon {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: 30px;
  font-size: 40px;
  color: #313450;
  transition: all 0.3s ease-out 0s;
}

.service-section .single-service .icon.color-1 {
  background: #FFEFFF;
}

.service-section .single-service .icon.color-2 {
  background: #E4E9FF;
}

.service-section .single-service .icon.color-3 {
  background: #FFEAEA;
}

.service-section .single-service .icon.color-4 {
  background: #ECE8FF;
}

.service-section .single-service .content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* ============= counter-up css =========== */
@media only screen and (min-width: 1400px) {
  .counter-up-section .counter-up-content {
    margin-right: 65px;
  }
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter {
  margin-bottom: 35px;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #4E6EF1;
  font-size: 42px;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-1 {
  background: #FFEFFF;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-2 {
  background: #E1F2FB;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-3 {
  background: #FFEAEA;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .icon.color-4 {
  background: #ECE8FF;
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .content h1 {
  font-size: 45px;
  margin-bottom: 10px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .counter-up-section .counter-up-content .counter-up-wrapper .single-counter .content h1 {
    font-size: 38px;
  }
}

.counter-up-section .counter-up-content .counter-up-wrapper .single-counter .content span {
  font-size: 25px;
  font-weight: 500;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .counter-up-section .counter-up-content .counter-up-wrapper .single-counter .content span {
    font-size: 18px;
  }
}

.counter-up-section .counter-up-img img {
  width: 100%;
}

/* =========== footer css =========== */
.footer {
  background-image: var(--footer-bg-image);
  background-size: cover;
  background-position: top center;
  padding-top: 150px;
}

.footer .widget-wrapper .footer-widget {
  margin-bottom: 40px;
}

.footer .widget-wrapper .footer-widget .desc {
  font-size: 18px;
  line-height: 28px;
}

.footer .widget-wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
}

.footer .widget-wrapper .footer-widget .socials li {
  margin-right: 20px;
}

.footer .widget-wrapper .footer-widget .socials li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #6B6F92;
  background: #fff;
}

.footer .widget-wrapper .footer-widget .socials li a:hover {
  padding-left: 0px;
}

.footer .widget-wrapper .footer-widget h3 {
  margin-bottom: 35px;
}

.footer .widget-wrapper .footer-widget ul li {
  font-size: 18px;
  line-height: 36px;
}

.footer .widget-wrapper .footer-widget ul li a {
  color: #6B6F92;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer .widget-wrapper .footer-widget ul li a:hover {
  color: #4E6EF1;
  transform: translateX(7px);
}

.footer .copy-right {
  text-align: center;
  padding: 30px 0;
  border-top: none;
}

/* ======================
    DEFAULT CSS
========================= */
.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-25 {
  margin-top: 25px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-35 {
  margin-top: 35px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-45 {
  margin-top: 45px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-55 {
  margin-top: 55px;
}

.mt-60 {
  margin-top: 60px;
}

.mt-65 {
  margin-top: 65px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-75 {
  margin-top: 75px;
}

.mt-80 {
  margin-top: 80px;
}

.mt-85 {
  margin-top: 85px;
}

.mt-90 {
  margin-top: 90px;
}

.mt-95 {
  margin-top: 95px;
}

.mt-100 {
  margin-top: 100px;
}

.mt-105 {
  margin-top: 105px;
}

.mt-110 {
  margin-top: 110px;
}

.mt-115 {
  margin-top: 115px;
}

.mt-120 {
  margin-top: 120px;
}

.mt-125 {
  margin-top: 125px;
}

.mt-130 {
  margin-top: 130px;
}

.mt-135 {
  margin-top: 135px;
}

.mt-140 {
  margin-top: 140px;
}

.mt-145 {
  margin-top: 145px;
}

.mt-150 {
  margin-top: 150px;
}

.mt-155 {
  margin-top: 155px;
}

.mt-160 {
  margin-top: 160px;
}

.mt-165 {
  margin-top: 165px;
}

.mt-170 {
  margin-top: 170px;
}

.mt-175 {
  margin-top: 175px;
}

.mt-180 {
  margin-top: 180px;
}

.mt-185 {
  margin-top: 185px;
}

.mt-190 {
  margin-top: 190px;
}

.mt-195 {
  margin-top: 195px;
}

.mt-200 {
  margin-top: 200px;
}

.mt-205 {
  margin-top: 205px;
}

.mt-210 {
  margin-top: 210px;
}

.mt-215 {
  margin-top: 215px;
}

.mt-220 {
  margin-top: 220px;
}

.mt-225 {
  margin-top: 225px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-25 {
  margin-bottom: 25px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-35 {
  margin-bottom: 35px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-45 {
  margin-bottom: 45px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-55 {
  margin-bottom: 55px;
}

.mb-60 {
  margin-bottom: 60px;
}

.mb-65 {
  margin-bottom: 65px;
}

.mb-70 {
  margin-bottom: 70px;
}

.mb-75 {
  margin-bottom: 75px;
}

.mb-80 {
  margin-bottom: 80px;
}

.mb-85 {
  margin-bottom: 85px;
}

.mb-90 {
  margin-bottom: 90px;
}

.mb-95 {
  margin-bottom: 95px;
}

.mb-100 {
  margin-bottom: 100px;
}

.mb-105 {
  margin-bottom: 105px;
}

.mb-110 {
  margin-bottom: 110px;
}

.mb-115 {
  margin-bottom: 115px;
}

.mb-120 {
  margin-bottom: 120px;
}

.mb-125 {
  margin-bottom: 125px;
}

.mb-130 {
  margin-bottom: 130px;
}

.mb-135 {
  margin-bottom: 135px;
}

.mb-140 {
  margin-bottom: 140px;
}

.mb-145 {
  margin-bottom: 145px;
}

.mb-150 {
  margin-bottom: 150px;
}

.mb-155 {
  margin-bottom: 155px;
}

.mb-160 {
  margin-bottom: 160px;
}

.mb-165 {
  margin-bottom: 165px;
}

.mb-170 {
  margin-bottom: 170px;
}

.mb-175 {
  margin-bottom: 175px;
}

.mb-180 {
  margin-bottom: 180px;
}

.mb-185 {
  margin-bottom: 185px;
}

.mb-190 {
  margin-bottom: 190px;
}

.mb-195 {
  margin-bottom: 195px;
}

.mb-200 {
  margin-bottom: 200px;
}

.mb-205 {
  margin-bottom: 205px;
}

.mb-210 {
  margin-bottom: 210px;
}

.mb-215 {
  margin-bottom: 215px;
}

.mb-220 {
  margin-bottom: 220px;
}

.mb-225 {
  margin-bottom: 225px;
}

.pt-5 {
  padding-top: 5px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-15 {
  padding-top: 15px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-25 {
  padding-top: 25px;
}

.pt-30 {
  padding-top: 30px;
}

.pt-35 {
  padding-top: 35px;
}

.pt-40 {
  padding-top: 40px;
}

.pt-45 {
  padding-top: 45px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-55 {
  padding-top: 55px;
}

.pt-60 {
  padding-top: 60px;
}

.pt-65 {
  padding-top: 65px;
}

.pt-70 {
  padding-top: 70px;
}

.pt-75 {
  padding-top: 75px;
}

.pt-80 {
  padding-top: 80px;
}

.pt-85 {
  padding-top: 85px;
}

.pt-90 {
  padding-top: 90px;
}

.pt-95 {
  padding-top: 95px;
}

.pt-100 {
  padding-top: 100px;
}

.pt-105 {
  padding-top: 105px;
}

.pt-110 {
  padding-top: 110px;
}

.pt-115 {
  padding-top: 115px;
}

.pt-120 {
  padding-top: 120px;
}

.pt-125 {
  padding-top: 125px;
}

.pt-130 {
  padding-top: 130px;
}

.pt-135 {
  padding-top: 135px;
}

.pt-140 {
  padding-top: 140px;
}

.pt-145 {
  padding-top: 145px;
}

.pt-150 {
  padding-top: 150px;
}

.pt-155 {
  padding-top: 155px;
}

.pt-160 {
  padding-top: 160px;
}

.pt-165 {
  padding-top: 165px;
}

.pt-170 {
  padding-top: 170px;
}

.pt-175 {
  padding-top: 175px;
}

.pt-180 {
  padding-top: 180px;
}

.pt-185 {
  padding-top: 185px;
}

.pt-190 {
  padding-top: 190px;
}

.pt-195 {
  padding-top: 195px;
}

.pt-200 {
  padding-top: 200px;
}

.pt-205 {
  padding-top: 205px;
}

.pt-210 {
  padding-top: 210px;
}

.pt-215 {
  padding-top: 215px;
}

.pt-220 {
  padding-top: 220px;
}

.pt-225 {
  padding-top: 225px;
}

.pb-5 {
  padding-bottom: 5px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-15 {
  padding-bottom: 15px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-25 {
  padding-bottom: 25px;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-35 {
  padding-bottom: 35px;
}

.pb-40 {
  padding-bottom: 40px;
}

.pb-45 {
  padding-bottom: 45px;
}

.pb-50 {
  padding-bottom: 50px;
}

.pb-55 {
  padding-bottom: 55px;
}

.pb-60 {
  padding-bottom: 60px;
}

.pb-65 {
  padding-bottom: 65px;
}

.pb-70 {
  padding-bottom: 70px;
}

.pb-75 {
  padding-bottom: 75px;
}

.pb-80 {
  padding-bottom: 80px;
}

.pb-85 {
  padding-bottom: 85px;
}

.pb-90 {
  padding-bottom: 90px;
}

.pb-95 {
  padding-bottom: 95px;
}

.pb-100 {
  padding-bottom: 100px;
}

.pb-105 {
  padding-bottom: 105px;
}

.pb-110 {
  padding-bottom: 110px;
}

.pb-115 {
  padding-bottom: 115px;
}

.pb-120 {
  padding-bottom: 120px;
}

.pb-125 {
  padding-bottom: 125px;
}

.pb-130 {
  padding-bottom: 130px;
}

.pb-135 {
  padding-bottom: 135px;
}

.pb-140 {
  padding-bottom: 140px;
}

.pb-145 {
  padding-bottom: 145px;
}

.pb-150 {
  padding-bottom: 150px;
}

.pb-155 {
  padding-bottom: 155px;
}

.pb-160 {
  padding-bottom: 160px;
}

.pb-165 {
  padding-bottom: 165px;
}

.pb-170 {
  padding-bottom: 170px;
}

.pb-175 {
  padding-bottom: 175px;
}

.pb-180 {
  padding-bottom: 180px;
}

.pb-185 {
  padding-bottom: 185px;
}

.pb-190 {
  padding-bottom: 190px;
}

.pb-195 {
  padding-bottom: 195px;
}

.pb-200 {
  padding-bottom: 200px;
}

.pb-205 {
  padding-bottom: 205px;
}

.pb-210 {
  padding-bottom: 210px;
}

.pb-215 {
  padding-bottom: 215px;
}

.pb-220 {
  padding-bottom: 220px;
}

.pb-225 {
  padding-bottom: 225px;
}

/* =========================
   ADMIN PANEL STYLES
   ========================= */

.admin-body {
  background-color: #f7f9fa;
  min-height: 100vh;
}

.admin-body img,
.course-item img {
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Curso público: evitar selección/click/drag en imágenes */
.course-card img,
.course-detail-card img,
.gallery img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  padding: 40px;
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.auth-card .mb-30 {
  margin-bottom: 18px !important;
}

.admin-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.admin-wrapper--selector {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Admin Header */
.admin-header {
  background: #fff;
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid #edf2f7;
}

.admin-brand h1 {
  font-size: 24px;
  margin: 0;
  color: #1f2937;
  line-height: 1.2;
}

.admin-brand p {
  font-size: 14px;
  color: #6B6F92;
  margin: 0;
}

.admin-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-nav--center {
  justify-content: center;
  align-items: center;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.1;
}

.nav-btn.primary {
  background: #0D3243;
  color: #fff;
}

.nav-btn.primary:hover {
  background: #004e5b;
  color: #fff;
  transform: translateY(-2px);
}

.nav-btn.secondary {
  background: #fff;
  border-color: #0D3243;
  color: #0D3243;
}

.nav-btn.secondary:hover {
  background: #0D3243;
  color: #fff;
}

.nav-btn.danger {
  background: #fff;
  border-color: #ef4444;
  color: #ef4444;
}

.nav-btn.danger:hover {
  background: #ef4444;
  color: #fff;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-icon.primary {
  background: rgba(0, 98, 114, 0.1);
  color: #0D3243;
}

.stat-icon.accent {
  background: rgba(0, 176, 185, 0.1);
  color: #D2591F;
}

/* Admin Content Card */
.admin-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf2f7;
  overflow: hidden;
}

.admin-card--centered {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 32px;
  position: relative;
}

.panel-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
  justify-items: stretch;
  margin-top: 8px;
}

.panel-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 120px;
  padding: 16px 14px;
  background: #0D3243;
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0, 98, 114, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.panel-tile i {
  font-size: 24px;
}

.panel-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 98, 114, 0.25);
  background: #092733;
  color: #fff;
}

@media (max-width: 900px) {
  .panel-switch {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .panel-switch {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
  }
}

.selector-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .selector-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .selector-actions .nav-btn {
    flex: 1 1 180px;
    justify-content: center;
  }
}

.admin-toolbar {
  padding: 24px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-toolbar .search-box {
  flex: 1;
  min-width: 280px;
}

.admin-toolbar .text-muted.fs-6 {
  margin-left: auto;
  margin-right: 12px;
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s;
}

.search-box input:focus {
  border-color: #D2591F;
  box-shadow: 0 0 0 3px rgba(0, 176, 185, 0.1);
}

.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f8fafc;
  padding: 16px 24px;
  text-align: left;
  font-weight: 600;
  color: #64748b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #edf2f7;
}

.admin-table td {
  padding: 20px 24px;
  vertical-align: middle;
  border-bottom: 1px solid #edf2f7;
  color: #313450;
  font-size: 15px;
}

.admin-table tr:hover {
  background-color: #f8fafc;
}

.course-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.course-item img {
  width: 60px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.course-item h5 {
  font-size: 16px;
  margin: 0 0 4px;
  color: #1e293b;
}

.course-item span {
  font-size: 13px;
  color: #94a3b8;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.blue {
  background: rgba(0, 176, 185, 0.1);
  color: #D2591F;
}

.status-badge.orange {
  background: rgba(227, 82, 5, 0.1);
  color: #D2591F;
}

.status-badge.gray {
  background: #f1f5f9;
  color: #64748b;
}

.action-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: transparent;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-icon:hover {
  background: #D2591F;
  color: #fff;
  border-color: #D2591F;
}

.btn-icon.delete:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

@media (max-width: 768px) {

  .admin-header,
  .admin-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    width: 100%;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
  }
}

/* Form Styles for Admin Edit */
.form-section {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  border: 1px solid #edf2f7;
}

.form-label {
  font-weight: 600;
  color: #313450;
  margin-bottom: 8px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
  color: #334155;
}

.form-input:focus {
  border-color: #D2591F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 176, 185, 0.1);
}


/* Home News Section */
.home-news .news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-news .news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home-news .news-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.home-news .news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-news .news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.home-news .news-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-news .news-card-date {
  font-size: 13px;
  color: #D2591F;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.home-news .news-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #313450;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 50px;
}

.home-news .news-card p {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news .read-more {
  margin-top: auto;
  color: #313450;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
  transition: all 0.3s ease;
}

.ratio:hover .video-play-icon {
  background: #D2591F;
  transform: translate(-50%, -50%) scale(1.1);
}

.home-news .read-more i {
  transition: transform 0.3s ease;
}

.home-news .news-card:hover .read-more i {
  transform: translateX(5px);
}

/* ==================================
   BOOTSTRAP 5 MODAL OVERRIDES (Web)
   Modern, rounded appearance
=================================== */
.modal-content {
  border-radius: 24px !important;
  border: none !important;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.modal-header {
  border-radius: 24px 24px 0 0 !important;
  background: #fff;
}

.modal-header .btn-close {
  margin: 0;
  padding: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.modal-header .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-body {
  background: #fff;
}

.modal-backdrop.show {
  opacity: 0.6;
}

/* Ensure scroll lock works properly */
body.modal-open,
html.modal-open {
  overflow: hidden !important;
}

.legal-text-justify {
  text-align: justify;
  max-width: 980px;
  line-height: 1.75;
}

.legal-text-justify .section-title {
  margin-bottom: 48px;
}

.legal-text-justify .section-title p {
  margin-top: 12px;
  line-height: 1.6;
}

.legal-text-justify p {
  margin-bottom: 18px;
}

.legal-text-justify h3 {
  margin-top: 36px;
  margin-bottom: 18px !important;
  line-height: 1.35;
}

.legal-text-justify ul {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
}

.legal-text-justify li {
  position: relative;
  padding-left: 18px;
  line-height: 1.7;
}

.legal-text-justify li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0D3243;
}

.legal-text-justify a {
  display: inline;
}

@media (max-width: 768px) {
  .legal-text-justify {
    text-align: left;
    line-height: 1.68;
  }

  .legal-text-justify .section-title {
    margin-bottom: 34px;
  }

  .legal-text-justify h3 {
    margin-top: 30px;
  }
}

/* Mini-hub del propietario: tarjetas de sus empresas */
.panel-switch--companies {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}
.panel-tile--company {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(13, 50, 67, 0.08);
}
.panel-tile--company:hover {
  background: #f8fafc;
  color: #0d3243;
  box-shadow: 0 14px 30px rgba(13, 50, 67, 0.14);
}
.panel-tile-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.panel-tile-note {
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border-radius: 20px;
  padding: 3px 10px;
}
