/* Custom CSS for SalvonixTech Bootstrap Implementation - Luxury Edition */

:root {
    --luxury-primary: #0f172a;
    --luxury-secondary: #1e293b;
    --luxury-accent: #c2410c;
    --luxury-light: #f8fafc;
    --primary: #1a1a2e;
    --primary-dark: #d3d5da;
    --primary-light: #0f3460;
    --accent: #e94560;
    --accent-light: #ff6b8b;
    --gold: #f9c74f;
    --silver: #e9ecef;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --luxury-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --luxury-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Luxury Color Scheme */
.luxury-bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

.luxury-bg-secondary {
    background-color: var(--luxury-secondary) !important;
}

.luxury-bg-light {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
}

.luxury-text {
    font-family: 'Georgia', serif;
    letter-spacing: -0.5px;
    font-weight: 600;
}

.luxury-heading {
    position: relative;
    padding-bottom: 1rem;
    color: var(--luxury-primary);
}

.luxury-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 2px;
}

.luxury-heading.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.luxury-card {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
    border: none;
    overflow: hidden;
}

.luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.luxury-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: 4px;
}

.luxury-btn::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;
}

.luxury-btn:hover::before {
    left: 100%;
}

.luxury-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--luxury-shadow-hover);
}

.luxury-nav-link {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.luxury-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: var(--transition);
}

.luxury-nav-link:hover::after,
.luxury-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 100%;
}

.luxury-border {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.luxury-border:hover {
    border-color: var(--accent);
}

.luxury-img {
    transition: var(--transition);
    filter: brightness(0.95) contrast(1.05);
}

.luxury-img:hover {
    filter: brightness(1) contrast(1.1);
    transform: scale(1.02);
}

.luxury-link {
    transition: var(--transition);
    position: relative;
}

.luxury-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.luxury-link:hover::before {
    width: 100%;
}

.luxury-social {
    transition: var(--transition);
    display: inline-block;
}

.luxury-social:hover {
    color: var(--accent) !important;
    transform: translateY(-3px) scale(1.1);
}

/* Service Icons & Tech Stack */
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--luxury-primary), var(--luxury-accent));
    transition: var(--transition);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-badge {
    background-color: #f1f5f9;
    color: var(--luxury-primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: #e2e8f0;
    transform: translateY(-50%);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--luxury-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.feature-box {
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--luxury-accent);
    margin-bottom: 20px;
}

.pricing-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: var(--luxury-accent);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(194, 65, 12, 0.1);
}

