/* Reset i podstawowe style */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f28482;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Domyślne kolory dla trybu jasnego */
    --bg-color: #ffffff;
    --text-color: #212529;
    --section-bg: #f8f9fa;
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
}

.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --section-bg: #1e1e1e;
    --card-bg: #2d2d2d;
    --header-bg: rgba(30, 30, 30, 0.95);
    --dark: #e0e0e0;
    --gray: #a0a0a0;
    --light-gray: #1e1e1e;
    --white: #2d2d2d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

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

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

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

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

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 2px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background-color: var(--gray);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    animation: loading 2s ease-in-out forwards;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background-color: var(--bg-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-color);
}

.title-line {
    display: block;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(230, 57, 70, 0.2);
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 70%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 80%;
    animation-delay: 1s;
}

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

.image-container {
    width: 400px;
    height: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.image-placeholder {
    width: 80%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background-color: var(--gray);
    margin-bottom: 10px;
    position: relative;
}

.scroll-line:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--primary-color);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--section-bg);
}

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

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

.about-text p {
    margin-bottom: 30px;
    color: var(--gray);
    line-height: 1.7;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    transition: var(--transition);
    animation: float-card 6s ease-in-out infinite;
}

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

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.floating-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

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

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.service-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

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

.service-card:hover:before {
    width: 100%;
    opacity: 0.1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

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

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--gray);
}

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

.service-link {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

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

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--section-bg);
}

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

.filter-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

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

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

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

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

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.portfolio-overlay p {
    color: var(--light-gray);
    margin-bottom: 20px;
    text-align: center;
}

.portfolio-link {
    color: var(--white);
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

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

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.step-content {
    padding-top: 20px;
}

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

.step-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--section-bg);
}

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

.team-member {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

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

.member-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-member:hover .member-social {
    opacity: 1;
    transform: translateY(0);
}

.member-social a {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.member-info p {
    color: var(--primary-color);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    pointer-events: all;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-text p {
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Social Media Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

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

.social-button i {
    font-size: 1.5rem;
}

.social-button.facebook {
    background: linear-gradient(135deg, #3b5998, #8b9dc3);
}

.social-button.instagram {
    background: linear-gradient(135deg, #e4405f, #405de6);
}

.social-button.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-button.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-button.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-button.email {
    background: linear-gradient(135deg, #ea4335, #d14836);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-logo p {
    color: #adb5bd;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
}

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

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

.footer-column ul li a {
    color: #adb5bd;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #343a40;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #adb5bd;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #adb5bd;
    transition: var(--transition);
}

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

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--header-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dark-mode-toggle {
        top: 90px;
        right: 20px;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .process-timeline:before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .image-container {
        width: 300px;
        height: 300px;
    }
}

/* Rules Page Styles */
.rules-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.rules-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.rules-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

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

.rules-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.rules-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.rules-icon {
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rules-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.rules-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

.rules-info {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    text-align: center;
}

.info-items {
    display: grid;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    transition: var(--transition);
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.info-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Document Pages Styles */
.document-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 120px 0 60px;
}

.document-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.document-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.document-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-link {
    color: white;
    text-decoration: underline;
}

.download-link:hover {
    opacity: 0.8;
}

.document-content {
    padding: 60px 0;
    background: var(--section-bg);
}

.document-content .section-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.document-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-nav {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.sidebar-nav h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--gray);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.document-main {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.terms-section,
.policy-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--light-gray);
}

.terms-section:last-child,
.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2,
.policy-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.terms-section p,
.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--gray);
}

.terms-section ul,
.policy-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.terms-section li,
.policy-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--gray);
}

.terms-section strong,
.policy-section strong {
    color: var(--text-color);
}

.document-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

/* Pricing Page Styles */
.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.pricing-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.pricing-calculator {
    padding: 80px 0;
    background: var(--section-bg);
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.calculator-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 50px;
}

.calculator-form {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    text-align: center;
}

.project-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.project-type {
    background: var(--bg-color);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.project-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.project-type.selected {
    border-color: var(--primary-color);
    background: rgba(230, 57, 70, 0.05);
}

.project-type i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project-type h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-type p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project-type ul {
    list-style: none;
    text-align: left;
}

.project-type li {
    padding: 8px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
}

.project-type li:last-child {
    border-bottom: none;
}

.project-type li i.fa-check {
    color: #28a745;
    margin-right: 10px;
}

.project-type li i.fa-times {
    color: #dc3545;
    margin-right: 10px;
}

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

.feature-checkbox {
    position: relative;
}

.feature-checkbox input {
    position: absolute;
    opacity: 0;
}

.feature-checkbox label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-checkbox label:hover {
    border-color: var(--primary-color);
}

.feature-checkbox input:checked + label {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--primary-color);
}

.feature-checkbox i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-checkbox span {
    font-weight: 500;
    color: var(--text-color);
}

.calculator-summary {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.calculator-summary h3 {
    margin-bottom: 25px;
    color: var(--text-color);
}

.summary-details {
    display: grid;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-note {
    background: rgba(255, 193, 7, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #ffc107;
}

.summary-note p {
    margin: 0;
    color: #856404;
}

.calculator-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Pricing Factors */
.pricing-factors {
    padding: 80px 0;
    background: var(--bg-color);
}

.pricing-factors h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.factor-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.factor-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.factor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.factor-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Price Packages */
.price-packages {
    padding: 80px 0;
    background: var(--section-bg);
}

.price-packages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.package-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.package-card.popular {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.8rem;
}

.package-header {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.package-price .period {
    font-size: 1rem;
    opacity: 0.8;
}

.package-features {
    padding: 40px 30px;
}

.package-features ul {
    list-style: none;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i.fa-check {
    color: #28a745;
}

.package-features li i.fa-times {
    color: #dc3545;
}

.package-actions {
    padding: 0 30px 40px;
    text-align: center;
}

/* Pricing CTA */
.pricing-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .document-content .section-container {
        grid-template-columns: 1fr;
    }
    
    .document-sidebar {
        position: static;
        margin-bottom: 40px;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .project-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .document-main {
        padding: 30px 20px;
    }
    
    .document-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .rules-hero h1,
    .pricing-hero h1,
    .document-hero h1 {
        font-size: 2rem;
    }
    
    .calculator-controls {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}