/* Xar Technology - Corporate Professional Theme */
/* Clean & Modern IT Company Design */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Vibrant Corporate Red */
    --primary: #E31837;
    --primary-light: #FF2D4D;
    --primary-dark: #B8142D;
    --primary-glow: rgba(227, 24, 55, 0.35);
    
    /* Accent Colors */
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --accent-cyan: #06B6D4;
    --accent-green: #10B981;
    
    /* Backgrounds - Richer, more vibrant */
    --bg-dark: #0F1019;
    --bg-darker: #0A0B10;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-hover: rgba(255, 255, 255, 0.10);
    
    /* Text - Better contrast */
    --text-primary: #FFFFFF;
    --text-secondary: #A8A8B3;
    --text-muted: #6B6B7B;
    
    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(227, 24, 55, 0.4);
    
    /* Effects - More vibrant */
    --glow-primary: 0 4px 30px rgba(227, 24, 55, 0.35);
    --glow-soft: 0 8px 50px rgba(227, 24, 55, 0.2);
    --glass-blur: blur(16px);
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Gradients - More colorful */
    --gradient-primary: linear-gradient(135deg, #E31837 0%, #FF2D4D 50%, #FF4D6A 100%);
    --gradient-dark: linear-gradient(180deg, #0F1019 0%, #151520 100%);
    --gradient-radial: radial-gradient(ellipse at 50% 0%, rgba(227, 24, 55, 0.15) 0%, transparent 60%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(227, 24, 55, 0.12) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
                     radial-gradient(at 90% 80%, rgba(6, 182, 212, 0.05) 0px, transparent 40%);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

/* Responsive Media Reset */
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Table & Code */
table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

pre, code {
    white-space: pre-wrap;
    word-break: break-all;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

::selection { background: var(--primary); color: white; }

/* Typography - Corporate & Clean */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { 
    color: var(--text-secondary); 
    margin-bottom: 1rem; 
    font-size: 0.9375rem; 
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: var(--gradient-mesh);
    opacity: 1;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Floating Orbs - More Vibrant */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.15) 0%, rgba(255, 45, 77, 0.1) 100%);
    top: -250px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: -12s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(196, 30, 58, 0.03);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.02); }
    50% { transform: translate(-15px, 15px) scale(0.98); }
    75% { transform: translate(10px, 20px) scale(1.01); }
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    letter-spacing: -0.02em;
    z-index: 100000;
}

.navbar-brand img {
    height: 70px !important;
}

.navbar-brand .brand-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-glow);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.navbar-brand .brand-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-menu a.active {
    color: var(--primary-light);
    background: rgba(218, 31, 50, 0.1);
}

/* Dropdown Menu Styles */
.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown-toggle { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.nav-menu .dropdown-toggle i.fa-chevron-down { font-size: 0.7rem; transition: var(--transition); }
.nav-menu .dropdown:hover .dropdown-toggle i.fa-chevron-down { transform: rotate(180deg); }
.nav-menu .dropdown-menu { 
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); 
    min-width: 240px; background: rgba(20, 20, 30, 0.98); border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 12px; padding: 0.75rem 0; opacity: 0; visibility: hidden; 
    transition: all 0.3s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 1000;
    list-style: none; margin: 0;
}
@media (min-width: 769px) {
    .nav-menu .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
.nav-menu .dropdown-menu li { margin: 0; }
.nav-menu .dropdown-menu a { 
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; 
    color: var(--text-secondary); font-size: 0.9rem; transition: all 0.2s ease; 
    white-space: nowrap; border-radius: 0;
}
.nav-menu .dropdown-menu a:hover { background: rgba(218,31,50,0.15); color: var(--primary-light); padding-left: 1.5rem; }
.nav-menu .dropdown-menu a i { width: 20px; text-align: center; color: var(--primary); font-size: 0.85rem; }
.nav-menu .dropdown-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0.5rem 0; }

/* Mega Menu Styles */
.nav-menu .dropdown-menu.mega-menu {
    min-width: 720px;
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
    gap: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}
