/* ===== ZMIENNE I RESET ===== */
:root {
    --primary-color: #00e676;
    --primary-dark: #00c853;
    --secondary-color: #9e00ff;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --dark-card: #1e1e1e;
    --text-color: #e0e0e0;
    --text-light: #9e9e9e;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--darker-bg);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    color: var(--text-color);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* ===== BUTTONS ===== */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.4);
    color: var(--darker-bg);
}

.primary-button i {
    margin-left: 10px;
    transition: var(--transition);
}

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

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 700;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: rgba(0, 230, 118, 0.1);
    transform: translateY(-3px);
    color: var(--primary-color);
}

.cta-button-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
    
    
    overflow: hidden;
    text-overflow: ellipsis;
    --text-color:var(--dark-bg)
    
}

.cta-button-sm:hover {
    background-color: var(--primary-dark);
    color: var(--darker-bg);
}
.cta-button-sm i {
    margin-left: 10px;
    transition: var(--transition);
}


.cta-button-sm:hover i {
    transform: translateX(5px);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    font-weight: 700;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.4);
}

.submit-button i {
    margin-left: 10px;
    transition: var(--transition);
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.logo a {
    color: var(--text-color);
    text-decoration: none;
}

.logo-3d {
    color: var(--primary-color);
    font-weight: 800;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    margin-left: 30px;
    position: relative;
}

.menu a {
    font-weight: 800;
    color: var(--text-color);
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 230, 118, 0.05);
}