.pricing-header {
    background-color: var(--luxury-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.pricing-features {
    padding: 20px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--luxury-accent);
    margin-right: 10px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.logo-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.hexagon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 199, 79, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(26, 26, 46, 0.2) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(1deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.search-container {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-input-group {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--accent-light);
    transform: translateY(-50%) scale(1.1);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Service Cards */
.service-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.7s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--luxury-shadow-hover);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Stats Animation */
.stat-item {
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1030;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--luxury-shadow);
    margin-bottom: 15px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.scroll-top-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--luxury-shadow-hover);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Theme */
[data-bs-theme="dark"] {
    --bs-body-bg: #1a1a2e;
    --bs-body-color: #f8f9fa;
    --bs-secondary-color: #e2e8f0;
}

[data-bs-theme="dark"] .luxury-card {
    background: rgba(22, 33, 62, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .luxury-bg-light {
    background: linear-gradient(135deg, #16213e, #0f3460) !important;
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .navbar-light {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .luxury-border {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .text-white-50 {
    color: rgba(248, 249, 250, 0.8) !important;
}

[data-bs-theme="dark"] .btn-outline-dark {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

[data-bs-theme="dark"] .btn-outline-dark:hover {
    color: #1a1a2e;
    background-color: #f8f9fa;
}

[data-bs-theme="dark"] .card {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .lead {
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .luxury-text {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .luxury-heading::after {
    background: linear-gradient(90deg, var(--accent-light), var(--gold));
}

[data-bs-theme="dark"] .stat-item .h1 {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .stat-item p {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .service-card .text-muted {
    color: #ced4da !important;
}

[data-bs-theme="dark"] .btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #1a1a2e;
}

[data-bs-theme="dark"] .btn-light:hover {
    background-color: #e2e8f0;
    border-color: #e2e8f0;
    color: #1a1a2e;
}

[data-bs-theme="dark"] .btn-outline-light {
    color: #1a1a2e;
    border-color: #f8f9fa;
}

[data-bs-theme="dark"] .btn-outline-light:hover {
    color: #1a1a2e;
    background-color: #f8f9fa;
}

[data-bs-theme="dark"] .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8f9fa;
}

[data-bs-theme="dark"] .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: #f8f9fa;
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

[data-bs-theme="dark"] footer {
    color: #f8f9fa;
}

[data-bs-theme="dark"] footer .text-white-50 {
    color: rgba(248, 249, 250, 0.8) !important;
}

[data-bs-theme="dark"] footer .luxury-link::before {
    background: var(--accent-light);
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .hero-section {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .hero-section .lead {
    color: #e2e8f0 !important;
}

/* Language Toggle */
.lang-es, .lang-en {
    display: none;
}

.lang-es.active, .lang-en.active {
    display: block;
}

/* Blog Post Specific Styles */
.blog-content {
    line-height: 1.7;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Code Blocks */
.code-example pre {
    background: #1a1a2e;
    border-radius: 0.5rem;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.code-example code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-content table th,
.blog-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.blog-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table th {
    background-color: var(--primary);
    color: white;
    border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.02);
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

/* Table of Contents */
.toc-section {
    position: sticky;
    top: 2rem;
}

.toc-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.toc-section li {
    margin-bottom: 0.75rem;
}

/* Author Bio */
.author-bio {
    border-left: 4px solid var(--accent);
}

/* Share Buttons */
.share-section .btn {
    flex: 1;
}

/* Related Posts */
.related-post {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.related-post:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Reading Progress Bar */
#readingProgress {
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: width 0.1s;
}

/* Pagination */
.luxury-pagination {
    border: 1px solid #dee2e6;
    color: var(--primary);
    transition: var(--transition);
}

.luxury-pagination:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-item.active .luxury-pagination {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Blog Post Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-content {
    padding-left: 1rem;
}

/* Pipeline Steps */
.pipeline-steps .step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* Threat Items */
.threat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Strategy Cards */
.strategy-card {
    transition: var(--transition);
}

.strategy-card:hover {
    transform: translateY(-5px);
}

.strategy-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Best Practices */
.best-practices ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.best-practices li {
    margin-bottom: 0.25rem;
}

/* Stats Section */
.stats-section .stat-item {
    padding: 1rem;
}

/* Case Study */
.case-study {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Practice Items */
.practice-item {
    border-left: 4px solid var(--accent);
}

/* Legal & Cookie Styles */
.legal-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-content h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.cookie-category {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.cookie-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.cookie-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.badge-necessary {
    background-color: #28a745;
    color: white;
}

.badge-preferences {
    background-color: #17a2b8;
    color: white;
}

.badge-analytics {
    background-color: #6f42c1;
    color: white;
}

.badge-marketing {
    background-color: #e83e8c;
    color: white;
}

.cookie-controls {
    background: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.info-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.last-updated {
    background: var(--accent);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .blog-content table th {
    background-color: #2d3748;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .blog-content table td {
    border-color: #4a5568;
}

[data-bs-theme="dark"] .code-example pre {
    background: #0f172a;
}

[data-bs-theme="dark"] .related-post:hover {
    background-color: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.05);
}

[data-bs-theme="dark"] .table th {
    background-color: var(--primary-dark);
}

[data-bs-theme="dark"] .luxury-bg-light {
    background: rgba(255,255,255,0.05) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .search-input {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .blog-content {
        padding: 1.5rem !important;
    }
    
    .share-section .btn {
        flex: none;
        margin-bottom: 0.5rem;
    }
    
    .toc-section {
        position: static;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline::before {
        left: 0.75rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .pipeline-steps .step-number {
        width: 35px;
        height: 35px;
    }
    
    .threat-icon {
        width: 40px;
        height: 40px;
    }
}

/* Utility Classes */
.min-vh-50 {
    min-height: 50vh;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--accent));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-dark), var(--accent-light));
}

/* Print Styles */
@media print {
    .floating-actions,
    .navbar,
    .search-overlay {
        display: none !important;
    }
    
    .blog-content {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
/* Additional Mobile Responsiveness */
@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .quick-links {
        gap: 0.5rem;
    }
    
    .quick-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .contact-form-card {
        padding: 1.5rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Form Notification Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Improved touch targets for mobile */
@media (max-width: 768px) {
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .form-control, .form-select {
        min-height: 44px;
    }
}

/* Services Dropdown Menu Styling */
.navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 250px;
    animation: fadeInDown 0.2s ease;
}

.navbar .dropdown-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--luxury-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar .dropdown-item i {
    color: var(--luxury-accent);
    width: 20px;
}

.navbar .dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: var(--luxury-accent);
    padding-left: 1.5rem;
}

.navbar .dropdown-item:hover i {
    color: var(--luxury-accent);
}

.navbar .dropdown-divider {
    margin: 0.3rem 0;
    border-color: rgba(0, 0, 0, 0.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme dropdown adjustments */
[data-bs-theme="dark"] .navbar .dropdown-menu {
    background: var(--luxury-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .navbar .dropdown-item {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luxury-accent);
}

[data-bs-theme="dark"] .navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   ENHANCED MODERN DESIGN STYLES
   ===================================================== */

/* Modern Logo Animations */
.logo-svg {
    transition: transform 0.4s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

.logo-svg .orbit-ring {
    animation: orbit-pulse 3s ease-in-out infinite;
    transform-origin: center;
}

.logo-svg .core-circle {
    animation: core-glow 2s ease-in-out infinite alternate;
}

.logo-svg .node {
    animation: node-pulse 2s ease-in-out infinite;
}

.logo-svg .node-1 { animation-delay: 0s; }
.logo-svg .node-2 { animation-delay: 0.5s; }
.logo-svg .node-3 { animation-delay: 1s; }
.logo-svg .node-4 { animation-delay: 1.5s; }

@keyframes orbit-pulse {
    0%, 100% { stroke-width: 3; opacity: 1; }
    50% { stroke-width: 4; opacity: 0.8; }
}

@keyframes core-glow {
    0% { filter: url(#glow) brightness(1); }
    100% { filter: url(#glow) brightness(1.2); }
}

@keyframes node-pulse {
    0%, 100% { r: 3; opacity: 1; }
    50% { r: 4; opacity: 0.7; }
}

/* Enhanced Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.luxury-nav-link {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.luxury-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.luxury-nav-link:hover::before,
.luxury-nav-link.active::before {
    width: 80%;
}

.luxury-nav-link:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* Hero Section Enhancements */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
}

.hero-particles::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-particles::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 199, 79, 0.1) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: 4s;
}

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
}

/* Floating Cards on Hero */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    animation: float-card 4s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 2s;
}

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

/* Pulse Button Animation */
.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Tech Icons in Hero */
.tech-icons i {
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-icons i:hover {
    opacity: 1;
    transform: scale(1.2);
    color: var(--gold);
}

/* Badge Accent Color */
.bg-accent {
    background-color: var(--accent) !important;
}

/* Enhanced Service Cards */
.service-card {
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12) !important;
}

.service-card .service-icon {
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--accent), var(--gold)) !important;
}

/* Staggered Animation for Cards */
.row .col-md-6:nth-child(1) .animate-on-scroll,
.row .col-lg-4:nth-child(1) .animate-on-scroll { transition-delay: 0.1s; }
.row .col-md-6:nth-child(2) .animate-on-scroll,
.row .col-lg-4:nth-child(2) .animate-on-scroll { transition-delay: 0.2s; }
.row .col-lg-4:nth-child(3) .animate-on-scroll { transition-delay: 0.3s; }
.row .col-lg-4:nth-child(4) .animate-on-scroll { transition-delay: 0.4s; }
.row .col-lg-4:nth-child(5) .animate-on-scroll { transition-delay: 0.5s; }

/* Enhanced Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.scroll-top-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced Stats Section */
.stat-item {
    position: relative;
    padding: 2rem 1rem;
    transition: all 0.4s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: width 0.4s ease;
}

.stat-item:hover::before {
    width: 60px;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item .h1 {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tech Stack Badges Animation */
.tech-badge {
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge:hover {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: white;
    transform: translateY(-3px);
}

/* Testimonial Cards Animation */
.luxury-card:hover .fa-quote-left {
    transform: scale(1.2);
    color: var(--accent) !important;
}

/* Blog Cards Hover Effect */
.blog-card {
    transition: all 0.4s ease;
    border-radius: 16px !important;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-img-top {
    transition: transform 0.4s ease;
}

/* Smooth Page Transitions */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Box Animations */
.feature-box,
.text-center.animate-on-scroll {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-box:hover,
.text-center.animate-on-scroll:hover {
    transform: translateY(-10px);
}

/* Footer Link Animations */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent) !important;
    transform: translateX(5px);
    display: inline-block;
}

footer .bi {
    transition: transform 0.3s ease;
}

footer a:hover .bi {
    transform: scale(1.2);
}

/* Contact CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: cta-glow 6s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-particles::before,
    .hero-particles::after {
        display: none;
    }
    
    .tech-icons {
        display: none !important;
    }
}
