/* ==========================================================
   GATEGUARD - MODERN DESIGN ENHANCEMENTS
   ========================================================== */

/* Brand Colors */
.text-naranja {
  color: #cf582a;
}

/* ==========================================================
   MODERN GRADIENTS & COLOR SYSTEMS
   ========================================================== */

:root {
  /* Primary Gradients */
  --gradient-primary: linear-gradient(135deg, #cf582a 0%, #e67e4a 50%, #f0937f 100%);
  --gradient-dark: linear-gradient(135deg, #06255b 0%, #0a3a8c 50%, #1e4f9e 100%);
  --gradient-blue: linear-gradient(135deg, #0b4df5 0%, #3b7dff 50%, #6ba3ff 100%);
  --gradient-success: linear-gradient(135deg, #3eb75e 0%, #5cd17a 50%, #7deb96 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* Modern Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(207, 88, 42, 0.3);

  /* Easing Functions */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================================
   NAVIGATION IMPROVEMENTS
   ========================================================== */

/* Ajuste del espaciado del menú de navegación */
.header-one .nav-area {
  margin-left: 0px;
  margin-right: 50px !important;
}

/* Modern nav links - styles moved to bottom of file to avoid conflicts */
.header-one .nav-area ul li a {
  position: relative;
  transition: color 0.3s var(--ease-out);
}

/* Mega menu enhancement */
.rts-mega-menu,
.service-mega-menu-style {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  overflow: hidden;
}

/* ==========================================================
   BUTTON ENHANCEMENTS
   ========================================================== */

/* Primary button gradient */
.rts-btn.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 16px rgba(207, 88, 42, 0.3);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.rts-btn.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s var(--ease-out);
}

.rts-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(207, 88, 42, 0.4);
}

.rts-btn.btn-primary:hover::before {
  left: 100%;
}

/* White button enhancement */
.rts-btn.btn-white {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s var(--ease-out);
}

.rts-btn.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   HERO & BANNER ENHANCEMENTS
   ========================================================== */

/* Modern banner overlay */
.banner-seven-swiper-wrapper .bg_image {
  position: relative;
}

.banner-seven-swiper-wrapper .bg_image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 37, 91, 0.7) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

/* Hero video enhancement */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.1);
}

/* Pre-title badge */
.banner-seven-inner-content .pre-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

