/* 
    REYCOM Design System
    Corporate Website CSS
*/

/* --- Variables (Tokens) --- */
:root {
  /* Colors */
  --primary-dark: #030B1A;
  --primary-navy: #0A1628;
  --accent-blue: #00D4FF;
  --accent-glow: rgba(0, 212, 255, 0.5);
  --accent-glow-strong: #0066FF;
  --text-primary: #FFFFFF;
  --text-muted: #8899AA;
  
  /* Background gradients */
  --bg-gradient-hero: linear-gradient(135deg, var(--primary-dark), #061122);
  --bg-gradient-cards: linear-gradient(145deg, rgba(16, 30, 50, 0.7), rgba(10, 22, 40, 0.5));
  --bg-gradient-accent: linear-gradient(135deg, var(--accent-glow-strong), var(--accent-blue));
  
  /* Glassmorphism */
  --glass-bg: rgba(10, 22, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-backdrop: blur(12px);
  
  /* Shadows */
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Base --- */
html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--primary-dark);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent-blue);
}

.text-muted {
  color: var(--text-muted) !important;
}

/* --- Utilities --- */
.section-padding {
  padding: 8rem 0;
}

.bg-navy { background-color: var(--primary-navy); }

.glass-panel {
  background: var(--bg-gradient-cards);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

/* --- Navbar --- */
.navbar-reycom {
  background: transparent;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

.navbar-reycom.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 2px;
}

.navbar-brand svg {
  fill: var(--accent-blue);
  width: 28px;
  height: 28px;
}

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  margin: 0 0.5rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue) !important;
}

.navbar-toggler {
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* --- Dropdown Premium Styling --- */
.dropdown-menu-dark {
    background: rgba(3, 11, 26, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 0.8rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
    margin-top: 15px !important;
}

.dropdown-item {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.7rem 1.2rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    color: var(--accent-blue) !important;
    border-left: 3px solid var(--accent-blue);
    padding-left: 1.5rem !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0.5rem 0 !important;
}

/* --- Buttons --- */
.btn-primary-reycom {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 var(--accent-blue);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-reycom:hover {
  background-color: var(--accent-blue);
  color: var(--primary-dark);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-solid-glow {
  background: var(--bg-gradient-accent);
  color: white;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  display: inline-block;
}

.btn-solid-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
  color: white;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* In front of slide backgrounds, behind content */
  opacity: 0.8;
  pointer-events: none; /* Let clicks pass through to buttons */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Typography animations */
.gradient-text {
  background: linear-gradient(90deg, #FFFFFF, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Stats Section --- */
.stats-section {
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* --- Services & Cards --- */
.service-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* --- Pricing Plans --- */
.plan-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan-card.popular {
    border: 2px solid var(--accent-blue);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-blue);
    color: var(--primary-dark);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1.5rem 0;
}

.plan-price span {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* --- Contact & Forms --- */
.form-control-reycom {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: white !important;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

select.form-control-reycom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300D4FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.5rem center !important;
    background-size: 16px 12px !important;
    padding-right: 3rem !important;
}

.form-control-reycom option {
    background-color: var(--primary-navy) !important;
    color: white !important;
}

.form-control-reycom:focus {
    background: rgba(0,0,0,0.5) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2) !important;
}

.form-control-reycom::placeholder {
    color: rgba(255,255,255,0.3);
}

/* --- Footer --- */
.footer-reycom {
  background-color: var(--primary-navy);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-reycom h5 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-reycom p, .footer-reycom li {
  color: var(--text-muted);
}

.footer-reycom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-reycom a:hover {
  color: var(--accent-blue);
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  background: var(--accent-blue);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- 3D Logo Animation Customization --- */
.logo-3d-container {
    perspective: 1000px;
    transform-style: preserve-3d;
    width: 520px; /* Increased from 450px */
    margin: auto;
    transition: width 0.3s ease;
}

@media (max-width: 1200px) {
    .logo-3d-container {
        width: 400px;
    }
}

@media (max-width: 991px) {
    .logo-3d-container {
        width: 320px;
    }
}

.logo-3d-animated {
    animation: rotate3dLogo 8s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(0, 212, 255, 0.4));
}

@keyframes rotate3dLogo {
    0% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }
    50% {
        transform: rotateY(15deg) rotateX(-5deg) translateY(-20px);
        filter: drop-shadow(0 25px 45px rgba(0, 212, 255, 0.6));
    }
    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }
}

@keyframes pulseGlow {
    0% { opacity: 0.2; transform: scale(0.9); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* --- Coverage Map --- */
#map-coverage {
    height: 500px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    z-index: 1;
}

.coverage-status-panel {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.status-success {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.status-success i {
    color: var(--accent-blue);
    font-size: 2rem;
}

.status-fail {
    background: rgba(255, 150, 0, 0.1);
    border: 1px solid #FF9600;
    color: var(--text-primary);
}

.status-fail i {
    color: #FF9600;
    font-size: 2rem;
}

.status-error {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid #FF3232;
    color: var(--text-primary);
}

.status-error i {
    color: #FF3232;
    font-size: 2rem;
}

/* --- Infinity Hero Slider (Swiper) --- */
.hero-swiper {
    width: 100%;
    height: 100vh;
    position: relative;
    background: var(--primary-dark);
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.1); /* For Ken Burns effect transition */
    transition: transform 10s linear;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 11, 26, 0.9) 0%, rgba(3, 11, 26, 0.4) 50%, rgba(3, 11, 26, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Custom Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    margin: 0 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent-blue) !important;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Custom Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: var(--text-primary) !important;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: 900;
    font-family: system-ui, -apple-system, sans-serif !important;
}
.swiper-button-next:after {
    content: '❯' !important;
}
.swiper-button-prev:after {
    content: '❮' !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--primary-dark) !important;
    box-shadow: var(--shadow-glow);
}

/* 3D Logo Glow Layer */
.logo-glow-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    z-index: 0;
    animation: pulseGlow 4s infinite alternate;
}

/* --- Floating Language Switcher --- */
.lang-switcher-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
}

.lang-btn-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.lang-btn-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-glow);
}

.lang-menu {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    display: none; /* Controlled by JS or hover */
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-card);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.lang-switcher-fixed:hover .lang-menu,
.lang-switcher-fixed.active .lang-menu {
    display: flex;
    opacity: 1;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
}

.flag-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- FAQ Accordion Section --- */
.faq-accordion .accordion-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 15px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.05);
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-right: 1rem;
    flex-shrink: 0;
}

