/*
 * Pictuscode - Common CSS
 * Shared styles, variables, and utilities across all pages
 */

/* ==========================================================================
   Google Fonts Import - Poppins
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables / Root
   ========================================================================== */
:root {
    /* Font Family */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    /* Primary Colors */
    --primary-color: #6366F1;
    --secondary-color: #8B5CF6;
    --accent-color: #10B981;
    --warning-color: #F59E0B;
    --success-color: #06D6A0;
    --info-color: #3B82F6;
    --rose-color: #F43F5E;

    /* Text Colors */
    --dark-text: #1F2937;
    --light-text: #6B7280;
    --white-text: #ffffff;

    /* Background Colors */
    --bg-light: #F9FAFB;
    --bg-secondary: #F3F4F6;
    --border-light: #E5E7EB;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #a956e1);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--success-color));

    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 32px rgba(99, 102, 241, 0.3);
    --shadow-secondary: 0 8px 32px rgba(139, 92, 246, 0.3);
    --shadow-accent: 0 8px 32px rgba(16, 185, 129, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.4s ease;
    --transition-slower: all 0.6s ease;
}

/* ==========================================================================
   Base Typography
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-text);
}

p {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

a {
    font-family: var(--font-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

/* ==========================================================================
   Typography - Font Weights
   ========================================================================== */
.f-light {
    font-family: var(--font-primary) !important;
    font-weight: 300 !important;
}

.f-regular {
    font-family: var(--font-primary) !important;
    font-weight: 400 !important;
}

.f-medium {
    font-family: var(--font-primary) !important;
    font-weight: 500 !important;
}

.f-semibold {
    font-family: var(--font-primary) !important;
    font-weight: 600 !important;
}

.f-bold {
    font-family: var(--font-primary) !important;
    font-weight: 700 !important;
}

.f-extrabold {
    font-family: var(--font-primary) !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   Base Animations
   ========================================================================== */
@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0px);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

@keyframes iconFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-15px) scale(1.2);
    }
}

@keyframes shine {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1.3) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ==========================================================================
   Animation Utilities
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slower);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slower);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slower);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Common Components - Badges
   ========================================================================== */
.badge-premium {
    display: inline-block;
    position: relative;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: var(--shadow-primary);
    overflow: hidden;
}

.badge-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.badge-premium i {
    margin-right: 8px;
}

/* Badge Glow Effect */
.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
    animation: pulse 2s infinite;
}

/* ==========================================================================
   Common Components - Highlight Gradients
   ========================================================================== */
.highlight-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary-color);
}

/* ==========================================================================
   Common Components - Cards
   ========================================================================== */
.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.card-glass:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.card-glass:hover .card-shine {
    opacity: 1;
    left: 100%;
    transition: all 0.6s ease;
}

/* ==========================================================================
   Common Components - Buttons
   ========================================================================== */
.btn-primary-modern {
    background: var(--primary-color);
    border: none;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
    text-decoration: none;
    color: white;
    display: inline-block;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary-modern:hover {
    background: #5855eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
    background: transparent;
    font-size: 1rem;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* ==========================================================================
   Common Components - Icons
   ========================================================================== */
.icon-luxury {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.icon-luxury.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.icon-luxury.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--rose-color));
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}

.icon-luxury.accent {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.icon-luxury.warning {
    background: linear-gradient(135deg, var(--warning-color), var(--rose-color));
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

/* Icon Glow Effect */
.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.7;
    z-index: -1;
    animation: pulse 3s infinite;
}

.icon-glow.primary {
    background: var(--primary-color);
}

.icon-glow.secondary {
    background: var(--secondary-color);
}

.icon-glow.accent {
    background: var(--accent-color);
}

.icon-glow.warning {
    background: var(--warning-color);
}

/* ==========================================================================
   Common Components - Form Inputs
   ========================================================================== */
.luxury-input-group {
    position: relative;
    margin-bottom: 20px;
}

.luxury-input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    font-size: 1.1rem;
    z-index: 3;
}

.luxury-input-group textarea + i {
    top: 25px;
    transform: none;
}

.luxury-form-control {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
}

.luxury-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.luxury-form-control::placeholder {
    color: var(--light-text);
    font-weight: 400;
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    filter: blur(10px);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
}

.luxury-form-control:focus + .input-glow {
    opacity: 0.15;
}

