/* Reset and Base Styles - Meta Humans LTD */
/* Modern CSS with enhanced accessibility and performance */
/* Cross-browser compatibility optimized */

/* CSS Custom Properties for theming with fallbacks */
:root {
    /* Color System */
    --primary-color: #00d4ff;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #a1a1aa;
    --border-color: #1f1f1f;
    
    /* Enhanced color palette with semantic naming */
    --primary-light: #33ddff;
    --primary-dark: #00a3cc;
    --secondary-light: #9f67ff;
    --secondary-dark: #5b21b6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-primary-hover: linear-gradient(135deg, #33ddff 0%, #9f67ff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 8px 32px rgba(0, 212, 255, 0.2);
    --shadow-secondary: 0 8px 32px rgba(124, 58, 237, 0.2);
    
    /* Spacing System */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-family-primary: 'Rajdhani', sans-serif;
    --font-family-heading: 'Orbitron', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Modern CSS Reset with Cross-Browser Compatibility */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Improved focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    /* Fallback for older browsers */
    outline: 2px solid #00d4ff;
}

/* Cross-browser compatibility fixes */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure consistent rendering across browsers */
body {
    -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: var(--z-tooltip);
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #a1a1aa;
    --border-color: #1f1f1f;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Enhanced color palette */
    --primary-light: #33ddff;
    --primary-dark: #00a3cc;
    --secondary-light: #9f67ff;
    --secondary-dark: #5b21b6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Enhanced gradients */
    --gradient-primary-hover: linear-gradient(135deg, #33ddff 0%, #9f67ff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    
    /* Enhanced shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 8px 32px rgba(0, 212, 255, 0.2);
    --shadow-secondary: 0 8px 32px rgba(124, 58, 237, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px; /* Increased height to account for internal padding */
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0.3;
    pointer-events: none;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    position: relative;
    z-index: 2;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--spacing-md) var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    gap: var(--spacing-xl);
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    background: rgba(0, 212, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-menu:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
}

.hamburger-menu span {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-slogan {
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Removed conflicting nav-menu rule - using the one below */

/* Removed conflicting nav-menu a rules - using the ones below */

/* Hero Section */
.hero {
    min-height: calc(100vh - 120px); /* Account for fixed header height */
    display: flex;
    align-items: center;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
    margin-top: 120px; /* Account for fixed header height */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary);
    background: var(--gradient-primary-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-light);
}

/* Floating Elements Animation */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-text);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--dark-bg);
}

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

.about-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.portfolio-item h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.portfolio-item p {
    color: var(--gray-text);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--darker-bg);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

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

.service-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn.telegram {
    background: #0088cc;
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    z-index: 1;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.footer-logo h4 {
    margin: 0;
    font-size: 1.3rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.footer-section p,
.footer-section li {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-text);
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-item i {
    width: 16px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--gray-text);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Development Notice */
.development-notice {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 0;
    position: relative;
    z-index: 1001;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.development-notice .notice-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
}

.development-notice i {
    font-size: 20px;
    color: #fff;
}

.development-notice p {
    margin: 0;
    line-height: 1.5;
}

/* Service Blocks Section */
.service-blocks {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    margin-top: 120px; /* Account for fixed header height */
}

.service-blocks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.service-block {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-block:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--shadow-primary);
    background: rgba(26, 26, 46, 0.8);
}

.block-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.block-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-full);
}

.service-block:hover .block-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

.service-block:hover .block-icon::before {
    opacity: 0.1;
}

.block-icon i {
    font-size: 32px;
    color: #00d4ff;
    transition: all 0.4s ease;
}

.service-block:hover .block-icon i {
    color: #8b5cf6;
    transform: scale(1.1);
}

