/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d3a47;
    --secondary-color: #1a5d6f;
    --accent-color: #2d8fa8;
    --accent-light: #4ab8d4;
    --text-dark: #1a2a35;
    --text-light: #5a6c7a;
    --bg-light: #f0f4f7;
    --bg-gradient: linear-gradient(135deg, #0d3a47 0%, #1a5d6f 50%, #2d8fa8 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(13, 58, 71, 0.95) 0%, rgba(26, 93, 111, 0.85) 50%, rgba(45, 143, 168, 0.75) 100%);
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 15px rgba(13, 58, 71, 0.15);
    --shadow-lg: 0 8px 30px rgba(13, 58, 71, 0.25);
    --shadow-glow: 0 0 20px rgba(45, 143, 168, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
    position: relative;
}

/* Ensure all images stay within bounds */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Animated background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 143, 168, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Consent Banner - Google Consent Mode v2 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 3px solid var(--accent-light);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.cookie-consent-content {
    position: relative;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cookie-consent-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.cookie-consent-close {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-left: 16px;
}

.cookie-consent-close:hover {
    opacity: 1;
}

.cookie-consent-body {
    margin-bottom: 20px;
}

.cookie-consent-body p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.cookie-consent-body a {
    color: var(--accent-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-body a:hover {
    color: var(--white);
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.cookie-btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 143, 168, 0.4);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-link {
    background: transparent;
    color: var(--white);
    text-decoration: underline;
    padding: 12px 16px;
}

.cookie-btn-link:hover {
    color: var(--accent-light);
}

/* Cookie Preferences Modal */
.cookie-preferences {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.cookie-preferences.show {
    display: flex;
}

.cookie-preferences-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-preferences-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-preferences-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.cookie-preferences-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.cookie-preferences-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.cookie-preferences-close {
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cookie-preferences-close:hover {
    opacity: 1;
}

.cookie-preferences-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.cookie-preferences-intro {
    margin-bottom: 24px;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 15px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.cookie-category-info p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 14px;
}

.cookie-category-note {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    margin: 8px 0 0 0;
    padding-left: 4px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--accent-color);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: var(--accent-color);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-preferences-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cookie-policy-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-preferences-actions {
    display: flex;
    gap: 12px;
}

.cookie-preferences-actions .cookie-btn-primary {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 32px;
}

.cookie-preferences-actions .cookie-btn-primary:hover {
    background: var(--accent-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--bg-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.scrolled::after {
    opacity: 1;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    border-radius: 5px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section - Modern Fullscreen Slider Design */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout style paint;
}

/* Background Layer - Fullscreen - z-index: 1 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s;
    overflow: hidden;
    contain: layout style paint;
}

.hero .slide.active {
    opacity: 1;
    visibility: visible;
}

.hero .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.5);
    will-change: transform;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.hero .slide.active .slide-image {
    transform: scale(1);
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(13, 58, 71, 0.75) 0%, 
        rgba(26, 93, 111, 0.65) 30%,
        rgba(45, 143, 168, 0.55) 70%,
        rgba(13, 58, 71, 0.7) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Content Container - z-index: 3 */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    height: 100%;
}

.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1.618fr 1fr; /* Golden ratio */
    gap: 64px;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content - Left Column */
.hero-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-badge {
    margin-bottom: 16px;
}

.badge-text {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.5;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin: 0 0 24px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px 0;
    max-width: 620px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.hero-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 32px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    border-radius: 50%;
    color: var(--white);
    font-weight: bold;
    font-size: 11px;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-hero.btn-primary {
    background: var(--bg-gradient);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(13, 58, 71, 0.4);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(13, 58, 71, 0.5);
}

.btn-hero.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(4px);
}

/* Stats Cards - Right Column */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.stat-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.35);
}

.stat-number {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}




/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section > .container {
    position: relative;
    z-index: 1;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 30px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    width: 50px;
    height: 50px;
    border: 3px solid var(--accent-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Services Section */
.services {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(45, 143, 168, 0.03) 50%, transparent 70%);
    animation: slide 15s linear infinite;
}

@keyframes slide {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    contain: layout style paint;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0.05;
    transition: left 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    left: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: var(--bg-gradient);
    background-clip: padding-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-light);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card {
    will-change: transform;
    backface-visibility: hidden;
}

.service-icon {
    width: 100%;
    height: 240px;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(13, 58, 71, 0.2);
    transition: all 0.4s ease;
    contain: layout style paint;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    backface-visibility: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.2;
}

.service-card:hover .service-icon img {
    transform: scale(1.08);
    transition: transform 0.5s ease;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: visible;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--bg-gradient);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    z-index: -1;
}

.about-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.5s ease;
    contain: layout style paint;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--accent-light);
    border-radius: 12px;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
    backface-visibility: hidden;
    object-fit: cover;
    max-height: 500px;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    position: relative;
    padding-left: 30px;
}

.about-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-light);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process Section */
.process {
    background: var(--bg-light);
    position: relative;
}

.process::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0.3;
    transform: translateY(-50%);
}

.process-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bg-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.accordion-item.active::before {
    transform: scaleY(1);
}

.accordion-item.active {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-glow);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    transition: width 0.3s ease;
}

