/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-color);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

p {
    font-size: 1.125rem;
  margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
  margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

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

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
  position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-line-mask {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 20px 0;
    overflow: hidden;
}

.loader-line {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

.loader-text {
    color: white;
    font-size: 1.25rem;
  font-weight: 600;
    margin-top: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loading {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.brand-text {
    color: white;
}

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

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

























/* ===== DESKTOP NAVIGATION ===== */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* ===== MOBILE MENU ===== */
.navbar-toggler {
    display: none;
    border: none;
    padding: 0.5rem;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* Active state - X icon */
.navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler.active .navbar-toggler-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile menu */
.navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    width: 100%;
}

.navbar-menu.show {
    display: block !important;
}

/* Force mobile menu to be visible when show class is present */
.navbar-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-menu .navbar-nav {
    padding: 1rem;
}

.navbar-menu .nav-link {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-menu .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.navbar-menu .nav-link:last-child {
    border-bottom: none;
}

/* Responsive navigation */
@media (max-width: 991.98px) {
    .navbar-nav.ms-auto {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }
    
    .navbar-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-menu .navbar-nav {
        padding: 1rem;
        margin: 0;
    }
    
    .navbar-menu .nav-link {
        display: block;
        padding: 1rem;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .navbar-menu .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 1.5rem;
    }
    
    .navbar-menu .nav-link:last-child {
        border-bottom: none;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-menu {
        display: none !important;
    }
    
    .navbar-nav.ms-auto {
        display: flex !important;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
    min-height: 100vh;
    background: var(--dark-color);
    display: flex;
    align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-content {
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
  margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
  margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
    height: 500px;
}

.floating-card {
  position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
  color: white;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.875rem;
}

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

/* ===== SECTIONS ===== */
section {
    padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: white;
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  height: 100%;
    border: 1px solid var(--border-color);
}

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

.service-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.service-card.featured::before {
    content: '★ Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.service-icon .icon {
    font-size: 2rem;
}

.service-title {
  margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.service-features {
  list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
  position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
    color: var(--secondary-color);
  font-weight: bold;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    background: var(--light-color);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
  background: white;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.portfolio-item {
    border-radius: var(--border-radius-lg);
  overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.portfolio-image {
  position: relative;
  overflow: hidden;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
  opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-info {
    text-align: center;
  color: white;
    padding: 1rem;
}

.portfolio-info h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-info p {
  margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: white;
}

.about-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-description {
  margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.challenge-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.stat-row .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 80px;
}

.stat-row .stat-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Complexity Diagram */
.complexity-diagram {
  position: relative;
    width: 100%;
    height: 400px;
  display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-center {
  position: absolute;
    z-index: 10;
    text-align: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.diagram-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.diagram-text {
    font-size: 0.875rem;
  font-weight: 600;
}

.complexity-layer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: rotate 20s linear infinite;
}

.layer-1 {
    width: 200px;
    height: 200px;
    animation-duration: 25s;
}

.layer-2 {
    width: 280px;
    height: 280px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.layer-3 {
    width: 360px;
    height: 360px;
    animation-duration: 35s;
}

.layer-item {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.layer-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

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

/* Clarity Transformation */
.clarity-transformation {
    display: flex;
  align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
}

.transformation-before,
.transformation-after {
    text-align: center;
    flex: 1;
}

.transformation-before h5,
.transformation-after h5 {
    margin-bottom: 1rem;
    color: var(--text-primary);
  font-weight: 600;
}

.transformation-before h5 {
  color: var(--accent-color);
}

.transformation-after h5 {
    color: var(--secondary-color);
}

.confusion-elements,
.clarity-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.confusion-item,
.clarity-item {
    font-size: 2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.confusion-item {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.clarity-item {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.confusion-item:hover,
.clarity-item:hover {
    transform: scale(1.1);
}

.transformation-arrow {
  display: flex;
    flex-direction: column;
  align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
}

.arrow-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
  text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Solution Features */
.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.solution-features .feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.solution-features .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.solution-features .feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.solution-features .feature-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Team Section */
.team-section {
    background: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.team-section h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
  text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.member-avatar {
    font-size: 4rem;
  margin-bottom: 1.5rem;
}

.member-info h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.member-title {
    color: var(--primary-color);
  font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Responsive adjustments for About section */
@media (max-width: 768px) {
    .complexity-diagram {
        height: 300px;
    }
    
    .layer-1 { width: 150px; height: 150px; }
    .layer-2 { width: 220px; height: 220px; }
    .layer-3 { width: 280px; height: 280px; }
    
    .clarity-transformation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-stats .stat-row {
        flex-direction: column;
  text-align: center;
        gap: 0.5rem;
    }
    
    .stat-row .stat-number {
        min-width: auto;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--light-color);
}

.contact-form-wrapper {
  background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand h4 {
  color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer h5 {
  color: white;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.legal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
  color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.legal-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== BACK TO TOP ===== */
  .back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
  color: white;
    border: none;
  border-radius: 50%;
    cursor: pointer;
    display: none;
  align-items: center;
  justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.show {
    display: flex;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
  position: relative;
        margin-bottom: 1rem;
    }
    
    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }
    
    .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
  width: 100%;
        max-width: 200px;
    }
}

/* ===== ANIMATIONS ===== */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__delay-1s {
    animation-delay: 0.3s;
}

.animate__delay-2s {
    animation-delay: 0.6s;
}

.animate__delay-3s {
    animation-delay: 0.9s;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== LEGAL PAGES STYLES ===== */
.content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.content-section h1 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.content-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.content-section h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.content-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Cookie Categories */
.cookie-category,
.data-category,
.service-category {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.cookie-category h3,
.data-category h3,
.service-category h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cookie-category ul,
.data-category ul,
.service-category ul {
    margin-bottom: 0;
}

/* Company Info */
.company-info {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.company-info p {
    margin-bottom: 0;
    line-height: 1.8;
}

/* Browser Settings */
.browser-settings {
    background: var(--light-color);
    padding: 1.5rem;
  border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.browser-settings h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.browser-settings ul {
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    background: var(--light-color);
    padding: 1.5rem;
  border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .content-section h1 {
        font-size: 1.75rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .cookie-category,
    .data-category,
    .service-category,
    .company-info,
    .browser-settings,
    .contact-info {
        padding: 1rem;
    }
}