/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2d6a9f;
    --accent-color: #4a90c2;
    --accent-orange: #ff6b35;
    --accent-teal: #00d4aa;
    --dark-bg: #0f1e2e;
    --light-bg: #f5f7fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --border-color: #e0e6ed;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(26, 77, 122, 0.3);
    --gradient-primary: linear-gradient(135deg, #1a4d7a 0%, #2d6a9f 50%, #4a90c2 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 77, 122, 0.95) 0%, rgba(45, 106, 159, 0.85) 50%, rgba(74, 144, 194, 0.75) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Animated background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 77, 122, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(26, 77, 122, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(26, 77, 122, 0.3));
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease, transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nav-link.active::after {
    transform: translateY(-50%) scale(1);
}

/* Hero Section - Professional Design with 8px Grid System */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1a2e 0%, #1a3a5e 100%);
}

/* Responsive height for different screen sizes */
@media (max-height: 700px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
    }
}

@media (min-height: 1081px) {
    .hero-section {
        height: 100vh;
        max-height: 1200px;
    }
}

/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 10s ease-out;
    will-change: transform;
}

.hero-bg-image:hover .hero-image {
    transform: scale(1);
}

/* Subtle Background Shapes - Decorative Only */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float-shape 25s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-orange);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-teal);
    bottom: -100px;
    right: -100px;
    animation-delay: 8s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    top: 40%;
    right: 5%;
    animation-delay: 16s;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: var(--accent-orange);
    bottom: 25%;
    left: 10%;
    animation-delay: 12s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.80) 0%, rgba(15, 30, 46, 0.70) 50%, rgba(26, 77, 122, 0.75) 100%);
    z-index: 2;
}

/* Hero Content Container - Using Standard Layout */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 4;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    position: relative;
    align-items: center;
    z-index: 5;
}

.hero-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Hero Accordion */
.hero-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.accordion-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.12);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: var(--white);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 24px 20px;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
    line-height: 1.6;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
}

.accordion-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}



/* Ensure content fits on smaller viewports */
@media (max-height: 700px) {
    .hero-content-wrapper {
        gap: 32px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        gap: 4px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .hero-accordion {
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-accordion {
        max-width: 100%;
    }
}

/* Hero Badge - 8px spacing */
.hero-badge {
    display: inline-block;
    margin: 0;
    animation: fadeInDown 0.8s ease 0.2s both;
    align-self: flex-start;
}

.badge-text {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-badge:hover .badge-text {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* Hero Title - Proper Typography Scale */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    align-self: flex-start;
}

/* Prevent title overflow on smaller screens */
@media (max-width: 1200px) {
    .hero-title {
        font-size: clamp(2.25rem, 5.5vw, 4rem);
    }
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideIn 0.8s ease forwards;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-1 {
    animation-delay: 0.3s;
}

.title-line-2 {
    animation-delay: 0.5s;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b35 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-3 {
    animation-delay: 0.7s;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtitle - Standard Spacing */
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 680px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.9s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    align-self: flex-start;
}

/* Adjust subtitle for different screen sizes */
@media (max-width: 1200px) {
    .hero-subtitle {
        max-width: 100%;
    }
}

/* Hero Buttons - Standard Button Spacing */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    animation: fadeInUp 1s ease 1.1s both;
    align-self: flex-start;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-hero .btn-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@keyframes progressFill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.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 ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 77, 122, 0.3);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Services Accordion */
.services-accordion {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-accordion-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.service-accordion-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(26, 77, 122, 0.15);
    transform: scale(1.02);
}

.service-accordion-header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    z-index: 1;
}

.service-accordion-item.active .service-accordion-header {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.05) 0%, rgba(45, 106, 159, 0.05) 100%);
}

.service-accordion-header:hover {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.08) 0%, rgba(45, 106, 159, 0.08) 100%);
}

.service-accordion-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
    transition: all 0.3s ease;
}

