/* CSS Variables - Colors from logo (Red & Black theme) */
:root {
    --primary-red: #E63946;
    --primary-red-dark: #C1121F;
    --primary-red-light: #FF6B7A;
    --black: #000000;
    --black-soft: #0A0A0A;
    --dark-gray: #1A1A1A;
    --gray: #2A2A2A;
    --light-gray: #3A3A3A;
    --text-light: #E0E0E0;
    --text-white: #FFFFFF;
    --white: #FFFFFF;
    --gradient-red: linear-gradient(135deg, #E63946 0%, #C1121F 100%);
    --shadow-red: 0 10px 40px rgba(230, 57, 70, 0.3);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black);
    border-left: 1px solid rgba(230, 57, 70, 0.2);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 6px;
    border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-light);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--black);
}

body {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 20px;
    transition: all 0.3s ease;
}

.navbar .container {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem 2rem;
    border: 1px solid rgba(230, 57, 70, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 1400px;
    margin: 0 auto;
}

.navbar.scrolled .container {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(230, 57, 70, 0.1);
    border-color: rgba(230, 57, 70, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-white);
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5));
}

.logo-text {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-contact-btn {
    background: var(--gradient-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-red);
    white-space: nowrap;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.4);
    color: var(--white);
}

.nav-contact-mobile {
    display: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    display: block;
    transform-origin: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    isolation: isolate;
    contain: strict;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    image-rendering: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.6) 50%, var(--black-soft) 100%);
    z-index: 2;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.electric-pattern {
    display: none;
}

@keyframes electricPulse {
    0%, 100% { 
        opacity: 0.05;
        transform: translate3d(0, 0, 0);
    }
    50% { 
        opacity: 0.15;
        transform: translate3d(0, 0, 0);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout style;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-white);
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}


/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Services Section */
.services {
    background: var(--black-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-gray);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-red);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-red);
    flex-shrink: 0;
    position: absolute;
    left: 0;
}

/* How We Work Section */
.how-we-work {
    background: var(--black-soft);
    padding: 5rem 0;
    position: relative;
}

.how-we-work-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-label {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid rgba(230, 57, 70, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.how-we-work-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.how-we-work-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 57, 70, 0.5);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
}

.process-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(230, 57, 70, 0.15);
    line-height: 1;
    z-index: 0;
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.process-card p {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    background: var(--black);
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(193, 18, 31, 0.15) 100%);
    border-top: 1px solid rgba(230, 57, 70, 0.2);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mini CTA Section */
.mini-cta {
    background: var(--black-soft);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
    padding: 3rem 0;
}

.mini-cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mini-cta-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.mini-cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.mini-cta-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mini-cta-button-item {
    background: var(--dark-gray);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mini-cta-button-item:hover {
    border-color: rgba(230, 57, 70, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
}

.mini-cta-button-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.mini-cta-button-item p {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* FAQ Section */
.faq {
    background: var(--black-soft);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-gray);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(230, 57, 70, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.9;
    margin: 0;
    padding-top: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 1;
    background: var(--dark-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(230, 57, 70, 0.3);
    position: relative;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 20px;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.3s ease;
}

.image-placeholder:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background: var(--black-soft);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-card {
    background: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-red);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h4 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-subtext {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
    margin-bottom: 0.25rem !important;
}

.contact-subtext.highlight {
    color: var(--primary-red) !important;
    opacity: 1 !important;
    font-weight: 600;
    margin-top: 0.5rem;
}

.contact-link {
    margin-top: auto;
    padding-top: 0.75rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: var(--primary-red-light);
    gap: 0.75rem;
}

.contact-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.contact-link:hover::after {
    transform: translateX(3px);
}

.contact-form-wrapper {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.form-title {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--black-soft);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    background-color: var(--dark-gray);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.5;
}

/* Form Messages */
.form-message {
    display: none;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-message.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    animation: slideIn 0.4s ease-out;
}

.form-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    animation: scaleIn 0.3s ease-out 0.1s both;
}

.form-message span {
    flex: 1;
    font-weight: 500;
}

.form-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #16a34a;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-success::before {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.form-success svg {
    color: #22c55e;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.form-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #dc2626;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-error::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.form-error svg {
    color: #ef4444;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideIn {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Spinner Animation */
.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Button Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.form-consent {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
    margin: -0.5rem 0 0.5rem 0;
    line-height: 1.5;
}

/* WhatsApp Button */
a.whatsapp-btn,
.whatsapp-btn,
.contact-form-wrapper .whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    margin-top: 2rem !important;
    background-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
}

a.whatsapp-btn:hover,
.whatsapp-btn:hover,
.contact-form-wrapper .whatsapp-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    background-color: #20BA5A !important;
    background: #20BA5A !important;
}

a.whatsapp-btn:active,
.whatsapp-btn:active,
.contact-form-wrapper .whatsapp-btn:active {
    transform: translateY(0) !important;
}

a.whatsapp-btn svg,
.whatsapp-btn svg,
.contact-form-wrapper .whatsapp-btn svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

a.whatsapp-btn span,
.whatsapp-btn span,
.contact-form-wrapper .whatsapp-btn span {
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
}

.contact-partner {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(230, 57, 70, 0.15);
}

.partner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.partner-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(230, 57, 70, 0.3);
    padding: 12px;
}

.partner-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-red);
    animation: electricPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.5));
}

@keyframes electricPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.5));
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.8));
    }
}

.partner-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.partner-label {
    color: var(--text-light);
    font-weight: 400;
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin: 0;
}

.rockam-link {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.5rem 0;
}

.rockam-text {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.rockam-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-red);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.rockam-link:hover .rockam-text {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.7));
}

.rockam-link:hover::after {
    width: 100%;
}

.rockam-link:hover {
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-full svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(230, 57, 70, 0.2);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(230, 57, 70, 0.1);
    color: var(--text-light);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-content {
        grid-template-columns: auto 1fr auto;
    }

    .nav-menu {
        position: fixed;
        top: 110px;
        left: 15px;
        right: 15px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        width: calc(100% - 30px);
        text-align: center;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 2rem 0;
        border-radius: 15px;
        border: 1px solid rgba(230, 57, 70, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999;
        transform: translateX(-150%);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        width: auto;
        padding: 0.75rem 2rem;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-contact-btn {
        display: none;
    }

    .nav-contact-mobile {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-contact-btn-mobile {
        background: var(--gradient-red);
        color: var(--white) !important;
        text-decoration: none;
        font-weight: 600;
        padding: 0.75rem 2.5rem;
        border-radius: 50px;
        display: inline-block;
        box-shadow: var(--shadow-red);
        transition: all 0.3s ease;
        width: auto;
    }

    .nav-contact-btn-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 50px rgba(230, 57, 70, 0.4);
        color: var(--white) !important;
    }

    .nav-contact-btn-mobile::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding-right: 0;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
        isolation: isolate;
        contain: layout style paint;
    }
    
    /* Wyłączone dla lepszej wydajności */
    .electric-pattern {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .service-card,
    .stat-item {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