/* --- Promo Badge Panel --- */
.promo-badge-panel {
    background: rgba(255, 150, 0, 0.08);
    border: 1px dashed rgba(255, 150, 0, 0.35);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 150, 0, 0.05);
    animation: pulsePromoBorder 2.5s infinite alternate;
    transition: all 0.3s ease;
}

.promo-badge-panel:hover {
    background: rgba(255, 150, 0, 0.12);
    border-color: rgba(255, 150, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 150, 0, 0.1);
}

@keyframes pulsePromoBorder {
    0% {
        border-color: rgba(255, 150, 0, 0.3);
        box-shadow: 0 0 10px rgba(255, 150, 0, 0.03);
    }
    100% {
        border-color: rgba(255, 150, 0, 0.7);
        box-shadow: 0 0 20px rgba(255, 150, 0, 0.12);
    }
}

/* --- Hero Section Promo Card --- */
@keyframes pulsePromoGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
        border-color: rgba(0, 212, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
        border-color: rgba(0, 212, 255, 0.8);
    }
}

.promo-hero-card {
    animation: pulsePromoGlow 2s infinite alternate;
    transition: all 0.3s ease;
}

.promo-hero-card:hover {
    transform: translateY(-3px);
    background: rgba(0, 212, 255, 0.12) !important;
}

/* --- Persistent Floating Promo Container --- */
.promo-persistent-container {
    position: absolute;
    bottom: 80px;
    right: 50px;
    z-index: 10;
    max-width: 540px;
    width: 100%;
}

