/* ============================================
   LoyalByte Solutions - Premium Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Deep Navy & Electric Blue */
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --primary-glow: rgba(0, 102, 255, 0.3);
    
    /* Secondary Colors - Cyan Accent */
    --secondary: #00d4ff;
    --secondary-dark: #00b8e6;
    
    /* Neutral Colors */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --lighter: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

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

.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    color: var(--gray);
    font-size: 18px;
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 1000;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.lang-toggle:hover {
    box-shadow: var(--shadow-lg);
}

.lang-toggle i {
    font-size: 18px;
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
    background: var(--light);
    color: var(--primary);
}

.lang-option .flag {
    font-size: 18px;
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.logo-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

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

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   Scroll Progress
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s linear;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .brand-text {
    color: var(--dark);
}

.brand-accent {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--gray);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    margin-left: 10px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 520px;
}

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

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats .stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.hero-visual {
    position: relative;
}

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

.hero-image {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 20px;
    color: var(--primary);
}

.floating-card.card-1 {
    top: 15%;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-card.featured {
    background: var(--gradient-dark);
    color: var(--white);
}

.service-card.featured::before {
    background: var(--secondary);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--secondary);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--radius);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.1);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary);
}

.service-card.featured .service-icon i {
    color: var(--secondary);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.7);
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.8);
}

.service-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    font-size: 12px;
    border-radius: 50%;
}

.service-card.featured .service-features li::before {
    background: rgba(0, 212, 255, 0.2);
    color: var(--secondary);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.service-card.featured .service-link {
    color: var(--secondary);
}

.service-link i {
    transition: var(--transition);
}

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

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio {
    padding: var(--section-padding) 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    background: transparent;
    border: 2px solid var(--light);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    transition: var(--transition);
}

.portfolio-item.featured-project {
    grid-column: span 2;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.featured-project .portfolio-image {
    aspect-ratio: 21/10;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

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

.overlay-content {
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content .project-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
}

.overlay-content h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.project-link:hover {
    color: var(--secondary);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info .project-type {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.portfolio-info h4 {
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--gray);
    font-size: 14px;
}

.portfolio-cta {
    text-align: center;
}

.portfolio-cta p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--lighter);
}

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

.about-content .section-badge {
    margin-bottom: 20px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
}

.about-features .feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--radius);
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

.feature-content h4 {
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--gray);
    font-size: 14px;
}

.about-visual {
    position: relative;
}

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

.about-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.experience-badge .text {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 5px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 15px;
}

.stat-card .stat-icon i {
    font-size: 22px;
    color: var(--primary);
}

.stat-card .stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--gray);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: Georgia, serif;
    font-size: 100px;
    color: var(--light);
    line-height: 1;
}

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

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 13px;
    color: var(--gray);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content .highlight {
    color: var(--secondary);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--lighter);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-message {
    display: none;
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--lighter);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group .error-message {
    display: none;
    font-size: 12px;
    color: #dc2626;
    margin-top: 8px;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc2626;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
}

.checkbox-label input {
    width: auto;
    margin-top: 3px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading > i {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--radius);
}

.info-icon i {
    font-size: 24px;
    color: var(--primary);
}

.info-content h4 {
    margin-bottom: 5px;
}

.info-content p {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 5px;
}

.info-content span {
    font-size: 13px;
    color: var(--gray);
}

.social-connect {
    padding: 30px;
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    text-align: center;
}

.social-connect h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.footer-brand .brand-text {
    font-size: 20px;
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition);
}

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

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item.featured-project {
        grid-column: span 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark);
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 16px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--white) !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .language-selector {
        top: auto;
        bottom: 100px;
        right: 16px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.featured-project {
        grid-column: span 1;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Hide elements initially for AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