/* Hero title animation */
.banner-seven-inner-content .title {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.banner-seven-inner-content .disc {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.banner-seven-inner-content .rts-btn {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

/* ==========================================================
   CARD & IMAGE ENHANCEMENTS
   ========================================================== */

/* Modern rounded image */
.rounded-image {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.rounded-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* Image container with gradient border */
.image-gradient-border {
  position: relative;
  border-radius: 24px;
  padding: 4px;
  background: var(--gradient-primary);
  overflow: hidden;
}

.image-gradient-border img {
  border-radius: 20px;
  display: block;
}

/* Glass card effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--ease-out);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================
   SECTION ENHANCEMENTS
   ========================================================== */

/* About section */
.rts-about-area-6 {
  position: relative;
}

.rts-about-area-6::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(207, 88, 42, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-6-thumbnail-left-wrapper .single-thumbnail {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease-out);
}

.about-6-thumbnail-left-wrapper .single-thumbnail:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.about-6-thumbnail-left-wrapper .single-thumbnail img {
  transition: transform 0.6s var(--ease-out);
}

.about-6-thumbnail-left-wrapper .single-thumbnail:hover img {
  transform: scale(1.1);
}

/* CTA Section enhancement */
.rts-call-to-action-area-two {
  position: relative;
  overflow: hidden;
}

.rts-call-to-action-area-two::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 37, 91, 0.85) 0%, rgba(207, 88, 42, 0.75) 100%);
  z-index: 1;
}

.rts-call-to-action-area-two .container {
  position: relative;
  z-index: 2;
}

.cta-style-two-area {
  padding: 80px 0;
  text-align: center;
}

.cta-style-two-area .title {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
}

/* ==========================================================
   SERVICE & FEATURE CARDS
   ========================================================== */

/* Modern service card */
.service-card-modern {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card-modern:hover::before {
  transform: scaleX(1);
}

/* Icon container */
.icon-modern {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}

.service-card-modern:hover .icon-modern {
  transform: scale(1.1) rotate(5deg);
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(207, 88, 42, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(207, 88, 42, 0.6);
  }
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }

/* ==========================================================
   FOOTER ENHANCEMENTS
   ========================================================== */

/* Footer gradient background - Darker to match header */
.footer-8-area-bg {
  position: relative;
  background: #20282d !important;
}

.footer-8-area-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Footer links hover - Enhanced */
.footer-one-single-wized .links li a {
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.footer-one-single-wized .links li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #cf582a;
  transition: width 0.3s var(--ease-out);
}

.footer-one-single-wized .links li a:hover {
  color: #cf582a;
  padding-left: 8px;
}

.footer-one-single-wized .links li a:hover::before {
  width: 100%;
}

/* Social icons enhancement - Better hover animations */
.social-area-wrapper-two {
  display: flex;
  gap: 12px;
}

.social-area-wrapper-two li {
  list-style: none;
}

.social-area-wrapper-two li a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Shine effect on hover */
.social-area-wrapper-two li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.social-area-wrapper-two li a:hover::before {
  left: 100%;
}

.social-area-wrapper-two li a:hover {
  background: linear-gradient(135deg, #cf582a 0%, #e67e4a 100%);
  border-color: #cf582a;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(207, 88, 42, 0.4);
}

/* Individual brand colors on hover */
.social-area-wrapper-two li a[href*="facebook"]:hover {
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-area-wrapper-two li a[href*="twitter"]:hover,
.social-area-wrapper-two li a[href*="x.com"]:hover {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-area-wrapper-two li a[href*="linkedin"]:hover {
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-area-wrapper-two li a[href*="instagram"]:hover {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
}

.social-area-wrapper-two li a[href*="youtube"]:hover {
  background: linear-gradient(135deg, #ff0000 0%, #ff4d4d 100%);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Mobile menu social icons animation */
.social-wrapper-one ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.social-wrapper-one li a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-wrapper-one li a:hover {
  transform: translateY(-3px) scale(1.08);
}

.social-wrapper-one li a[href*="facebook"]:hover {
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
  border-color: #1877f2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.social-wrapper-one li a[href*="twitter"]:hover,
.social-wrapper-one li a[href*="x.com"]:hover {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  border-color: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.social-wrapper-one li a[href*="youtube"]:hover {
  background: linear-gradient(135deg, #ff0000 0%, #ff4d4d 100%);
  border-color: #ff0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
}

.social-wrapper-one li a[href*="linkedin"]:hover {
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
  border-color: #0077b5;
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.35);
}

/* Side bar social icons animation */
.side-bar .social-wrapper-two a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-bar .social-wrapper-two a:hover {
  transform: translateY(-4px) scale(1.06);
}

.side-bar .social-wrapper-two a[href*="facebook"]:hover {
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
  border-color: #1877f2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.side-bar .social-wrapper-two a[href*="twitter"]:hover,
.side-bar .social-wrapper-two a[href*="x.com"]:hover {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  border-color: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.side-bar .social-wrapper-two a[href*="instagram"]:hover {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-color: #833ab4;
  box-shadow: 0 6px 20px rgba(131, 58, 180, 0.35);
}

.side-bar .social-wrapper-two a[href*="linkedin"]:hover {
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
  border-color: #0077b5;
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.35);
}

/* ==========================================================
   BACK TO TOP BUTTON - FOOTER OVERLAY FIX
   ========================================================== */

/* Change button color when over footer */
.progress-wrap.over-footer::after {
  background: #ffffff;
  border-color: #cf582a;
  color: #cf582a;
  box-shadow: 0 0 15px rgba(207, 88, 42, 0.5);
}

.progress-wrap.over-footer svg.progress-circle path {
  stroke: #cf582a;
}

.progress-wrap.over-footer:hover::after {
  background: #cf582a;
  color: #ffffff;
}

/* Alternative: Make button always visible with improved contrast */
.progress-wrap::after {
  background: #ffffff;
  border: 2px solid var(--color-primary, #0b4df5);
  color: var(--color-primary, #0b4df5);
  box-shadow: 0 4px 15px rgba(11, 77, 245, 0.3);
}

.progress-wrap:hover::after {
  background: var(--color-primary, #0b4df5);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(11, 77, 245, 0.4);
}

/* ==========================================================
   NAVBAR MENU FIXES - Dropdown arrows and animated bar
   ========================================================== */

/* Fix the animated orange bar position - use text-decoration instead */
.header-one .nav-area ul li {
  position: relative;
}

/* Use text-gradient for the animated underline effect */
.header-one .nav-area ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
  background-image: linear-gradient(#cf582a, #cf582a);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease;
  z-index: 1;
}

.header-one .nav-area ul li a:hover {
  background-size: 100% 2px;
}

/* Add dropdown indicator arrows for menu items with submenus */
.header-transparent .nav-area > ul > li.has-dropdown,
.header-transparent .nav-area > ul > li.mega-menu {
  position: relative;
}

.header-transparent .nav-area > ul > li.has-dropdown > a,
.header-transparent .nav-area > ul > li.mega-menu > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.header-transparent .nav-area > ul > li.has-dropdown > a::after,
.header-transparent .nav-area > ul > li.mega-menu > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
  font-weight: 900;
  font-size: 10px;
  color: #cf582a;
  transition: all 0.3s ease;
  line-height: 1;
  flex-shrink: 0;
}

.header-transparent .nav-area > ul > li.has-dropdown > a:hover::after,
.header-transparent .nav-area > ul > li.mega-menu > a:hover::after {
  color: #ffffff;
  transform: rotate(180deg);
  display: inline-block;
}

/* Ensure mega menus are properly positioned */
.header-transparent .nav-area ul li {
  position: relative;
}

.rts-mega-menu,
.service-mega-menu-style {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.header-transparent .nav-area > ul > li:hover .rts-mega-menu,
.header-transparent .nav-area > ul > li:hover .service-mega-menu-style {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================
   CLIENT IMAGES FIX - Fill container properly
   ========================================================== */

.client-three-wrapper .single img {
  max-width: 130px;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center;
}

@media only screen and (max-width: 575px) {
  .client-three-wrapper .single img {
    max-width: 90px;
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* ==========================================================
   LOADING & MICRO-INTERACTIONS
   ========================================================== */

/* Modern pulse animation for key elements */
.pulse-element {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Floating animation */
.float-element {
  animation: float 3s ease-in-out infinite;
}

/* Shimmer loading effect */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ==========================================================
   TABLE STYLES (Comparativa)
   ========================================================== */

/* Texto vertical para tabla */
.vertical-text {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 14px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #2c3e50;
  padding: 20px 10px;
  border-right: 2px solid #cf582a;
  width: 20px;
}

/* Texto responsivo para tabla */
.desktop-text {
  display: inline;
  vertical-align: top !important;
}

.mobile-text {
  display: none;
  vertical-align: top !important;
}

/* Separador de secciones */
.section-separator td {
  border-top: 3px solid;
  border-image: var(--gradient-primary) 1;
  box-shadow: 0 2px 8px rgba(207, 88, 42, 0.15);
}

/* Responsive table */
@media (max-width: 768px) {
  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: inline;
    font-weight: bold;
    font-size: 12px;
  }

  .product-name {
    padding: 8px 4px !important;
    font-size: 12px;
  }

  .shop_table th,
  .shop_table td {
    padding: 8px 4px;
    font-size: 12px;
  }
}

/* ==========================================================
   HOVER EFFECTS
   ========================================================== */

.biometric-hover:hover {
  background-image: url("../images/gg/biometric.webp") !important;
}

.finances-hover:hover {
  background-image: url("../images/gg/finances.webp") !important;
}

.comunity-hover:hover {
  background-image: url("../images/gg/comunity.webp") !important;
}

.alarm-hover:hover {
  background-image: url("../images/gg/alarm.webp") !important;
}

/* ==========================================================
   CONTACT FORM STYLES
   ========================================================== */

.contact-form-p.new input.is-invalid,
.contact-form-p.new textarea.is-invalid {
  border-color: #dc3545;
  background-color: #fff8f8;
}

.contact-form-p.new input.is-valid,
.contact-form-p.new textarea.is-valid {
  border-color: #28a745;
  background-color: #f8fff8;
}

.contact-form-p.new input:focus,
.contact-form-p.new textarea:focus {
  outline: none;
  border-color: #cf582a;
  box-shadow: 0 0 0 3px rgba(207, 88, 42, 0.15);
}

.contact-form-p.new input.is-invalid:focus,
.contact-form-p.new textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.contact-form-p.new input.is-valid:focus,
.contact-form-p.new textarea.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

/* ==========================================================
   SWEETALERT2 CUSTOM STYLES
   ========================================================== */

:root {
  --swal2-font-family: "Red Hat Display", serif;
}

.swal2-popup {
  font-family: var(--swal2-font-family) !important;
  font-size: 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-xl) !important;
}

.swal2-title {
  font-family: var(--swal2-font-family) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #1c2539 !important;
}

.swal2-html-container {
  font-family: "DM Sans", serif !important;
  font-size: 16px !important;
  line-height: 26px !important;
  color: #5d666f !important;
}


.swal2-confirm,
.swal2-cancel,
.swal2-deny {
  font-family: var(--swal2-font-family) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  transition: all 0.3s var(--ease-out) !important;
}

.swal2-confirm {
  background: var(--gradient-primary) !important;
  border: none !important;
}

.swal2-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.swal2-cancel {
  background-color: #5d666f !important;
}

.swal2-cancel:hover {
  background-color: #4a5259 !important;
}

.swal2-input,
.swal2-textarea,
.swal2-select {
  font-family: "DM Sans", serif !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
}

.swal2-validation-message {
  font-family: "DM Sans", serif !important;
  font-size: 14px !important;
}

/* ==========================================================
   GOOGLE RECAPTCHA STYLES
   ========================================================== */

.g-recaptcha-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 0;
}

.g-recaptcha-wrapper .g-recaptcha {
  transform: scale(1);
  transform-origin: left center;
}

@media (max-width: 400px) {
  .g-recaptcha-wrapper .g-recaptcha {
    transform: scale(0.85);
    transform-origin: left center;
  }
}

/* ==========================================================
   PRIVACY POLICY PAGE
   ========================================================== */

.rts-policy-area {
  background: #fff;
}

.rts-policy-area .title {
  font-family: "Red Hat Display", serif;
  font-size: 42px;
  font-weight: 700;
  background: var(--gradient-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.rts-policy-area .last-updated {
  font-family: "DM Sans", serif;
  font-size: 14px;
  color: #888;
  margin-bottom: 40px;
}

.rts-policy-area .policy-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
}

.rts-policy-area .policy-section:last-of-type {
  border-bottom: none;
}

.rts-policy-area h2 {
  font-family: "Red Hat Display", serif;
  font-size: 26px;
  font-weight: 600;
  color: #1c2539;
  margin-bottom: 20px;
}

.rts-policy-area h3 {
  font-family: "Red Hat Display", serif;
  font-size: 20px;
  font-weight: 600;
  color: #1c2539;
  margin-top: 20px;
  margin-bottom: 10px;
}

.rts-policy-area p {
  font-family: "DM Sans", serif;
  font-size: 16px;
  line-height: 28px;
  color: #5d666f;
  margin-bottom: 16px;
}

.rts-policy-area ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.rts-policy-area ul li {
  font-family: "DM Sans", serif;
  font-size: 16px;
  line-height: 26px;
  color: #5d666f;
  margin-bottom: 10px;
  padding-left: 8px;
}

.rts-policy-area strong {
  font-weight: 600;
  color: #1c2539;
}

.rts-policy-area a {
  color: #cf582a;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.rts-policy-area a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-out);
}

.rts-policy-area a:hover {
  color: #e67e4a;
}

.rts-policy-area a:hover::after {
  width: 100%;
}

.rts-policy-area .contact-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 24px;
  border-radius: 16px;
  margin-top: 20px;
  border: 1px solid #e5e7eb;
}

.rts-policy-area .contact-info p {
  margin-bottom: 10px;
}

.rts-policy-area .contact-info i {
  color: #cf582a;
  margin-right: 8px;
  width: 20px;
}

.rts-policy-area .acknowledgment {
  font-size: 16px;
  font-weight: 500;
  color: #1c2539;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
  border-left: 4px solid #0b4df5;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .rts-policy-area .title {
    font-size: 32px;
  }

  .rts-policy-area h2 {
    font-size: 22px;
  }

  .rts-policy-area h3 {
    font-size: 18px;
  }

  .rts-policy-area p,
  .rts-policy-area ul li {
    font-size: 15px;
  }
}

/* ==========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================== */

@media (max-width: 991px) {
  :root {
    --h1: 48px;
    --h2: 38px;
    --h3: 26px;
  }

  .banner-seven-inner-content .title {
    font-size: 42px;
  }

  .service-card-modern {
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --h1: 36px;
    --h2: 30px;
    --h3: 22px;
  }

  .banner-seven-inner-content .title {
    font-size: 32px;
  }

  .glass-card {
    padding: 24px;
  }

  .icon-modern {
    width: 64px;
    height: 64px;
  }
}

/* ==========================================================
   UTILITY CLASSES
   ========================================================== */

/* Gradient text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: var(--gradient-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow effect */
.glow-orange {
  box-shadow: 0 0 30px rgba(207, 88, 42, 0.4);
}

.glow-blue {
  box-shadow: 0 0 30px rgba(11, 77, 245, 0.4);
}

/* Modern badge */
.badge-modern {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(207, 88, 42, 0.3);
}

/* Spacing utilities */
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }

.company-history-main-wrapper .single-company-history::after {
  background-image: var(--bg-img);
}

/* ==========================================================
   APPOINTMENT FORM STYLES
   ========================================================== */

.appoinment-main-wrapper-7 input.is-invalid,
.appoinment-main-wrapper-7 textarea.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff8f8 !important;
}

.appoinment-main-wrapper-7 input.is-valid,
.appoinment-main-wrapper-7 textarea.is-valid {
  border-color: #28a745 !important;
  background-color: #f8fff8 !important;
}

.appoinment-main-wrapper-7 input:focus,
.appoinment-main-wrapper-7 textarea:focus {
  outline: none;
  border-color: #cf582a !important;
  box-shadow: 0 0 0 3px rgba(207, 88, 42, 0.15) !important;
}

.appoinment-main-wrapper-7 input.is-invalid:focus,
.appoinment-main-wrapper-7 textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

.appoinment-main-wrapper-7 input.is-valid:focus,
.appoinment-main-wrapper-7 textarea.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2) !important;
}

/* ==========================================================
   BLOG STYLES
   ========================================================== */

/* Recent Posts Thumbnails - Fixed Size */
.recent-post-single .thumbnail img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.recent-post-single .thumbnail a:hover img {
  transform: scale(1.05);
}

/* Blog Post Card Images */
.single-blog-area-one .bottom-details .thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.single-blog-area-one .bottom-details .thumbnail:hover img {
  transform: scale(1.03);
}

/* Blog Pagination */
.rts-blog-list-area .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.rts-blog-list-area .pagination a,
.rts-blog-list-area .pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #555;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rts-blog-list-area .pagination a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.rts-blog-list-area .pagination button.active {
  background: linear-gradient(135deg, #1a5f7a, #159895);
  border-color: transparent;
  color: #fff;
}

.rts-blog-list-area .pagination i {
  font-size: 12px;
}

/* Blog Detail Banner */
.blog-details-banner-large-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.blog-details-banner-large-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

/* Blog Content */
.blog-content {
  line-height: 1.8;
  color: #555;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #1a5f7a;
  margin-top: 30px;
  margin-bottom: 15px;
}

.blog-content p {
  margin-bottom: 20px;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.blog-content li {
  margin-bottom: 8px;
}

/* Social Share Buttons */
.details-share button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.details-share button:hover {
  background: #1a5f7a;
  border-color: #1a5f7a;
  color: #fff;
}

/* Author Bio */
.author-area-blog {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 40px;
}

.author-area-blog .thumbnail img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-area-blog .author-details span {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-area-blog .author-details h5 {
  margin: 5px 0 10px;
  color: #1a5f7a;
}

.author-area-blog .author-details p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* ==========================================================
   BLOG CARDS ALIGNMENT FIX
   ========================================================== */

/* Fix for blog cards in swiper - align images at bottom */
.single-blog-area-one.without-radious {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.single-blog-area-one.without-radious .title {
    flex-grow: 1;
    margin-bottom: 15px;
    line-height: 1.4;
    /* Limit title to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-blog-area-one.without-radious .bottom-details {
    margin-top: auto;
}

.single-blog-area-one.without-radious .bottom-details .thumbnail {
    display: block;
}

.single-blog-area-one.without-radious .bottom-details .thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.single-blog-area-one.without-radious .bottom-details .thumbnail:hover img {
    transform: scale(1.03);
}

/* Swiper slide equal height */
.mySwiper-blog-one .swiper-slide {
    height: auto;
}

.mySwiper-blog-one .swiper-wrapper {
    align-items: stretch;
}

/* Blog listing page cards */
.rts-blog-list-area .single-blog-area-one.column-reverse {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.rts-blog-list-area .single-blog-area-one.column-reverse .title {
    flex-grow: 1;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rts-blog-list-area .single-blog-area-one.column-reverse .bottom-details {
    margin-top: auto;
}

/* Blog Date Style */
.single-blog-area-one .blog-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 10px;
}

.single-blog-area-one .blog-date i {
    margin-right: 6px;
    color: #1a5f7a;
}

/* Blog listing cards date */
.single-blog-area-one.column-reverse .blog-date {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 10px;
}

.single-blog-area-one.column-reverse .blog-date i {
    margin-right: 6px;
    color: #1a5f7a;
}

/* Blog date inline with category */
.single-blog-area-one .blog-date {
    display: inline-block;
    font-size: 12px;
    color: #888;
    margin-top: 0;
    margin-bottom: 8px;
    margin-left: 10px;
}

.single-blog-area-one .blog-date i {
    margin-right: 4px;
    color: #1a5f7a;
    font-size: 11px;
}

/* Category paragraph styling */
.single-blog-area-one > p {
    margin-bottom: 8px;
}

/* Make category and date on same line */
.single-blog-area-one .blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.single-blog-area-one .blog-meta .category {
    color: #1a5f7a;
    font-weight: 500;
}

.single-blog-area-one .blog-meta .separator {
    color: #ccc;
    margin: 0 3px;
}

.single-blog-area-one .blog-meta .author {
    color: #666;
}

.single-blog-area-one .blog-meta .date {
    color: #888;
    font-size: 12px;
    margin-left: auto;
}

.single-blog-area-one .blog-meta .date i {
    color: #1a5f7a;
    margin-right: 4px;
}

/* Blog date below category - closer spacing */
.single-blog-area-one .blog-date {
    display: block;
    font-size: 12px;
    color: #888;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.4;
}

.single-blog-area-one .blog-date i {
    margin-right: 5px;
    color: #1a5f7a;
    font-size: 11px;
}

/* Category paragraph - reduce bottom margin */
.single-blog-area-one > p:first-child {
    margin-bottom: 2px;
}

/* Search Results Header */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1a5f7a;
}

.search-results-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.search-results-header h4 strong {
    color: #1a5f7a;
}
