/* ===========================
   Badura Glanz - Main Stylesheet
   =========================== */

/* Root Variables */
:root {
    --primary-color: #0B9134;
    --primary-dark: #0a7d2c;
    --primary-light: #0eb83a;
    --secondary-color: #050505;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-light { background-color: var(--bg-light) !important; }

/* Section Spacing */
section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(11, 145, 52, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}

/* iOS Safari fallback */
@supports not (backdrop-filter: blur(10px)) {
    .main-header {
        background: rgba(255, 255, 255, 0.98);
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
    }
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar {
    padding: 1rem 0;
    background: transparent;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar-nav {
    gap: 1rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Active nav indicator */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

.nav-cta {
    padding: 0.5rem 1.25rem;
}

/* Mobile Navigation Background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        border: 1px solid rgba(255, 255, 255, 0.5);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .navbar-collapse.show {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Hamburger Menu Styling */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    width: 44px;
    height: 44px;
    position: relative;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(11, 145, 52, 0.2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 20px;
    display: block;
    margin: 0 auto;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

/* Animated Hamburger */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Actions */
.mobile-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
    color: var(--white);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.navbar-collapse.show ~ .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* Additional transparency effects */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Increased to account for transparent nav */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quick Quote Form */
.quick-quote-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 145, 52, 0.1);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* AI Overview Section */
.ai-overview-section {
    background: var(--bg-light);
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(11, 145, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* AI Calculator Preview */
.calculator-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.calculator-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calc-input {
    margin-bottom: 1.5rem;
}

.calc-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-range {
    width: 100%;
}

.range-value {
    font-weight: 600;
    color: var(--primary-color);
}

.calc-result {
    background: rgba(11, 145, 52, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    margin-top: 1.5rem;
}

.result-label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Services Section */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(11, 145, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--success);
    flex-shrink: 0;
}

/* Service Benefits */
.service-benefits {
    padding: 3rem 0;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    background: var(--bg-light);
}

.benefit-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-light);
    margin: 0;
}

/* Locations Section */
.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.location-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.location-info {
    margin-bottom: 1.5rem;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.district-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.district-item:hover {
    background: var(--bg-light);
}

.district-item i {
    flex-shrink: 0;
}

.district-item small {
    color: var(--text-light);
}

/* Map Container */
.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* CTA Box */
.cta-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-box h4 {
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* SGE FAQ Section */
.ai-search-box {
    margin-bottom: 2rem;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.ai-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.ai-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 145, 52, 0.1);
}

.ai-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.ai-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-accordion .accordion-button {
    background: var(--white);
    color: var(--text-color);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(11, 145, 52, 0.05);
    color: var(--primary-color);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 1.5rem;
}

.ai-answer {
    font-size: 1rem;
    line-height: 1.8;
}

.ai-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.ai-answer ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ai-answer ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* AI Quick Answer */
.ai-quick-answer {
    background: rgba(11, 145, 52, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.ai-answer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-wrapper {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-feature i {
    color: #4ade80;
}

.cta-info {
    margin-top: 1rem;
    opacity: 0.8;
}

/* Trust Badges */
.trust-badges {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-badge {
    text-align: center;
    color: var(--white);
}

.trust-badge i {
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.trust-badge h6 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.trust-badge p {
    opacity: 0.8;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin: 0;
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-top {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about img {
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-top h5 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info a {
    color: rgba(255,255,255,0.8);
}

.contact-info a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    background: rgba(0,0,0,0.2);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.8);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h6 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cookie-text p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out;
}

.animate-fade-up-delay {
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.animate-fade-up-delay-2 {
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.animate-fade-up-delay-3 {
    animation: fadeUp 0.8s ease-out 0.6s both;
}

.animate-fade-left {
    animation: fadeLeft 0.8s ease-out 0.4s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .nav-cta {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-wrapper {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-bottom .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .districts-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .mobile-actions,
    .cookie-banner,
    .back-to-top,
    .hero-form-wrapper,
    .btn,
    .form {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* PWA Styles */
@media (display-mode: standalone) {
    .mobile-actions {
        bottom: 30px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0a7d2c;
        --shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}




























/* Ukryj stare mobile actions */
.mobile-actions {
    display: none;
}

/* Kontener pływających przycisków */
.floating-contact-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Podstawowy styl przycisków */
.floating-action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.floating-action-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.floating-action-btn:active {
    transform: scale(0.95);
}

.floating-action-btn:focus {
    outline: 3px solid rgba(11, 145, 52, 0.3);
    outline-offset: 2px;
}

/* Kolory przycisków */
.btn-contact {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    color: white;
}

.btn-phone {
    background: linear-gradient(135deg, #0B9134 0%, #0a7d2c 100%);
    color: white;
}

.btn-phone:hover {
    background: linear-gradient(135deg, #0a7d2c 0%, #085a20 100%);
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
}

/* Tooltips */
.floating-action-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

.floating-action-btn::after {
    content: '';
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(0,0,0,0.8);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.floating-action-btn:hover::before,
.floating-action-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Toast notification */
.contact-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
    transform: translateX(450px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    max-height: 90vh;
    overflow-y: auto;
}

.contact-toast.show {
    transform: translateX(0);
}

.contact-toast-header {
    background: linear-gradient(135deg, #0B9134 0%, #0a7d2c 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
}

.contact-toast-body {
    padding: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-info-item:hover {
    background: #f8f9fa;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(11, 145, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B9134;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-info-text {
    flex: 1;
}

.contact-info-text h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.contact-info-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.contact-info-text a {
    color: #0B9134;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-text a:hover {
    text-decoration: underline;
}

.close-toast {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-toast:hover {
    background: rgba(255,255,255,0.2);
}

.close-toast:focus {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

/* Badge dla powiadomień */
.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Animacja pojawiania się */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0); }
}

/* Responsywność */
@media (max-width: 768px) {
    .floating-contact-actions {
        bottom: 20px;
        right: 20px;
    }

    .floating-action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-toast {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateX(100vw);
        max-height: 80vh;
    }

    .floating-action-btn::before {
        right: 60px;
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .floating-action-btn::after {
        right: 55px;
        border-left-width: 6px;
        border-top-width: 6px;
        border-bottom-width: 6px;
    }

    .contact-toast-body {
        padding: 1rem;
    }

    .contact-info-item {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .floating-contact-actions {
        bottom: 15px;
        right: 15px;
    }

    .floating-action-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-toast {
        top: 10px;
        right: 5px;
        left: 5px;
    }
}

/* Dostosowania dla PWA */
.pwa-standalone .floating-contact-actions {
    bottom: 35px;
}

/* Wysokie DPI */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .floating-action-btn {
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }

    .floating-action-btn:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}

/* Tryb ciemny */
@media (prefers-color-scheme: dark) {
    .contact-toast {
        background: #2d3748;
        border-color: #4a5568;
    }

    .contact-info-text h6 {
        color: white;
    }

    .contact-info-text p {
        color: #cbd5e0;
    }

    .contact-info-item:hover {
        background: #4a5568;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-action-btn,
    .contact-toast {
        transition: none;
    }

    .action-badge {
        animation: none;
    }
}

/* Focus visible dla lepszej accessibility */
@supports selector(:focus-visible) {
    .floating-action-btn:focus {
        outline: none;
    }

    .floating-action-btn:focus-visible {
        outline: 3px solid rgba(11, 145, 52, 0.3);
        outline-offset: 2px;
    }
}

/* Dodatkowe style dla lepszej integracji */
.floating-action-btn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Overlay dla toast na mobile */
@media (max-width: 768px) {
    .contact-toast.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
        z-index: -1;
    }
}