@media (min-width: 769px) {
    .nav-menu .dropdown:hover .dropdown-menu.mega-menu {
        transform: translateX(-50%) translateY(0);
    }
}
.nav-menu .dropdown-menu.mega-menu .mega-column {
    padding: 0 1rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    list-style: none;
}
.nav-menu .dropdown-menu.mega-menu .mega-column:last-of-type {
    border-right: none;
}
.nav-menu .dropdown-menu.mega-menu .mega-column a {
    display: block;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-menu .dropdown-menu.mega-menu .mega-column a:hover {
    background: rgba(218,31,50,0.15);
    color: var(--primary-light);
    padding-left: 1rem;
}
.nav-menu .dropdown-menu.mega-menu .mega-column a.active {
    color: var(--primary);
    background: rgba(218,31,50,0.1);
}
.nav-menu .dropdown-menu.mega-menu .dropdown-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0.75rem 0;
}
.nav-menu .dropdown-menu.mega-menu > li:last-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
}
.nav-menu .dropdown-menu.mega-menu > li:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(218,31,50,0.1);
    border-radius: 8px;
    color: var(--primary-light);
    font-weight: 500;
}
.nav-menu .dropdown-menu.mega-menu > li:last-child a:hover {
    background: rgba(218,31,50,0.2);
}

/* Mega Dropdown (div-based mega menu) */
.nav-menu .mega-dropdown {
    position: relative;
}

.nav-menu .mega-dropdown .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 700px;
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    backdrop-filter: blur(20px);
}

.nav-menu .mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.nav-menu .mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu .mega-menu-column:last-child {
    border-right: none;
}

.nav-menu .mega-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-menu .mega-menu-item:hover {
    background: rgba(218, 31, 50, 0.15);
    color: var(--primary-light);
    padding-left: 1rem;
}

.nav-menu .mega-menu-item i {
    width: 18px;
    text-align: center;
    color: var(--primary);
    font-size: 0.8rem;
}

.nav-menu .mega-menu-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.nav-menu .mega-menu-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(218, 31, 50, 0.1);
    border-radius: 8px;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-menu .mega-menu-all-link:hover {
    background: rgba(218, 31, 50, 0.2);
}

.nav-cta {
    margin-left: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100000;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(227, 24, 55, 0.4);
}

.btn-primary::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: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(227, 24, 55, 0.5);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(227, 24, 55, 0.15);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 24, 55, 0.2);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: rgba(196, 30, 58, 0.08);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(196, 30, 58, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-badge i {
    color: var(--primary);
    font-size: 0.8rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.15s both;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-card {
    position: relative;
    background: linear-gradient(145deg, rgba(35, 35, 55, 0.8) 0%, rgba(20, 20, 35, 0.95) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), transparent);
}

.hero-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(227, 24, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-stat {
    text-align: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hero-stat:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.15);
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.15) 0%, rgba(227, 24, 55, 0.05) 100%);
}

.hero-stat .number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.hero-stat .label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.floating-element.el-1 {
    top: 10%;
    right: -5%;
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation-delay: 0s;
}

.floating-element.el-2 {
    bottom: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: rgba(218, 31, 50, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    animation-delay: -2s;
}

.floating-element.el-3 {
    top: 30%;
    left: -10%;
    width: 100px;
    height: 100px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

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

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

/* ==================== PARTNERS/LOGOS ==================== */
.partners-section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: var(--bg-card);
}

.partners-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 1;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    height: 50px;
}

.partner-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.15) 0%, rgba(227, 24, 55, 0.05) 100%);
    border: 1px solid rgba(227, 24, 55, 0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.15);
}

.section-tag i {
    font-size: 0.875rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==================== SERVICE CARDS ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.7) 0%, rgba(20, 20, 35, 0.9) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    overflow: hidden;
    group: true;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(227, 24, 55, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(227, 24, 55, 0.1);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    z-index: 2;
}

.service-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.15) 0%, rgba(227, 24, 55, 0.05) 100%);
    border: 1px solid rgba(227, 24, 55, 0.25);
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(227, 24, 55, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
    transform: scale(1.05);
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
}

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

.service-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--primary);
    font-size: 0.7rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.stat-card:hover::before {
    opacity: 1;
    width: 60%;
}

.stat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.375rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(196, 30, 58, 0.08);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border-glow);
}

