/* 
   Revolve108 — Premium Enterprise Stylesheet
   WebFX-inspired Design System with Glassmorphism, Mega Menus & Animations
   Built on Bootstrap 5 + Custom Premium Aesthetics
*/

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

/* ============================================
   DESIGN TOKENS & CSS VARIABLES
   ============================================ */
:root {
    /* Revolve108 Brand Colors — inspired by the colorful fan logo */
    --primary-color: #E85D04;        /* Vibrant orange — dominant logo color */
    --primary-dark: #1a0a00;
    --primary-light: #FF8C42;
    --accent-color: #4CAF50;          /* Logo green */
    --purple-color: #6A0DAD;          /* Logo purple/violet */
    --blue-color: #1565C0;            /* Logo blue */
    --accent-rgb: 76, 175, 80;
    --primary-rgb: 232, 93, 4;
    --success-color: #4CAF50;
    --warning-color: #FF8C42;
    --bg-color: #ffffff;
    --bg-light: #fdf6f0;
    --card-bg: #ffffff;
    --text-color: #111111;
    --text-muted: #5a5a5a;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.5);
    --gradient-primary: linear-gradient(135deg, #E85D04 0%, #6A0DAD 100%);
    --gradient-dark: linear-gradient(135deg, #1a0a00 0%, #E85D04 100%);
    --gradient-hero: linear-gradient(135deg, #fff7f0 0%, #ffffff 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(232,93,4,0.04) 0%, rgba(106,13,173,0.04) 100%);
    --gradient-rainbow: linear-gradient(90deg, #6A0DAD 0%, #1565C0 20%, #4CAF50 40%, #FF8C42 60%, #E85D04 80%, #D32F2F 100%);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
    --shadow-premium: 0 20px 60px -15px rgba(232,93,4,0.10);
    --shadow-glow: 0 0 30px rgba(232,93,4,0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Hero colors in light mode */
    --hero-title-color: var(--text-color);
    --hero-subtitle-color: var(--text-muted);
    --hero-badge-bg: rgba(232, 93, 4, 0.07);
    --hero-badge-border: rgba(232, 93, 4, 0.18);
    --hero-badge-color: var(--primary-color);
}

[data-theme="dark"] {
    --bg-color: #080d1a;
    --bg-light: #0f172a;
    --card-bg: #0f172a;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border-color: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.04);
    --glass-bg: rgba(8, 13, 26, 0.85);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow-premium: 0 20px 60px -15px rgba(0,0,0,0.5);
    --gradient-hero: linear-gradient(135deg, #080d1a 0%, #0f172a 100%);

    /* Hero colors in dark mode */
    --hero-title-color: #ffffff;
    --hero-subtitle-color: rgba(255,255,255,0.65);
    --hero-badge-bg: rgba(255,255,255,0.1);
    --hero-badge-border: rgba(255,255,255,0.15);
    --hero-badge-color: #ffffff;
}

/* Logo toggling classes based on theme */
.logo-light {
    display: none !important;
}
.logo-dark {
    display: block !important;
}

[data-theme="dark"] .logo-light {
    display: block !important;
}
[data-theme="dark"] .logo-dark {
    display: none !important;
}

/* Dark Theme Bootstrap Utility Overrides */
[data-theme="dark"] .bg-light {
    background-color: var(--bg-light) !important;
}

[data-theme="dark"] .bg-white {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .text-dark {
    color: var(--text-color) !important;
}

[data-theme="dark"] .border {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .border-top {
    border-top-color: var(--border-color) !important;
}

[data-theme="dark"] .border-bottom {
    border-bottom-color: var(--border-color) !important;
}

[data-theme="dark"] .border-end {
    border-right-color: var(--border-color) !important;
}

[data-theme="dark"] .border-start {
    border-left-color: var(--border-color) !important;
}

[data-theme="dark"] .accordion-button {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
}

[data-theme="dark"] .accordion-button::after {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--bg-light) !important;
    color: var(--accent-color) !important;
}

[data-theme="dark"] .accordion-item {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .accordion-body {
    background-color: var(--bg-light) !important;
    color: var(--text-muted) !important;
}

[data-theme="dark"] .card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

/* ============================================
   BASE & TYPOGRAPHY
   ============================================ */
* { box-sizing: border-box; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a { transition: var(--transition-fast); }

img { max-width: 100%; height: auto; }

/* ============================================
   GRADIENT & UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-dark { background: var(--gradient-dark) !important; }
.bg-gradient-hero { background: var(--gradient-hero) !important; }
.bg-gradient-subtle { background: var(--gradient-subtle) !important; }

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

.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3.5rem 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-gradient {
    background: var(--gradient-primary);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-dark);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-gradient:hover::before { opacity: 1; }

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,86,214,0.35);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   TOP INFO BAR
   ============================================ */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1050;
    position: relative;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-bar a:hover { color: var(--accent-color); }

.top-bar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 12px;
    transition: var(--transition-fast);
}

.top-bar .social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* ============================================
   MAIN HEADER & NAVBAR
   ============================================ */
.site-header {
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
    background: var(--bg-color);
    z-index: 1040;
}

.site-header.fixed-top {
    position: sticky;
    top: 0;
}

.site-header.scrolled {
    background-color: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .site-header.scrolled {
    background-color: rgba(0, 12, 36, 0.92) !important;
}

.site-header .navbar {
    padding: 0;
}

.site-header .nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    padding: 1.1rem 1rem !important;
    transition: var(--transition-fast);
    letter-spacing: 0.01em;
    position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--primary-color);
}

.site-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
}

/* ============================================
   MEGA MENU — WebFX Style
   ============================================ */
.megamenu {
    position: static;
}

.megamenu > .nav-link .bi-chevron-down {
    font-size: 10px;
    margin-left: 4px;
    transition: var(--transition-fast);
}

.megamenu:hover > .nav-link .bi-chevron-down {
    transform: rotate(180deg);
}

.megamenu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-color);
    border: none;
    border-top: 3px solid;
    border-image: var(--gradient-primary) 1;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    padding: 0;
    z-index: 1050;
}

.megamenu-dropdown.show,
.megamenu:hover .megamenu-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.megamenu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
}

/* Mega menu columns */
.megamenu-col {
    padding: 0 1rem;
}

.megamenu-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.megamenu-col-title .mm-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.megamenu-col-title .mm-icon.blue { background: #dbeafe; color: #2563eb; }
.megamenu-col-title .mm-icon.green { background: #d1fae5; color: #059669; }
.megamenu-col-title .mm-icon.purple { background: #ede9fe; color: #7c3aed; }
.megamenu-col-title .mm-icon.orange { background: #ffedd5; color: #ea580c; }
.megamenu-col-title .mm-icon.pink { background: #fce7f3; color: #db2777; }
.megamenu-col-title .mm-icon.teal { background: #ccfbf1; color: #0d9488; }
.megamenu-col-title .mm-icon.yellow { background: #fef3c7; color: #d97706; }

[data-theme="dark"] .megamenu-col-title .mm-icon.blue { background: rgba(37,99,235,0.2); }
[data-theme="dark"] .megamenu-col-title .mm-icon.green { background: rgba(5,150,105,0.2); }
[data-theme="dark"] .megamenu-col-title .mm-icon.purple { background: rgba(124,58,237,0.2); }
[data-theme="dark"] .megamenu-col-title .mm-icon.orange { background: rgba(234,88,12,0.2); }
[data-theme="dark"] .megamenu-col-title .mm-icon.pink { background: rgba(219,39,119,0.2); }
[data-theme="dark"] .megamenu-col-title .mm-icon.teal { background: rgba(13,148,136,0.2); }

.megamenu-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.megamenu-list li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.megamenu-list li a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.25s ease;
    flex-shrink: 0;
}

.megamenu-list li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.megamenu-list li a:hover::before {
    width: 12px;
}

/* Mega Menu Featured Panel */
.megamenu-featured {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .megamenu-featured {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.megamenu-featured-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.megamenu-featured .stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 20px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.megamenu-featured .stat-badge small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
}

.megamenu-featured h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.megamenu-featured p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.megamenu-featured .btn {
    font-size: 13px;
    padding: 8px 20px;
    margin-top: auto;
}

/* About dropdown (standard) */
.dropdown-menu.about-dropdown {
    min-width: 280px;
    border: none;
    border-top: 3px solid;
    border-image: var(--gradient-primary) 1;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    padding: 1rem 0;
    background: var(--bg-color);
}

.dropdown-menu.about-dropdown .dropdown-item {
    padding: 0.5rem 1.25rem;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.dropdown-menu.about-dropdown .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-menu.about-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--primary-light);
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(0,86,214,0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background: var(--gradient-hero);
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(24,209,209,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,86,214,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hero-badge-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--hero-badge-border);
    color: var(--hero-badge-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--hero-title-color);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.4;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--hero-subtitle-color);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
}

.hero-floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatUp 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 15%;
    left: -30px;
}

.hero-floating-card.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

.hero-floating-card .fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.hero-floating-card .fc-icon.green { background: var(--success-color); }
.hero-floating-card .fc-icon.blue { background: var(--primary-color); }
.hero-floating-card .fc-icon.orange { background: var(--warning-color); }

.hero-floating-card .fc-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}

.hero-floating-card .fc-text strong {
    display: block;
    font-size: 16px;
    color: var(--text-color);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    padding: 1.5rem 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.trust-bar .trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.5;
    transition: var(--transition-fast);
    padding: 0.5rem;
}

.trust-bar .trust-item:hover { opacity: 1; }

.trust-bar .trust-item i {
    font-size: 28px;
    color: var(--text-muted);
}

.trust-bar .trust-item span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 26px;
    color: white;
    background: var(--gradient-primary);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICE CARDS WITH IMAGES
   ============================================ */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(0,86,214,0.2);
}

.service-card .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.service-card .card-img-overlay-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0, 86, 214, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .service-icon-box {
    background: rgba(24, 209, 209, 0.1);
    color: var(--accent-color);
}

.glass-card:hover .service-icon-box,
.service-card:hover .service-icon-box {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(360deg);
}

/* ============================================
   PORTFOLIO / WORK SECTION
   ============================================ */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-card .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,59,142,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card .portfolio-overlay h5 {
    color: white;
    font-size: 18px;
    margin-bottom: 4px;
}

.portfolio-card .portfolio-overlay span {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-smooth);
    height: 100%;
}

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

.testimonial-card .quote-icon {
    font-size: 36px;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 0.75rem;
}

.testimonial-card .quote-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.testimonial-card .client-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-card .client-role {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.blog-card .blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card .blog-body {
    padding: 1.5rem;
}

.blog-card .blog-category {
    display: inline-block;
    background: rgba(0,86,214,0.08);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.blog-card .blog-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.blog-card .blog-title a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-card .blog-title a:hover { color: var(--primary-color); }

.blog-card .blog-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: var(--gradient-hero);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/cta-bg.jpg') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.custom-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
}

.custom-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.custom-breadcrumb a:hover { color: var(--accent-color); }

/* ============================================
   PAGE HERO BANNERS (Interior pages)
   ============================================ */
.page-hero {
    position: relative;
    padding: 4rem 0;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
}

.page-hero .hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(24,209,209,0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,86,214,0.06);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   FUNNEL SECTION
   ============================================ */
.funnel-stage {
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.funnel-stage:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.funnel-stage:nth-child(2) { width: 92%; margin-left: 4%; border-left-color: var(--accent-color); }
.funnel-stage:nth-child(3) { width: 84%; margin-left: 8%; border-left-color: var(--primary-dark); }
.funnel-stage:nth-child(4) { width: 76%; margin-left: 12%; border-left-color: var(--success-color); }

/* ============================================
   ROI CALCULATOR
   ============================================ */
.calculator-card {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle-btn {
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    transition: var(--transition-smooth);
    padding: 4px;
}

.theme-toggle-btn:hover {
    color: var(--accent-color);
    transform: rotate(20deg);
}

/* ============================================
   FLOATING WIDGETS
   ============================================ */
.floating-widgets {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-whatsapp { background-color: #25D366; }
.btn-phone-float { background-color: var(--primary-color); }

.btn-proposal-sticky {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0,86,214,0.3);
}

/* ============================================
   MODALS
   ============================================ */
.premium-modal .modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
}

/* ============================================
   BEFORE / AFTER CASE STUDIES
   ============================================ */
.before-after-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.before-after-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}

.before-after-img.after {
    width: 50%;
    border-right: 3px solid var(--accent-color);
}

.before-after-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%; height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 2;
    cursor: ew-resize;
}

.before-after-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 4px;
    height: 400px;
    background: var(--accent-color);
    cursor: ew-resize;
}

.before-after-label {
    position: absolute;
    bottom: 16px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.before-after-label.before-lbl { right: 16px; }
.before-after-label.after-lbl { left: 16px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-light);
    color: var(--text-muted);
    padding-top: 4rem;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-newsletter {
    background: linear-gradient(135deg, #f0f4f8 0%, #e6f0fa 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 86, 214, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-newsletter .btn-subscribe {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    transition: var(--transition-fast);
}

.footer-newsletter .btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

.site-footer h5 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 1.25rem;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.site-footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: inline-block;
}

.site-footer .footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.site-footer .contact-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.site-footer .contact-link:hover {
    color: var(--primary-color) !important;
}

.site-footer .map-container {
    border: 1px solid var(--border-color);
    opacity: 0.95;
    transition: var(--transition-smooth);
}

.site-footer .map-container:hover {
    opacity: 1;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    font-size: 13px;
    color: var(--text-light);
}

.footer-bottom .footer-bottom-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom .footer-bottom-link:hover {
    color: var(--primary-color);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition-smooth);
    max-height: 36px;
    object-fit: contain;
}

.trust-badges img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

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

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

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

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

.animate-pulse { animation: pulse 2s infinite; }
.animate-float { animation: floatUp 3s ease-in-out infinite; }

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 991.98px) {
    .top-bar { display: none !important; }
    
    .site-header {
        padding: 0.5rem 0 !important;
    }
    
    .megamenu-dropdown {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-top: none !important;
        border-image: none !important;
        padding: 0 !important;
        background: var(--bg-light) !important;
        border-radius: var(--radius-md) !important;
        margin: 0.25rem 0;
    }
    
    .megamenu-inner {
        padding: 1rem !important;
    }
    
    .megamenu-inner .row > [class*="col-"] {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .megamenu-featured {
        display: none;
    }
    
    .megamenu-col-title {
        font-size: 13px;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .megamenu-list li a {
        font-size: 13px;
        padding: 4px 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .stat-card .stat-number { font-size: 1.75rem; }
    
    .btn-proposal-sticky { display: none !important; }
    
    .portfolio-card { height: 220px; }
}

@media (max-width: 575.98px) {
    .section-padding { padding: 3rem 0; }
    
    .hero-section { padding: 2.5rem 0; }
    
    .hero-title { font-size: 1.75rem; }
    
    body { font-size: 14px; }
}

/* ============================================
   ADMIN (legacy, kept for reference)
   ============================================ */
.admin-sidebar {
    background-color: #0f172a;
    min-height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