.accordion-header:hover::after {
    width: 100%;
}

.accordion-header:hover {
    background: linear-gradient(90deg, var(--bg-light) 0%, transparent 100%);
    padding-left: 30px;
}

.accordion-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-content p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.accordion-content {
    overflow: hidden;
}

.accordion-content img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    margin: 24px 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 58, 71, 0.2);
    transition: transform 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    display: block;
}

.accordion-content:hover img {
    transform: scale(1.02);
}

/* Industries Section */
.industries {
    position: relative;
}

.industries::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 143, 168, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.industry-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    contain: layout style paint;
    transform-style: preserve-3d;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.industry-card:hover::before {
    opacity: 0.1;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-light);
}

.industry-card > * {
    position: relative;
    z-index: 2;
}

.industry-card {
    will-change: transform;
    backface-visibility: hidden;
}

.industry-card {
    overflow: hidden;
    contain: layout style paint;
}

.industry-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(0.85) contrast(1.1);
    will-change: transform;
    backface-visibility: hidden;
}

.industry-card:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.15);
}

.industry-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    color: var(--primary-color);
}

.industry-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Quality Section */
.quality {
    position: relative;
}

.quality::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--bg-gradient);
    opacity: 0.2;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: visible;
}

.quality-text {
    position: relative;
    padding-right: 30px;
}

.quality-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

.quality-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
}

.quality-list {
    list-style: none;
    margin: 30px 0;
}

.quality-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.quality-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 20px;
    animation: checkmark 0.5s ease;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.quality-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: perspective(1000px) rotateY(3deg);
    transition: transform 0.5s ease;
    contain: layout style paint;
}

.quality-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.quality-image::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: 50%;
    opacity: 0.4;
    z-index: -1;
    animation: float 3s ease-in-out infinite;
    pointer-events: none;
}

.quality-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
    backface-visibility: hidden;
    object-fit: cover;
    max-height: 500px;
}

.quality-image:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-light);
    border-radius: 50%;
    opacity: 0.2;
    animation: rotate 20s linear infinite;
}