.testimonial-info h5 {
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.testimonial-info span {
    color: var(--primary);
    font-size: 0.8125rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 0.85rem;
}

/* ==================== BLOG SECTION ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-category {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    padding: 0.3rem 0.875rem;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover h4 {
    color: var(--primary-light);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-link:hover {
    gap: 0.75rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.cta-card {
    background: linear-gradient(145deg, rgba(40, 40, 60, 0.8) 0%, rgba(25, 25, 40, 0.95) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 150%;
    background: radial-gradient(ellipse at top, rgba(227, 24, 55, 0.15), transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-desc {
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 4rem 0 1.5rem;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .navbar-brand {
    margin-bottom: 1.25rem;
    display: inline-flex;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.footer-column h5 {
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Service detail responsive */
    .container > div[style*="grid-template-columns: 1fr 350px"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .nav-menu, .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: #0c0c14 !important;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 99999 !important;
        overflow-y: auto;
        padding: 2rem;
    }
    
    .nav-menu.active a {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }
    
    /* Mobile Mega Menu & Dropdown - Hide by default */
    .nav-menu.active .dropdown-menu,
    .nav-menu.active .dropdown-menu.mega-menu {
        position: static !important;
        transform: none !important;
        min-width: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        display: none !important;
        grid-template-columns: 1fr !important;
        background: rgba(30, 30, 45, 0.95);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        left: auto !important;
        top: auto !important;
    }
    
    /* Show dropdown ONLY when .show class is present */
    .nav-menu.active .dropdown.show .dropdown-menu,
    .nav-menu.active .dropdown.show .dropdown-menu.mega-menu {
        display: block !important;
        animation: none !important;
    }
    
    .nav-menu.active .dropdown-menu.mega-menu .mega-column {
        border-right: none;
        padding: 0;
        margin-bottom: 0.5rem;
    }
    
    .nav-menu.active .dropdown-menu.mega-menu .mega-column a {
        font-size: 1.1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.875rem;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* ==================== ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.active > *:nth-child(1) { animation: fadeInUp 0.6s ease 0.1s forwards; }
.stagger-children.active > *:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s forwards; }
.stagger-children.active > *:nth-child(3) { animation: fadeInUp 0.6s ease 0.3s forwards; }
.stagger-children.active > *:nth-child(4) { animation: fadeInUp 0.6s ease 0.4s forwards; }

/* Glow effect on hover */
.glow-hover {
    transition: var(--transition);
}

.glow-hover:hover {
    box-shadow: var(--glow-primary);
}

/* ==================== PAGE SPECIFIC ==================== */
/* About Page */
.about-hero {
    padding: 12rem 0 4rem;
    text-align: center;
}

.page-title {
    margin-bottom: 1.25rem;
}

.page-desc {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(218, 31, 50, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 31, 50, 0.1);
    border-radius: 16px;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-content h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.faq-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.faq-open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================== POPUP ==================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 31, 50, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary);
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* ========================================
   Floating Action Buttons
   ======================================== */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(218, 31, 50, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(218, 31, 50, 0.5);
}

/* WhatsApp Button - Disabled */
.whatsapp-float {
    display: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .tooltip {
    position: absolute;
    left: 70px;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Show WhatsApp only on mobile - DISABLED */
@media (max-width: 768px) {
    /* WhatsApp float disabled */
    
    
    .scroll-to-top {
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ==================== IMPROVED MOBILE RESPONSIVE ==================== */

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.75rem;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    /* Navigation */
    .nav-menu, .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: #0c0c14 !important;
        justify-content: flex-start;
        align-items: center;
        padding-top: 5rem;
        gap: 0.5rem;
        z-index: 99999 !important;
        overflow-y: auto;
    }
    
    .nav-menu.active a {
        font-size: 1.125rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
        display: block;
        text-align: center;
    }
    
    .nav-menu.active .dropdown {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-menu.active .dropdown-menu {
        position: static !important;
        display: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        box-shadow: none !important;
    }
    
    .nav-menu.active .dropdown.show .dropdown-menu {
        display: block !important;
    }

    .nav-menu.active .dropdown.show .dropdown-menu.mega-menu {
        display: block !important;
    }
    
    .nav-menu.active .dropdown-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        text-align: left;
        color: #ffffff !important;
        display: block;
        white-space: normal;
    }
    
    .nav-menu.active .mega-menu {
        padding-left: 1rem !important;
    }
    
    .nav-menu.active .mega-column {
        border: none;
        padding: 0;
        width: 100%;
        display: block;
        margin-bottom: 1rem;
    }

    .nav-menu.active .mega-column > a {
        padding-left: 0;
        font-weight: 500;
        color: #ffffff !important;
        margin-bottom: 0.25rem;
        background: transparent !important;
        opacity: 0.9;
        display: block;
    }
    
    .nav-menu.active .mega-column > a:hover {
        background: transparent !important;
        color: var(--primary) !important;
        opacity: 1;
    }

    /* Uniform list style for mega menu items */
    .nav-menu.active .mega-column a:not(:first-child) {
        padding-left: 0;
        color: #ffffff !important;
        font-weight: 500;
    }
    
    /* Hero */
    .hero {
        padding: 10rem 0 2.5rem;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.875rem;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* About Hero */
    .about-hero {
        padding: 10rem 0 3rem;
    }
    
    .page-title {
        font-size: 1.5rem !important;
    }
    
    .page-desc {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-tag {
        font-size: 0.625rem;
        padding: 0.35rem 0.875rem;
    }
    
    .section-title {
        font-size: 1.375rem !important;
    }
    
    .section-desc {
        font-size: 0.85rem;
    }
    
    /* Contact Grid - Stack on Mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .contact-form h3 {
        font-size: 1.125rem;
    }
    
    .contact-form p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem !important;
    }
    
    /* Form Grid Fix */
    .contact-form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    .contact-info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .contact-info-card h3 {
        font-size: 1.125rem;
    }
    
    .contact-item {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .contact-item-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .contact-item-content h5 {
        font-size: 0.9rem;
    }
    
    .contact-item-content p {
        font-size: 0.8rem;
    }
    
    /* Stats Grid */
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.75rem;
        border-radius: 12px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Service Cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .service-icon-wrap {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        border-radius: 12px;
    }
    
    .service-icon i {
        font-size: 1.25rem;
    }
    
    .service-card h4 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    .service-number {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 14px;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }
    
    .testimonial-content {
        margin-bottom: 1.25rem;
    }
    
    .testimonial-content p {
        font-size: 0.875rem;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .testimonial-info h5 {
        font-size: 0.875rem;
    }
    
    .testimonial-info span {
        font-size: 0.75rem;
    }
    
    .testimonial-rating i {
        font-size: 0.7rem;
    }
    
    /* Blog Cards */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-card {
        border-radius: 14px;
    }
    
    .blog-image {
        height: 160px;
    }
    
    .blog-category {
        font-size: 0.625rem;
        padding: 0.25rem 0.625rem;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-date {
        font-size: 0.75rem;
    }
    
    .blog-card h4 {
        font-size: 1rem;
    }
    
    .blog-card p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }
    
    .cta-title {
        font-size: 1.25rem !important;
    }
    
    .cta-desc {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-brand .navbar-brand {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h5 {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.25rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Partners */
    .partners-section {
        padding: 2rem 0;
    }
    
    .partners-wrapper {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .partner-logo {
        height: 40px;
    }
    
    /* Hide decorative elements */
    .floating-element,
    .orb {
        display: none;
    }
    
    /* Hero Card Mobile */
    .hero-card {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .hero-stat {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .hero-stat .number {
        font-size: 1.5rem;
    }
    
    .hero-stat .label {
        font-size: 0.7rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .btn i {
        font-size: 0.9rem;
    }
    
    /* Popup Mobile */
    .popup-content {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        width: 92%;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .popup-content h3 {
        font-size: 1.125rem;
    }
    
    .popup-content p {
        font-size: 0.85rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .faq-answer-content {
        padding: 0 1.25rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Map */
    .map-container iframe {
        border-radius: 12px;
    }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
    .container {
        padding: 0 0.875rem;
    }
    
    .hero-title {
        font-size: 1.375rem !important;
    }
    
    .page-title {
        font-size: 1.375rem !important;
    }
    
    .section-title {
        font-size: 1.25rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .contact-form,
    .contact-info-card {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }
}

/* Landscape Phone Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0 2rem;
    }
    
    .about-hero {
        padding: 8rem 0 2rem;
    }
    
    .nav-menu.active a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* ==================== REFERENCES PAGE ==================== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.reference-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all 0.3s ease;
}

.reference-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(227, 24, 55, 0.3);
    transform: translateY(-4px);
}

.reference-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.reference-item:hover .reference-logo img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.reference-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: auto;
}

.partners-grid .reference-logo {
    height: 80px;
}

@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .reference-item {
        min-height: 120px;
        padding: 1rem;
    }
    
    .reference-logo {
        height: 70px;
    }
}

/* ==================== SOLUTIONS PAGE CARDS ==================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.solution-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.6) 0%, rgba(20, 20, 32, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(218, 31, 50, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(218, 31, 50, 0.1);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 1rem;
}

.solution-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(218, 31, 50, 0.15) 0%, rgba(218, 31, 50, 0.05) 100%);
    border: 1px solid rgba(218, 31, 50, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.solution-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
}

.solution-card:hover .solution-icon-wrapper i {
    color: white;
}

.solution-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
}

.solution-card-body {
    padding: 0 1.5rem 1rem;
    flex: 1;
}

.solution-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-title {
    color: var(--primary-light);
}

.solution-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.solution-card-footer {
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s ease;
}

.solution-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-link {
    color: var(--primary-light);
}

.solution-card:hover .solution-link i {
    transform: translateX(5px);
}

/* Responsive Solutions Grid */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .solution-card-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .solution-card-body {
        padding: 0 1.25rem 0.75rem;
    }
    
    .solution-card-footer {
        padding: 0.875rem 1.25rem 1rem;
    }
    
    .solution-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .solution-icon-wrapper i {
        font-size: 1.25rem;
    }
    
    .solution-title {
        font-size: 1rem;
    }
}