.service-block h3 {
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-block p {
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
}

/* Call to Action Block */
.cta-block {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    z-index: -1;
}

.cta-content h2 {
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content p {
    color: #b0b0b0;
    font-size: 18px;
    margin-bottom: 30px;
    font-family: 'Rajdhani', sans-serif;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

/* Back to Top Arrow */
.back-to-top {
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00d4ff, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(50%);
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(45%);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5);
}

/* Mobile Navigation Menu - Removed, replaced with sidebar */

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 10000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar-menu.active {
    left: 0;
}

/* Sidebar Header */
.sidebar-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.sidebar-title h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.sidebar-title p {
    color: #888;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

.sidebar-slogan {
    font-family: var(--font-family-primary);
    font-size: 0.85rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 6px;
}

/* Sidebar Navigation */
.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 1.5rem 0;
    flex: 1;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 1rem;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-icon i {
    font-size: 1.1rem;
    color: #888;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover .nav-icon {
    background: rgba(0, 212, 255, 0.2);
}

.sidebar-nav a:hover .nav-icon i {
    color: var(--primary-color);
}

.nav-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.nav-subtitle {
    font-size: 0.8rem;
    color: #888;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover .nav-title {
    color: var(--primary-color);
}

.sidebar-nav a:hover .nav-subtitle {
    color: #aaa;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #333;
}

.footer-divider {
    height: 1px;
    background: #333;
    margin-bottom: 1rem;
}

.footer-content p {
    color: #888;
    font-size: 0.8rem;
    margin: 0.25rem 0;
    text-align: center;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

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

/* Navigation link styles cleaned up */

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Hamburger menu always visible */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .nav-logo h1 {
        font-size: 1.4rem;
    }
    
    /* Development Notice */
    .development-notice .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .development-notice p {
        font-size: 14px;
    }
    
    /* Service Blocks */
    .service-blocks {
        padding: 60px 0;
    }
    
    .blocks-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .service-block {
        padding: 30px 20px;
    }
    
    .service-block h3 {
        font-size: 20px;
    }
    
    .service-block p {
        font-size: 15px;
    }
    
    .block-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .block-icon i {
        font-size: 24px;
    }
    
    /* CTA Block */
    .cta-block {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-logo img {
        height: 32px;
    }
}

/* Client Portal Link Styling */
.client-link {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.client-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Admin Link Styling */
.admin-link {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* ========================================
   CROSS-BROWSER COMPATIBILITY FIXES
   ======================================== */

/* Internet Explorer 11+ Support */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE11 specific fixes */
    .header {
        background: rgba(10, 10, 10, 0.95);
    }
    
    .service-card::before,
    .service-block::before,
    .cta-block::before {
        display: none;
    }
    
    .gradient-text {
        background: #00d4ff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* Fix for CSS Grid in IE11 */
    .services-grid,
    .portfolio-grid,
    .blocks-grid,
    .footer-content {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr 1fr;
    }
    
    .hero-content,
    .contact-content {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr;
    }
}

/* Safari-specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    _::-webkit-full-page-media, _:future, :root .header {
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
    
    .service-card,
    .service-block {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    .header {
        background: rgba(10, 10, 10, 0.95);
    }
    
    .btn::before {
        -moz-transform: scale(0);
        transform: scale(0);
    }
    
    .btn:hover::before {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

/* Edge Legacy Support */
@supports (-ms-ime-align: auto) {
    .header {
        background: rgba(10, 10, 10, 0.95);
    }
    
    .gradient-text {
        background: #00d4ff;
        color: #00d4ff;
    }
}

/* Mobile Safari fixes */
@supports (-webkit-touch-callout: none) {
    .header {
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
    
    /* Fix for viewport height issues on mobile Safari */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* Chrome/Safari WebKit fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .service-card:hover,
    .service-block:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* High DPI display fixes */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo img,
    .sidebar-logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles for cross-browser consistency */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .header,
    .sidebar-menu,
    .back-to-top,
    .hamburger-menu {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .service-card,
    .service-block {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .element {
        animation: none !important;
    }
    
    .btn::before {
        transition: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #000000;
        --darker-bg: #000000;
        --border-color: #2a2a2a;
    }
}

/* Light mode support (if needed) */
@media (prefers-color-scheme: light) {
    :root {
        --dark-bg: #ffffff;
        --darker-bg: #f5f5f5;
        --light-text: #000000;
        --gray-text: #666666;
        --border-color: #e0e0e0;
    }
}

/* Focus visible for better accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Ensure consistent button behavior across browsers */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

/* Fix for flexbox issues in older browsers */
.flex-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* Fix for grid issues in older browsers */
.grid-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Ensure consistent font rendering */
body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Slogan Styles for Client and Login Pages */
.login-slogan {
    font-family: var(--font-family-primary);
    font-size: 0.95rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 10px;
}

.client-slogan {
    font-family: var(--font-family-primary);
    font-size: 0.85rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 6px;
}

/* Responsive adjustments for slogans */
@media (max-width: 768px) {
    .nav-slogan,
    .sidebar-slogan,
    .login-slogan,
    .client-slogan {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-slogan,
    .sidebar-slogan,
    .login-slogan,
    .client-slogan {
        font-size: 0.7rem;
    }
} 