.contact-item {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 143, 168, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(45, 143, 168, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--accent-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 58, 71, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 58, 71, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(13, 58, 71, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Form Submit Button */
.contact-form .btn,
.contact-form button[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    background: var(--bg-gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 58, 71, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form .btn::before,
.contact-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form .btn:hover::before,
.contact-form button[type="submit"]:hover::before {
    width: 400px;
    height: 400px;
}

.contact-form .btn:hover,
.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 58, 71, 0.4);
}

.contact-form .btn:active,
.contact-form button[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(13, 58, 71, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-gradient);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    align-items: start;
    width: 100%;
}

.footer-section {
    min-width: 0; /* Prevent grid overflow */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 80px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-page h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.policy-page h2,
.policy-page h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-page h3 {
    font-size: 24px;
}

.policy-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-page ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.policy-page li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-page a {
    color: var(--accent-color);
    text-decoration: none;
}

.policy-page a:hover {
    text-decoration: underline;
}

/* Thanks Page */
.thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Responsive Design */
/* Large Desktop (1920px and above) */
@media (min-width: 1920px) {
    .hero {
        height: 100vh;
    }

    .hero-container {
        max-width: 1600px;
        padding: 80px 48px;
    }

    .hero-content {
        gap: 80px;
    }

    .hero-title {
        font-size: 68px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .stat-card {
        padding: 32px;
    }
}

/* Standard Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero {
        height: 100vh;
    }

    .hero-container {
        max-width: 1400px;
        padding: 60px 40px;
    }

    .hero-content {
        gap: 64px;
    }
}

/* Full HD Desktop (1280px - 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
    .hero {
        height: 100vh;
    }

    .hero-container {
        max-width: 1200px;
        padding: 50px 32px;
    }

    .hero-content {
        gap: 56px;
    }

    .hero-title {
        font-size: 52px;
    }
}

/* Small Desktop / Large Tablet (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-container {
        padding: 40px 24px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 44px;
    }

    .stat-card {
        padding: 20px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-container {
        padding: 40px 24px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-main {
        text-align: center;
        align-items: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-features {
        justify-content: center;
        margin-bottom: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
        flex: 1;
        min-width: 0;
        max-width: 180px;
    }

    .stat-number {
        font-size: 32px;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-navigation {
        bottom: 20px;
        right: 20px;
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }
}

/* Mobile Landscape and Small Tablet (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
    .hero {
        padding: 50px 0 90px;
    }

    .hero-container {
        padding: 30px 20px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-main {
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 10px;
    }

    .stat-card {
        padding: 18px 14px;
        flex: 1;
    }
}

@media (max-width: 968px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 50px 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .about-content,
    .quality-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        padding: 0 15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Mobile Portrait (up to 639px) */
@media (max-width: 639px) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .hero-container {
        padding: 40px 20px;
    }

    .hero-content {
        gap: 24px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-features {
        gap: 8px;
        margin-bottom: 20px;
    }

    .feature-item {
        padding: 6px 12px;
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .hero-stats {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .stat-card {
        max-width: 100%;
        padding: 20px;
    }

    .stat-number {
        font-size: 32px;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 13px;
    }

    .hero-navigation {
        bottom: 16px;
        right: 16px;
        gap: 12px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Footer Responsive Layout */
/* Mobile - 1 column (vertical) - must come first */
@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px;
    }
}

/* Desktop - horizontal layout (3 columns) */
@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 48px;
    }
}

/* Cookie Consent Responsive Styles */
@media (max-width: 768px) {
    .cookie-consent-container {
        padding: 20px 16px;
    }

    .cookie-consent-header {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-consent-header h3 {
        font-size: 20px;
    }

    .cookie-consent-close {
        position: absolute;
        top: 0;
        right: 0;
    }

    .cookie-consent-body p {
        font-size: 14px;
    }

    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-preferences-container {
        max-height: 95vh;
        margin: 10px;
    }

    .cookie-preferences-header,
    .cookie-preferences-body,
    .cookie-preferences-footer {
        padding: 20px;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-toggle {
        align-self: flex-start;
    }

    .cookie-preferences-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-preferences-actions {
        width: 100%;
    }

    .cookie-preferences-actions .cookie-btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-header h3 {
        font-size: 18px;
    }

    .cookie-consent-body p {
        font-size: 13px;
    }

    .cookie-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .cookie-preferences-header h3 {
        font-size: 20px;
    }

    .cookie-category {
        padding: 16px;
    }

    .cookie-category-info h4 {
        font-size: 16px;
    }

    .cookie-category-info p {
        font-size: 13px;
    }
}

/* Very Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .hero {
        padding: 30px 0 70px;
    }

    .hero-container {
        padding: 20px 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-number {
        font-size: 28px;
    }
}

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Decorative elements */
.decorative-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: var(--bg-gradient);
    opacity: 0.3;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--bg-gradient);
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Floating elements animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatUp 10s infinite;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.industry-card,
.accordion-item {
    animation: fadeIn 0.6s ease-out;
}