@media (max-width: 991.98px) {
    .promo-persistent-container {
        bottom: 80px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 767.98px) {
    .promo-persistent-container {
        bottom: 45px;
        max-width: calc(100% - 20px);
    }
    
    .promo-hero-card {
        padding: 0.6rem 1rem !important;
        gap: 0.75rem !important;
    }
    
    .promo-hero-card > div:first-child {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.2rem !important;
    }
    
    .promo-hero-card .badge {
        font-size: 0.6rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .promo-hero-card h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0px !important;
    }
    
    .promo-hero-card p {
        display: none !important;
    }
}

/* Premium Responsive Mobile Navbar Enhancements */
@media (max-width: 991.98px) {
    /* Pull brand and button inward from extreme screen edges */
    .navbar-reycom {
        padding: 0.8rem 1rem !important;
    }

    /* Glassmorphic mobile container when expanded */
    .navbar-collapse {
        background: rgba(3, 11, 26, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(0, 212, 255, 0.15) !important;
        border-radius: 16px;
        padding: 1.5rem !important;
        margin-top: 1rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    }
    
    /* Ensure hamburger button fits cleanly on the right and is pulled significantly inward */
    .navbar-toggler {
        margin-left: auto;
        margin-right: 0.75rem !important;
        padding: 0.5rem 0.75rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
        border-color: var(--accent-blue);
    }

    /* Stretched full-width mobile menu items */
    .navbar-nav {
        width: 100%;
        align-items: stretch !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
        margin: 0.3rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.2rem !important;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 10px;
        margin: 0 !important;
        border-left: 3px solid transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
        background: rgba(0, 242, 254, 0.06);
        border-left: 3px solid var(--accent-blue);
        padding-left: 1.6rem !important;
        color: var(--accent-blue) !important;
    }
    
    .navbar-nav .dropdown-menu {
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin-top: 5px !important;
        box-shadow: none !important;
        padding: 0.5rem !important;
    }

    .navbar-nav .dropdown-item {
        border-radius: 8px !important;
        padding: 0.6rem 1rem !important;
    }
}

/* ==========================================================================
   PLANES HOGAR: 3D CIRCULAR CAROUSEL (SWIPER) STYLING
   ========================================================================== */

/* Swiper Container for Hogar Slider */
.hogar-swiper-container {
    width: 100%;
    padding: 3rem 1.5rem !important;
    position: relative;
    overflow: visible !important; /* Allow 3D slides to pop out of bounds */
}

/* Equal Heights & Stretch Flex slides */
.hogar-swiper-container .swiper-wrapper {
    align-items: stretch;
}

.hogar-swiper-container .swiper-slide {
    height: auto !important; /* Forces uniform height based on tallest card */
    display: flex;
    justify-content: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5; /* Fade out non-active elements for depth */
}

/* Make center (focused) slide and its surrounding neighbors fully opaque */
.hogar-swiper-container .swiper-slide-active,
.hogar-swiper-container .swiper-slide-next,
.hogar-swiper-container .swiper-slide-prev {
    opacity: 1;
}

/* Individual card modifications for Swiper */
.hogar-swiper-container .plan-card {
    width: 100%;
    margin: 0;
    transform: none !important; /* Override standard hover animations */
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

/* Hover scales slide in 3D coverflow layers */
.hogar-swiper-container .swiper-slide:hover {
    z-index: 10;
}

/* Center (active) slide styling - highly premium accent blue glowing highlight */
.hogar-swiper-container .swiper-slide-active .plan-card {
    border-color: var(--accent-blue) !important;
    background: linear-gradient(145deg, rgba(16, 30, 50, 0.95), rgba(10, 22, 40, 0.8)) !important;
    box-shadow: 0 15px 45px rgba(0, 212, 255, 0.35) !important;
    outline: 1px solid rgba(0, 212, 255, 0.2);
}

/* Navigation Handles for Hogar Plans Carousel */
.hogar-swiper-button-next,
.hogar-swiper-button-prev {
    color: var(--accent-blue) !important;
    background: rgba(10, 22, 40, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hogar-swiper-button-next:hover,
.hogar-swiper-button-prev:hover {
    background: var(--accent-blue) !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
    border-color: var(--accent-blue) !important;
}

.hogar-swiper-button-next {
    right: -15px !important;
}

.hogar-swiper-button-prev {
    left: -15px !important;
}

/* Pagination bullets */
.hogar-swiper-pagination {
    bottom: -15px !important;
    z-index: 15;
}

.hogar-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.hogar-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--accent-blue) !important;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hogar-swiper-container {
        padding: 2rem 0.5rem !important;
        overflow: hidden !important; /* Hide overflow on small screens to prevent horizontal scroll */
    }
    
    .hogar-swiper-button-next {
        right: 0px !important;
    }

    .hogar-swiper-button-prev {
        left: 0px !important;
    }
}

/* --- Auditing / Hardening Hover Overrides (Replacing inline JS event handlers) --- */
.text-hover-accent {
    transition: color 0.2s ease !important;
}
.text-hover-accent:hover {
    color: var(--accent-color, #00f2fe) !important;
}

.text-hover-white {
    transition: color 0.2s ease !important;
}
.text-hover-white:hover {
    color: #ffffff !important;
}

.email-protection-footer {
    color: var(--accent-color, #00f2fe) !important;
    transition: color 0.2s ease !important;
}
.email-protection-footer:hover {
    color: #ffffff !important;
}

.interactive-bn-guide {
    background: rgba(0, 242, 254, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}
.interactive-bn-guide:hover {
    border-color: rgba(0, 242, 254, 0.35) !important;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1) !important;
}

#visit-counter-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    user-select: none;
}
#visit-counter-trigger:hover {
    color: var(--accent-color, #00f2fe) !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6) !important;
}

.developer-link {
    color: var(--accent-color, #00f2fe) !important;
    transition: all 0.25s ease !important;
}
.developer-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6) !important;
}