.service-accordion-item.active .service-accordion-icon {
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.service-accordion-icon {
    overflow: hidden;
}

.service-accordion-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.service-accordion-item.active .service-accordion-icon img {
    transform: scale(1.08);
}

.service-accordion-title {
    flex: 1;
}

.service-accordion-title h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-accordion-item.active .service-accordion-title h3 {
    color: var(--accent-color);
}

.service-accordion-title p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-accordion-arrow {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.service-accordion-item.active .service-accordion-arrow {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 32px;
    background: rgba(248, 250, 252, 0.5);
}

.service-accordion-item.active .service-accordion-content {
    max-height: 600px;
    padding: 24px 32px 32px;
}

.service-accordion-content p {
    color: var(--text-light);
    margin: 0 0 20px;
    line-height: 1.8;
}

.service-accordion-content .service-features {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.service-accordion-content .service-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.service-accordion-content .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-accordion-content .btn {
    margin-top: 8px;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 77, 122, 0.2);
    border-color: var(--accent-color);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.service-card:hover .service-icon::after {
    opacity: 0.3;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    position: relative;
    z-index: 0;
    will-change: transform;
}

.service-card:hover .service-icon img {
    transform: scale(1.1) rotate(1deg);
}

.service-card h3 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-card:hover h3 {
    transform: translateX(5px);
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.service-card:hover h3::after {
    width: 100%;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li {
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
    font-weight: 600;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 4px solid transparent;
    background: var(--gradient-primary);
    padding: 4px;
    transition: all 0.3s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.about-image:hover::before {
    opacity: 0.2;
}

.about-image:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 50px rgba(26, 77, 122, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* Equipment Section */
.equipment-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
    position: relative;
}

.equipment-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    opacity: 0.3;
    z-index: 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-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: 3px solid transparent;
    background-clip: padding-box;
}

.equipment-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 15px;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.equipment-card:hover::before {
    opacity: 1;
}

.equipment-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(26, 77, 122, 0.25);
}

.equipment-card {
    overflow: hidden;
    border-radius: 16px;
}

.equipment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1) contrast(1);
    will-change: transform;
}

.equipment-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);
}

.equipment-info {
    padding: 1.5rem;
}

.equipment-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.equipment-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Consulting Section */
.consulting-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.consulting-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.consulting-image {
    overflow: hidden;
    border-radius: 16px;
}

.consulting-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.consulting-text .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.consulting-services {
    margin: 2rem 0;
}

.consulting-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    padding-bottom: 1.5rem;
    border-left: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
    background: rgba(26, 77, 122, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.consulting-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 8px 0 0 8px;
    z-index: 0;
}

.consulting-item:hover::before {
    width: 4px;
}

.consulting-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(26, 77, 122, 0.1);
    background: rgba(26, 77, 122, 0.05);
}

.consulting-item > * {
    position: relative;
    z-index: 1;
}

.consulting-item:last-child {
    border-bottom: none;
}

.consulting-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.consulting-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(26, 77, 122, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: float 6s ease-in-out infinite reverse;
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    mix-blend-mode: overlay;
}

.project-card:hover::before {
    opacity: 0.3;
}

.project-card {
    overflow: hidden;
    border-radius: 12px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    filter: grayscale(0.3);
    will-change: transform;
}

.project-card:hover img {
    transform: scale(1.15) rotate(1deg);
    filter: grayscale(0);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 77, 122, 0.95), rgba(26, 77, 122, 0.7), transparent);
    padding: 2rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 107, 53, 0.5);
    z-index: 3;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid;
    border-image: var(--gradient-primary) 1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(26, 77, 122, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 15px 40px rgba(26, 77, 122, 0.2);
    border-left-width: 8px;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f0f7 50%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
    animation: float 10s ease-in-out infinite;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(50px);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.5;
}

