/*
Theme Name: BTC Technologies
Theme URI: https://btc-technologies.com/
Author: BTC Technologies
Author URI: https://btc-technologies.com/
Description: A premium, dark-themed responsive WordPress theme for BTC Technologies IT company.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: btc-theme
*/

/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-surface: #0f141c;
    --bg-card: rgba(18, 26, 38, 0.65);
    --bg-card-hover: rgba(26, 37, 54, 0.85);
    
    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --accent-orange: #f2994a;
    --accent-gold: #f2c94c;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 242, 254, 0.25);
    
    --glow-cyan: rgba(0, 242, 254, 0.15);
    --glow-orange: rgba(242, 153, 74, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Layout */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-width: 1240px;
}

/* ==========================================================================
   Base resets & Scrollbars
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection style */
::selection {
    background-color: rgba(0, 242, 254, 0.25);
    color: #ffffff;
}

/* Premium Dark Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ==========================================================================
   Typography & Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Reusable UI Components
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px -10px var(--glow-cyan);
    transform: translateY(-4px);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 500;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: var(--bg-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px var(--glow-cyan);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px auto;
}

.section-tag {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    margin: 0 auto 24px auto;
    border-radius: 2px;
}

.section-divider-left {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
    margin: 0 0 24px 0;
    border-radius: 2px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-medium);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    letter-spacing: -0.03em;
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 4px;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Desktop Language Selector */
.lang-selector-wrapper {
    position: relative;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.lang-globe-icon {
    width: 14px;
    height: 14px;
}

.lang-chevron-icon {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.lang-selector.active .lang-chevron-icon {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 140px;
    background: rgba(15, 20, 28, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 0;
    list-style: none;
    z-index: 1010;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition-medium);
}

.lang-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
    text-align: left;
}

.lang-dropdown li:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.lang-dropdown li.active {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    font-weight: 600;
}

/* Mobile Language Selector */
.mobile-lang-selector {
    display: none;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.mobile-lang-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.mobile-lang-label svg {
    width: 14px;
    height: 14px;
}

.mobile-lang-options {
    display: flex;
    gap: 8px;
    width: 100%;
}

.mobile-lang-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.mobile-lang-btn.active {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    border-color: transparent;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 130px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 153, 74, 0.1);
    border: 1px solid rgba(242, 153, 74, 0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-orange);
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(242, 153, 74, 0.05);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Orb Background Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-orb-container {
    position: relative;
    width: 380px;
    height: 380px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: drift 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: var(--primary-cyan);
    top: -20px;
    left: -20px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--primary-blue);
    bottom: -10px;
    right: -20px;
    animation-delay: -3s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}

.visual-card {
    position: relative;
    z-index: 3;
    width: 100%;
    background: rgba(13, 19, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-md);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

/* Code editor styling */
.code-header {
    background: rgba(7, 9, 14, 0.9);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.code-header .red { background-color: #ef4444; }
.code-header .yellow { background-color: #f59e0b; }
.code-header .green { background-color: #10b981; }

.code-title {
    margin-left: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.code-snippet {
    padding: 24px;
    font-family: 'Consolas', 'Fira Code', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.code-snippet span.key {
    color: var(--primary-cyan);
}

.code-snippet span.val {
    color: var(--accent-orange);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(79, 172, 254, 0.1) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.service-icon {
    width: 26px;
    height: 26px;
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.service-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 3px 8px;
    color: var(--text-secondary);
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    border-color: transparent;
    transform: rotateY(15deg);
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
    padding: 64px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-orange);
    margin-bottom: 12px;
    opacity: 0.85;
}

.stat-number, .stat-number-wrapper {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #ffffff;
}

.stat-number-wrapper {
    display: inline-flex;
    justify-content: center;
}

.stat-unit {
    color: var(--accent-orange);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(185deg, transparent 50%, rgba(7, 9, 14, 0.9) 100%);
    z-index: 2;
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.8);
}

/* Glowing dot grid element */
.interactive-grid-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    z-index: 1;
}

.glow-point {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--glow-orange);
    filter: blur(40px);
    border-radius: 50%;
    z-index: 1;
    bottom: -30px;
    right: -30px;
}

.about-content {
    padding-left: 16px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: flex;
    gap: 24px;
}

.value-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    opacity: 0.8;
}

.value-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.value-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Tech Stack Tabs
   ========================================================================== */
.tech-stack-section {
    padding: 120px 0;
    background-color: var(--bg-surface);
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 10px 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.tech-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-grid.active {
    display: grid;
    animation: fadeIn var(--transition-slow) forwards;
}

.tech-item {
    padding: 32px 24px;
    text-align: center;
}

.tech-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px auto;
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon svg {
    width: 20px;
    height: 20px;
}

.tech-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.tech-item:hover .tech-icon {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonials-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px; /* Base container height to prevent layout shifts */
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 48px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    transform: translateY(0);
}

.quote-icon {
    color: var(--accent-orange);
    opacity: 0.3;
    margin-bottom: 16px;
}

.quote-icon svg {
    width: 36px;
    height: 36px;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 28px;
    font-style: italic;
    font-weight: 300;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    color: var(--bg-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.client-title {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #1e293b;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot-btn:hover {
    background-color: #475569;
}

.dot-btn.active {
    background-color: var(--accent-orange);
    width: 24px;
    border-radius: 100px;
}

/* ==========================================================================
   Contact Section & Interactive Forms
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
}

.info-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.info-text span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.info-text a {
    font-size: 1.05rem;
    font-weight: 500;
}

.info-text a:hover {
    color: var(--accent-orange);
}

.info-text p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Consultation Form Styles */
.contact-form-block {
    padding: 44px;
    border-radius: var(--radius-lg);
    background: rgba(18, 26, 38, 0.4);
}

.contact-form-block:hover {
    box-shadow: 0 15px 35px -10px var(--glow-orange);
    border-color: rgba(242, 153, 74, 0.2);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    background: rgba(7, 9, 14, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-group select:invalid {
    color: var(--text-muted);
}

.form-group select option {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

/* Floating labels */
.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

/* When input is focused or not empty, float the label up */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-orange);
    background: #0f1521;
    padding: 0 6px;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(242, 153, 74, 0.1);
}

/* Form validation feedback */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
}

.form-group.error label {
    color: #ef4444;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 6px;
    font-weight: 500;
}

.form-group.error .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    gap: 12px;
}

/* Loader Spinner inside submit button */
.loader-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(7, 9, 14, 0.3);
    border-radius: 50%;
    border-top-color: var(--bg-dark);
    animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.brand-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.newsletter-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
}

.btn-newsletter {
    padding: 12px;
    border-radius: var(--radius-sm);
    min-width: 44px;
}

.newsletter-success {
    display: none;
    color: var(--primary-cyan);
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 12px;
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

.separator {
    color: var(--border-color);
}

/* ==========================================================================
   Modals & Alerts
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.modal-card {
    max-width: 480px;
    width: 100%;
    padding: 48px;
    text-align: center;
    transform: scale(0.9);
    transition: all var(--transition-medium);
    border-color: rgba(0, 242, 254, 0.2);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
    box-shadow: 0 25px 50px -12px rgba(0, 242, 254, 0.25);
}

.modal-icon-success {
    width: 64px;
    height: 64px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    margin: 0 auto 24px auto;
}

.modal-icon-success svg {
    width: 32px;
    height: 32px;
}

.modal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.modal-card button {
    width: 100%;
}

/* ==========================================================================
   CSS Animations
   ========================================================================== */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 153, 74, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(242, 153, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 153, 74, 0); }
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 30px) scale(0.9); }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Notebooks & Desktops (Under 1200px) */
@media (max-width: 1199px) {
    :root {
        --container-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .visual-orb-container {
        width: 320px;
        height: 320px;
    }
    
    .about-image {
        height: 400px;
    }
}

/* Tablets (Under 992px) */
@media (max-width: 991px) {
    :root {
        --container-width: 720px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
        padding-bottom: 64px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        order: 2;
    }
    
    .about-content {
        order: 1;
        padding-left: 0;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Devices & Landscape (Under 768px) */
@media (max-width: 767px) {
    :root {
        --container-width: 540px;
    }
    
    /* Navigation burger menu system toggle */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(7, 9, 14, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding: 100px 30px 40px 30px;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-lang-selector {
        display: block;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    /* Burger button active transforms */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-cta {
        display: none; /* Hide top CTA in mobile header */
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .testimonials-slider {
        height: 420px; /* Expand height for mobile paragraph wrapping */
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .contact-form-block {
        padding: 24px;
    }
}

/* Extra Small Phones (Under 480px) */
@media (max-width: 479px) {
    :root {
        --container-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item::after {
        display: none !important;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   Completed Case Studies Styles
   ========================================================================== */
.case-studies-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
    border-top: 1px solid var(--border-color);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

@media (max-width: 991px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.case-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.case-client {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-orange);
    letter-spacing: 0.05em;
}

.case-metric-badge {
    font-size: 0.8rem;
    background: rgba(242, 153, 74, 0.1);
    border: 1px solid rgba(242, 153, 74, 0.2);
    color: var(--accent-orange);
    border-radius: 4px;
    padding: 4px 10px;
    font-family: var(--font-display);
    font-weight: 600;
}

.case-card-title {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: var(--font-display);
}

.case-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.case-card-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
}

.case-card-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.case-card-link:hover {
    color: #ffffff;
}

.case-card-link:hover .link-icon {
    transform: translateX(4px);
}

.case-card-link .link-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

/* Case Study Template Page Details */
.case-hero {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
}

.case-title {
    font-size: 3rem;
    line-height: 1.15;
    font-family: var(--font-display);
    color: #ffffff;
    margin-top: 12px;
    margin-bottom: 20px;
}

.case-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.case-content-section {
    background-color: var(--bg-dark);
}

.case-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.case-details-col {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.case-details-col h1,
.case-details-col h2,
.case-details-col h3,
.case-details-col h4,
.case-details-col h5,
.case-details-col h6 {
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-weight: 600;
}

.case-details-col h1 { font-size: 2.2rem; }
.case-details-col h2 { font-size: 1.8rem; }
.case-details-col h3 { font-size: 1.5rem; }
.case-details-col h4 { font-size: 1.25rem; }

.case-details-col h1:first-of-type,
.case-details-col h2:first-of-type,
.case-details-col h3:first-of-type,
.case-details-col h4:first-of-type,
.case-details-col h5:first-of-type,
.case-details-col h6:first-of-type {
    margin-top: 0;
}

.case-details-col p {
    margin-bottom: 24px;
}

.case-details-col img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.case-details-col ul,
.case-details-col ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.case-details-col li {
    margin-bottom: 8px;
}

.case-details-col a {
    color: var(--primary-cyan);
    text-decoration: underline;
}

.case-details-col a:hover {
    color: #ffffff;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.meta-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-box {
    padding: 4px 0;
}

.case-search-tag {
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 50px;
    padding: 6px 14px;
    color: var(--primary-cyan) !important;
    transition: all var(--transition-fast);
}

.case-search-tag:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.related-cases-section {
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
}

.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Responsive Case Study Layout Helper Classes */
.case-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