/* ==========================================================================
   Common Components - Submit Button
   ========================================================================== */
.luxury-submit-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 18px 40px;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    cursor: pointer;
}

.luxury-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    filter: blur(15px);
    opacity: 0.7;
    z-index: -1;
}

/* ==========================================================================
   Common Components - Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark-text);
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-header p {
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   Common Components - Price Tags
   ========================================================================== */
.priceStartsTag {
    text-align: center;
}

.priceStartsTag span {
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 5px;
}

.priceTag {
    font-size: 2rem !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.contact-us-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
}

.contact-us-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: white;
}

/* ==========================================================================
   Common Components - Learn More Buttons
   ========================================================================== */
.btn-service-learn-more,
.btn-product-learn-more,
.btn-industry-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    margin-top: 20px;
}

.btn-service-learn-more.web,
.btn-product-learn-more.ternmet {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-service-learn-more.web:hover,
.btn-product-learn-more.ternmet:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-service-learn-more.mobile,
.btn-product-learn-more.service-rabbit {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.btn-service-learn-more.mobile:hover,
.btn-product-learn-more.service-rabbit:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-service-learn-more.ai {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-service-learn-more.ai:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-service-learn-more.marketing,
.btn-product-learn-more.sellhub {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.btn-service-learn-more.marketing:hover,
.btn-product-learn-more.sellhub:hover {
    background: var(--warning-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-industry-learn-more.logistics {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-industry-learn-more.logistics:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Navbar Styles — Rich Premium Design
   ========================================================================== */
.navbar {
    padding: 18px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(99, 102, 241, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 12px 48px rgba(99, 102, 241, 0.04);
    padding: 10px 0;
}

.navbar.scrolled .navbar-accent-line {
    opacity: 1;
}

/* Gradient accent line */
.navbar-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 20%,
        var(--secondary-color) 50%,
        var(--accent-color) 80%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   Logo Styles & Animations (from original design)
   ========================================================================== */
.animated-logo {
    width: 65px;
    height: 65px;
}

.logo_pituscode {
    width: 165px;
}

/* Main gem animation */
.gem-main {
    animation: gemColorChange 4s ease-in-out infinite;
    transform-origin: 347px 346px;
}

/* Inner rectangle animation */
.inner-rect {
    animation: rectColorChange 3s ease-in-out infinite;
    transform-origin: center;
}

/* Triangle animation */
.triangle-element {
    animation: triangleColorChange 5s ease-in-out infinite;
    transform-origin: center;
}

/* Outer ring animation */
.outer-ring {
    animation: ringColorChange 6s ease-in-out infinite;
    transform-origin: 347px 346px;
}

/* Floating animation for the whole logo */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Gem color change animation */
@keyframes gemColorChange {
    0% {
        fill: #7C3AED;
    }
    25% {
        fill: #DC2626;
    }
    50% {
        fill: #059669;
    }
    75% {
        fill: #EA580C;
    }
    100% {
        fill: #7C3AED;
    }
}

/* Rectangle color change */
@keyframes rectColorChange {
    0% {
        fill: #6B7280;
    }
    33% {
        fill: #374151;
    }
    66% {
        fill: #4B5563;
    }
    100% {
        fill: #6B7280;
    }
}

/* Triangle color change */
@keyframes triangleColorChange {
    0% {
        fill: #1F2937;
    }
    20% {
        fill: #374151;
    }
    40% {
        fill: #4B5563;
    }
    60% {
        fill: #6B7280;
    }
    80% {
        fill: #9CA3AF;
    }
    100% {
        fill: #1F2937;
    }
}

/* Outer ring color change */
@keyframes ringColorChange {
    0% {
        fill: #111827;
    }
    25% {
        fill: #1F2937;
    }
    50% {
        fill: #374151;
    }
    75% {
        fill: #4B5563;
    }
    100% {
        fill: #111827;
    }
}

/* Hover effects */
.navbar-brand:hover .animated-logo {
    animation-play-state: paused;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover .gem-main {
    animation: gemHoverColors 0.5s ease-in-out infinite;
}

@keyframes gemHoverColors {
    0% {
        fill: #7C3AED;
    }
    25% {
        fill: #DC2626;
    }
    50% {
        fill: #059669;
    }
    75% {
        fill: #EA580C;
    }
    100% {
        fill: #7C3AED;
    }
}

/* ---------- Custom Hamburger Toggle ---------- */
.nav-toggle-bars {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.nav-toggle-bars span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle-bars span:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.navbar-toggler[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar-toggler[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Nav Links — Rich Hover & Active ---------- */
.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px !important;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 60%;
}

/* Remove underline from dropdown toggles and CTA */
.nav-link.dropdown-toggle::after {
    border: none;
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 6px;
    transition: transform 0.3s ease;
    position: static;
    background: none;
}

.nav-link.dropdown-toggle.show::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Override the default underline pseudo for dropdowns */
.dropdown-toggle.nav-link::after {
    bottom: auto;
    left: auto;
    background: none;

    border-radius: 0;
}

/* ---------- Rich Dropdown Menus ---------- */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 12px;
    margin-top: 12px !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 24px rgba(0, 0, 0, 0.08),
        0 20px 48px rgba(99, 102, 241, 0.06);
    min-width: 280px;
    animation: dropdownReveal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top center;
}

@keyframes dropdownReveal {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
    color: var(--dark-text);
    text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.dropdown-item.active .dropdown-item-icon {
    background: var(--gradient-primary) !important;
    color: white !important;
}

.dropdown-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    transition: all 0.25s ease;
}

.dropdown-item:hover .dropdown-item-icon {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-item-desc {
    font-size: 0.78rem;
    color: var(--light-text);
    font-weight: 400;
}

.dropdown-item:hover .dropdown-item-desc {
    color: rgba(99, 102, 241, 0.7);
}

/* ---------- Language Switcher ---------- */
.nav-lang-switcher .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 50px;
    padding: 7px 16px !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.nav-lang-switcher .nav-link::after {
    bottom: auto;
    left: auto;
    width: 5px;
    height: 5px;
    background: none;
}

.nav-lang-switcher .nav-link:hover {
    background: rgba(99, 102, 241, 0.12);
}

.nav-lang-switcher .nav-link .bi-globe2 {
    font-size: 0.95rem;
}

.nav-lang-switcher .dropdown-menu {
    min-width: 160px;
    padding: 8px;
}

.nav-lang-switcher .dropdown-item {
    padding: 9px 14px;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- Contact CTA Button ---------- */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.nav-cta-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 ease;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
    color: white !important;
}

.nav-cta-btn:hover::before {
    left: 100%;
}

.nav-cta-btn .bi-arrow-right {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.nav-cta-btn:hover .bi-arrow-right {
    transform: translateX(3px);
}

/* ---------- Mobile Nav Styles ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.08),
            0 2px 10px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(99, 102, 241, 0.06);
    }

    .nav-link {
        padding: 12px 16px !important;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: rgba(99, 102, 241, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(99, 102, 241, 0.08);
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(99, 102, 241, 0.03);
        border-radius: 12px;
        padding: 8px;
        margin-top: 4px !important;
        min-width: 100%;
        animation: none;
    }

    .dropdown-item {
        padding: 10px 12px;
    }

    .nav-cta-wrapper {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(99, 102, 241, 0.08);
    }

    .nav-cta-btn {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 14px 24px;
    }

    .nav-lang-switcher {
        margin-top: 8px;
    }

    .nav-lang-switcher .nav-link {
        display: inline-flex;
    }
}

/* ==========================================================================
   Hero Logo Animation
   ========================================================================== */
.heroLogoRotate {
   text-align: center;
    opacity: 0.8;
    z-index: 0;
}

.heroLogoRotate img {
    width: 450px;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

    .badge-premium {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .heroLogoRotate {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .btn-primary-modern,
    .btn-outline-modern {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Validation Error Styles
   ========================================================================== */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

label.error {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

/* ==========================================================================
   Alert Styles
   ========================================================================== */
.alert {
    border-radius: var(--radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-color);
}

.alert-danger {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--rose-color);
}

/* ==========================================================================
   Owl Carousel Custom Styles
   ========================================================================== */
.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-carousel .owl-item {
    display: flex;
    align-items: stretch;
}

.custom-nav-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.custom-nav-prev,
.custom-nav-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-primary);
}

.custom-nav-prev:hover,
.custom-nav-next:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   Video Wrapper Styles
   ========================================================================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Loading State
   ========================================================================== */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}