.contact-item {
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item:hover::before {
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.contact-item h4 {
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 77, 122, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

.contact-form-wrapper > * {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.1);
    transform: translateY(-2px);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a2a3a 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
/* Cookie Banner - Google Consent Mode v2 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    padding: 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 3px solid;
    border-image: var(--gradient-primary) 1;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Cookie Notice (Main Screen) */
.cookie-notice {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cookie-text p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cookie-text p:last-of-type {
    margin-bottom: 0;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.3);
}

/* Cookie Preferences Panel */
.cookie-preferences {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.cookie-preferences::-webkit-scrollbar {
    width: 8px;
}

.cookie-preferences::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.cookie-preferences::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.cookie-preferences::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.cookie-prefs-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.cookie-prefs-header p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-category {
    background: rgba(26, 77, 122, 0.03);
    border: 1px solid rgba(26, 77, 122, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    background: rgba(26, 77, 122, 0.05);
    border-color: rgba(26, 77, 122, 0.2);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-category-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    cursor: pointer;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .toggle-label .toggle-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .toggle-label .toggle-slider::before {
    transform: translateX(22px);
}

.cookie-toggle input:focus + .toggle-label .toggle-slider {
    box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.2);
}

.cookie-toggle.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle.disabled .toggle-label {
    cursor: not-allowed;
}

.toggle-status {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.cookie-prefs-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 77, 122, 0.1);
}

.cookie-prefs-buttons .btn {
    min-width: 140px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

/* Cookie Settings Button (Floating) */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 0;
}

.cookie-settings-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 77, 122, 0.4);
}

.cookie-settings-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        padding: 1.5rem;
    }
    
    .cookie-text h3,
    .cookie-prefs-header h3 {
        font-size: 1.25rem;
    }
    
    .cookie-text p,
    .cookie-prefs-header p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-toggle {
        align-self: flex-start;
    }
    
    .cookie-prefs-buttons {
        flex-direction: column;
    }
    
    .cookie-prefs-buttons .btn {
        width: 100%;
    }
    
    .cookie-settings-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .cookie-banner {
        max-height: 85vh;
    }
    
    .cookie-preferences {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 1.25rem;
    }
    
    .cookie-text h3,
    .cookie-prefs-header h3 {
        font-size: 1.1rem;
    }
    
    .cookie-category {
        padding: 1.25rem;
    }
    
    .cookie-category-info h4 {
        font-size: 1rem;
    }
    
    .cookie-category-info p {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ripple effect for buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animated gradient border */
.animated-border {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    padding: 3px;
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 15px;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        background: var(--gradient-primary);
    }
    50% {
        background: var(--gradient-accent);
    }
    100% {
        background: var(--gradient-primary);
    }
}

/* Decorative lines and shapes */
.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    opacity: 0.5;
}

/* Glowing effect */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(26, 77, 122, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.glow-effect:hover::after {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* Stagger animation for cards */
.animate-in {
    animation: cardPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Responsive Design */
/* Additional decorative elements */
.services-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    opacity: 0.2;
    z-index: 0;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Hover effect for section titles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.5s ease;
    border-radius: 2px;
}

.section-header:hover .section-title::before {
    width: 100%;
}

@media (max-width: 968px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .consulting-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .services-accordion-overlay {
        padding: 2rem 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet and smaller desktop */
@media (max-width: 1400px) and (min-width: 769px) {
    .hero-container {
        max-width: 1000px;
        padding: 0 32px;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 5.5vw, 4rem);
    }
    
    .hero-stats {
        max-width: 580px;
    }
}

/* Standard desktop (Full HD and similar) */
@media (min-width: 1401px) and (max-width: 1920px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-container {
        max-width: 1200px;
        padding: 0 40px;
    }
}

/* Large desktop (2K and above) */
@media (min-width: 1921px) {
    .hero-section {
        height: 100vh;
        max-height: 1200px;
    }
    
    .hero-container {
        max-width: 1400px;
        padding: 0 48px;
    }
    
    .hero-title {
        font-size: clamp(3rem, 5vw, 5rem);
    }
}

/* Tablet */
@media (max-width: 968px) and (min-width: 769px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-container {
        padding: 0 24px;
    }
    
    .hero-content-wrapper {
        gap: 24px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    
    .hero-stats {
        max-width: 100%;
        padding: 20px 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .hero-section {
        height: 100vh;
        min-height: 600px;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding-top: 80px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-container {
        padding: 0 16px;
        padding-top: 40px;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content-wrapper {
        gap: 20px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        gap: 4px;
    }
    
    .title-line {
        font-size: inherit;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
        max-width: 100%;
    }
    
    .hero-stat-item {
        width: 100%;
    }
    
    .hero-stat-divider {
        width: 100%;
        height: 1px;
    }
    
    
    .shape-1, .shape-2, .shape-3, .shape-4 {
        opacity: 0.08;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
        min-height: 100dvh;
        padding-top: 80px;
    }
    
    .hero-container {
        padding: 0 16px;
        padding-top: 40px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .hero-content-wrapper {
        gap: 16px;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        gap: 2px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .equipment-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional responsive styles for very small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    section {
        padding: 3rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .header {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .navbar {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