.dropdown-menu a::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--darker-bg);
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(0, 230, 118, 0.15) 0%, transparent 30%),
                    radial-gradient(circle at 80% 70%, rgba(158, 0, 255, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

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

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    min-width: 150px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 5px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

/* ===== SERVICES SECTION ===== */
.services {
    position: relative;
    z-index: 3;
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.learn-more i {
    margin-left: 10px;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* ===== PROCESS SECTION ===== */
.process {
    background-color: var(--darker-bg);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateX(10px);
    border-color: rgba(0, 230, 118, 0.3);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 30px;
    line-height: 1;
    opacity: 0.8;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
}

.process-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    position: relative;
}

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

.filter-button {
    background: none;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
}

.filter-button:hover,
.filter-button.active {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: var(--dark-card);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.view-more {
    color: var(--text-color);
    background-color: rgba(0, 230, 118, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

.portfolio-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== CASE STUDY SECTION ===== */
.case-study {
    background-color: var(--darker-bg);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.case-label {
    display: inline-block;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-study-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.case-description {
    color: var(--text-light);
    margin-bottom: 30px;
}

.case-results {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.case-result {
    display: flex;
    flex-direction: column;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.case-study-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    position: relative;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    padding: 20px;
}

.testimonial-content {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    margin-bottom: 30px;
}

.testimonial-quote i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.testimonial-quote p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rating {
    color: var(--primary-color);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.testimonial-nav button:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 230, 118, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
}

.faq-answer p {
    color: var(--text-light);
}

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

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

.contact-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-form {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== PORTFOLIO MODAL ===== */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--dark-card);
    margin: 5% auto;
    width: 85%;
    max-width: 1100px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    animation: modalOpen 0.4s;
    overflow: hidden;
    position: relative;
}

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

.close-modal {
    color: var(--text-light);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.modal-image {
    width: 60%;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.modal-author {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.modal-author p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
}

#modal-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.modal-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-result-item {
    background-color: rgba(0, 230, 118, 0.1);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    flex: 1 1 calc(50% - 10px);
    min-width: 120px;
}

.modal-result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.modal-result-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.view-project {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    margin-top: auto;
}

.view-project:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
    color: var(--darker-bg);
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    font-size: 1.5rem;
    transition: var(--transition);
}

.chat-button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: scale(0);
    opacity: 0;
    transform-origin: bottom right;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-widget.active .chat-popup {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.close-chat {
    background: none;
    border: none;
    color: var(--darker-bg);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-body {
    padding: 20px;
}

.chat-body p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.chat-form-group {
    margin-bottom: 15px;
}

.chat-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.chat-form-group input,
.chat-form-group textarea {
    width: 100%;
    padding: 10px 15px;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 0.9rem;
}

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

.chat-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.chat-submit:hover {
    background-color: var(--primary-dark);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-bg);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.footer-column p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-card);
    color: var(--text-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
}

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

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px; /* Adjusted for chat widget */
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-card);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    z-index: 1000;
    display: none;
}

.cookie-notice.active {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    color: var(--text-light);
}

.cookie-content a {
    color: var(--primary-color);
}

#acceptCookies {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    margin-left: 20px;
}

#acceptCookies:hover {
    background-color: var(--primary-dark);
}

/* Success Message */
.success-message {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    color: var(--text-light);
}

/* Form validation */
.error-message {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 5px;
}

.invalid {
    border-color: #f44336 !important;
}

/* Animations */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SUBPAGE STYLES ===== */
/* Hero sekcja podstrony */
.subpage-hero {
    padding: 160px 0 80px;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(0, 230, 118, 0.15) 0%, transparent 30%),
                    radial-gradient(circle at 80% 70%, rgba(158, 0, 255, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.subpage-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.subpage-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.subpage-hero-content p {
    position: relative;
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 30px;
}

.subpage-hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    
}

.subpage-hero-image img {
    width: 400px;
    height: 400px;
    display: block;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

/* Service Benefits */
.service-benefits {
    padding: 100px 0;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin: 15px 0;
}

/* Service Types */
.service-types {
    padding: 100px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.type-box {
    display: flex;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.type-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

.type-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

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

.type-box:hover .type-image img {
    transform: scale(1.1);
}

.type-content {
    flex: 0 0 60%;
    padding: 30px;
}

.type-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.type-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.type-content ul {
    margin-top: 20px;
}

.type-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.type-content ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Service Process */
.service-process {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.process-flow {
    max-width: 900px;
    margin: 60px auto 0;
}

.process-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 30px;
    width: 2px;
    height: calc(100% + 40px);
    background-color: rgba(0, 230, 118, 0.2);
}

.process-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.process-content {
    flex: 1;
}

.process-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.process-content p {
    color: var(--text-light);
}

/* Service Tech */
.service-tech {
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tech-item {
    text-align: center;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

.tech-item img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.tech-item h3 {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Service Pricing */
.service-pricing {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.pricing-table-container {
    max-width: 1000px;
    margin: 60px auto 30px;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pricing-table thead {
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-weight: 600;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr {
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background-color: rgba(0, 230, 118, 0.05);
}

.pricing-table td ul {
    margin: 0;
    padding-left: 20px;
}

.pricing-table td ul li {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Portfolio */
.service-portfolio {
    padding: 100px 0;
}

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

.portfolio-item {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

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

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

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

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

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

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.portfolio-button {
    text-align: center;
    margin-top: 50px;
}

/* Service FAQ */
.service-faq {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

/* Service CTA */
.service-cta {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.service-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CASE STUDY STYLES ===== */
/* Case Hero */
.case-hero {
    padding: 160px 0 80px;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.case-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(0, 230, 118, 0.15) 0%, transparent 30%),
                    radial-gradient(circle at 80% 70%, rgba(158, 0, 255, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.case-hero .container {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.case-hero-content .case-label {
    display: inline-block;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-color);
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.meta-value {
    font-weight: 600;
    color: var(--primary-color);
}

.case-hero-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.case-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* ===== POLITYKA PRYWATNOŚCI ===== */
.privacy-policy {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.policy-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.policy-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-content ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

.policy-content ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    position: relative;
}

.policy-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -15px;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 0.9rem;
}


/* Case Results */
.case-results {
    padding: 50px 0;
    
}

.results-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.result-card {
    flex: 0 0 calc(25% - 30px);
    min-width: 200px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

.result-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Case Challenge */
.case-challenge {
    padding: 100px 0;
}

.challenge-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.challenge-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.challenge-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.challenge-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.challenge-text ul li {
    margin-bottom: 10px;
    color: var(--text-light);
    position: relative;
    padding-left: 15px;
}

.challenge-text ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -5px;
    top: 0;
    font-size: 1.4rem;
}

.challenge-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.challenge-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Strategy */
.case-strategy {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.strategy-grid {
    margin-top: 60px;
}

.strategy-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.strategy-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 230, 118, 0.3);
}

.strategy-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 30px;
}

.strategy-content {
    flex: 1;
}

.strategy-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.strategy-description {
    margin-bottom: 20px;
}

.strategy-description p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.strategy-description ul {
    padding-left: 20px;
}

.strategy-description ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    position: relative;
    padding-left: 15px;
}

.strategy-description ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -5px;
    top: 0;
    font-size: 1.4rem;
}

.strategy-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 400px;
}

.strategy-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Implementation */
.case-implementation {
    padding: 100px 0;
}

.implementation-timeline {
    margin-top: 60px;
    position: relative;
}

.implementation-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background-color: rgba(0, 230, 118, 0.2);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    border: 2px solid var(--primary-color);
}

.timeline-marker span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    display: flex;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.timeline-info {
    flex: 1;
    padding: 30px;
}

.timeline-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-duration {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.timeline-info p {
    color: var(--text-light);
}

.timeline-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Case Detailed Results */
.case-detailed-results {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.results-comparison {
    margin-top: 60px;
}

.comparison-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.comparison-before,
.comparison-after {
    flex: 1;
    background-color: var(--dark-card);
    text-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.comparison-before h3,
.comparison-after h3 {
    text-align: center;
    padding: 20px;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.comparison-before img,
.comparison-after img {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-list {
    padding: 20px;
}

.comparison-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.comparison-list li i {
    position: absolute;
    left: 0;
    top: 3px;
}

.comparison-before .comparison-list li i {
    color: #f44336;
}

.comparison-after .comparison-list li i {
    color: var(--primary-color);
}

.results-charts {
    margin-top: 60px;
}

.chart-container {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.chart-container h3 {
    text-align: center;
    padding: 20px;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.chart-image {
    padding: 20px;
}

.chart-image img {
    width: 100%;
    height: auto;
    display: block;
}

.specific-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.specific-result {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.result-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
}

.result-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.result-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.specific-result p {
    padding: 20px;
    margin: 0;
    color: var(--text-light);
}

.specific-result p strong {
    color: var(--primary-color);
}

.result-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Conclusions */
.case-conclusions {
    padding: 100px 0;
}

.conclusions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.conclusions-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.conclusions-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.conclusions-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.conclusions-text ul li {
    margin-bottom: 10px;
    color: var(--text-light);
    position: relative;
    padding-left: 15px;
}

.conclusions-text ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -5px;
    top: 0;
    font-size: 1.4rem;
}

.conclusions-text ul li strong {
    color: var(--primary-color);
}

.conclusions-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.conclusions-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Case Testimonial */
.case-testimonial {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.client-testimonial {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-image {
    flex: 0 0 200px;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
}

.testimonial-content {
    flex: 1;
}

.testimonial-quote {
    margin-bottom: 30px;
}

.testimonial-quote i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial-quote p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
}

/* Case CTA */
.case-cta {
    padding: 100px 0;
}

.case-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Related Cases */
.related-cases {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

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

.related-item {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.3);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

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

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

.related-info {
    padding: 20px;
}

.related-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.related-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.learn-more i {
    margin-left: 10px;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .case-study-content {
        gap: 30px;
    }
    
    .case-study-text h2 {
        font-size: 1.8rem;
    }

    .type-box {
        flex-direction: column;
    }

    .type-image {
        flex: 0 0 200px;
    }

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

    .client-testimonial {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .testimonial-image {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
    }
    
    .chat-popup {
        width: 300px;
    }

    .subpage-hero .container {
        grid-template-columns: 1fr;
    }

    .subpage-hero-content {
        text-align: center;
        order: 0;
    }

    .subpage-hero-image {
        order: 0;
        margin-bottom: 30px;
    }

    .service-cta .container {
        grid-template-columns: 1fr;
    }

    .cta-content {
        text-align: center;
        order: 1;
    }

    .cta-image {
        order: 0;
        margin-bottom: 30px;
    }

    .case-hero .container {
        grid-template-columns: 1fr;
    }

    .case-hero-content {
        order: 1;
    }

    .case-hero-image {
        order: 0;
        margin-bottom: 30px;
    }

    .challenge-content {
        grid-template-columns: 1fr;
    }

    .challenge-text {
        order: 1;
    }

    .challenge-image {
        order: 0;
        margin-bottom: 30px;
    }

    .timeline-content {
        flex-direction: column;
    }

    .timeline-image {
        order: 0;
        height: 200px;
    }

    .timeline-info {
        order: 1;
    }

    .comparison-item {
        flex-direction: column;
    }

    .conclusions-content {
        grid-template-columns: 1fr;
    }

    .conclusions-text {
        order: 1;
    }

    .conclusions-image {
        order: 0;
        margin-bottom: 30px;
    }

    .case-cta .container {
        grid-template-columns: 1fr;
    }

    .modal-body {
        flex-direction: column;
    }
    
    .modal-image, .modal-info {
        width: 100%;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .modal-info {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    header {
        height: 70px;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
        display: none;
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        display: flex;
    }
    
    .menu li {
        margin: 20px 0;
    }
    
    .dropdown-menu {
        position: static;
        width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        margin-top: 10px;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin: 0 0 15px 0;
    }
    
    .back-to-top {
        right: 30px;
        bottom: 100px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .results-cards {
        flex-direction: column;
        align-items: center;
    }

    .result-card {
        width: 100%;
    }

    .strategy-item {
        flex-direction: column;
    }

    .strategy-icon {
        margin: 0 auto 20px;
    }

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

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-card {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 15px;
    }
    
    .stat-card p {
        margin: 0 0 0 10px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        flex-direction: column;
    }
    
    .filter-button {
        width: 100%;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    #acceptCookies {
        width: 100%;
        margin: 0;
    }
    
    .chat-popup {
        width: calc(100vw - 60px);
        right: -15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-info h3 {
        font-size: 1.5rem;
    }
    
    .modal-result-item {
        flex: 1 1 100%;
    }
}
