/* Fly Events - Homepage CSS */
/* 🎨 PALETA DE CULORI DIN LOGO FLY EVENTS */
:root {
    /* Culori puternice pentru logo, texte, CTA-uri */
    --primary-color: #03557e;      /* Albastru teal din logo (păsare + "Fly") */
    --secondary-color: #FF6600;    /* Portocaliu din logo ("Events" + aripi) */
    --accent-color: #FF8C00;       /* Portocaliu mai deschis pentru accentuări */
    --dark-color: #141f2b;         /* Albastru închis aproape negru */
    --light-color: #f9fafb;        /* Gri foarte deschis pentru fundal */
    --text-dark: #333;             /* Text principal */
    --text-light: #666;            /* Text secundar */
    
    /* Variante PASTEL pentru background-uri și hover effects */
    --primary-light: #b8d9e8;      /* Albastru teal pastel deschis */
    --primary-lighter: #e6f2f7;    /* Albastru teal foarte deschis */
    --secondary-light: #ffc299;    /* Portocaliu pastel deschis */
    --secondary-lighter: #ffe6d5;  /* Portocaliu foarte deschis */
    
    /* Gradiente SOFT pentru fundal */
    --gradient-soft: linear-gradient(135deg, #f2f8fb 0%, #f8f9fa 50%, #fdf6f1 100%);
    --gradient-medium: linear-gradient(135deg, #d4e8f2 0%, #fde8d8 100%);
    --gradient-primary: linear-gradient(135deg, #03557e 0%, #FF6600 100%);
    --gradient-hero: linear-gradient(135deg, #eef5f9 0%, #f9fafb 55%, #fef5ee 100%);
}

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

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

/* Ensure all images show top part - no head cut off */
img[class*="service-image"],
img[class*="gallery"],
img[class*="portfolio"],
img[class*="hero-image"],
.service-image,
.gallery-container img,
.portfolio-image-box img,
.hero-image-box img,
.gallery-item img {
    object-position: top center !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navbar Modern */
.navbar-modern {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-modern.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--dark-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-shadow: none;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 500;
    opacity: 1;
    line-height: 1.6;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.hero-features li {
    font-size: 1.1rem;
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
}

.hero-features li {
    color: #1f2937;
    font-weight: 500;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(3, 85, 126, 0.15);
    color: var(--primary-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.btn-custom {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
  border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.25);
    font-weight: 600;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.35);
    background: var(--primary-color);
    color: white;
}

/* Services Section */
.section-modern {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid #f0f0f0;
  cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.15);
    border-color: var(--secondary-light);
    background: linear-gradient(to bottom, white 0%, var(--secondary-lighter) 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    color: white;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-medium);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 3px 15px rgba(255, 102, 0, 0.12);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 102, 0, 0.3);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-lighter) 50%, var(--primary-lighter) 100%);
    color: var(--dark-color);
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.85;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-buttons-single {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .cta-buttons-single {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .cta-buttons-single {
        width: 100%;
    }
    
    .cta-buttons-single .btn-custom {
        width: 100%;
    }
}

.btn-outline-custom {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(3, 85, 126, 0.3);
}

/* Contact Section */
.contact-section {
    background: var(--light-color);
    scroll-margin-top: 90px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-medium);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.1);
}

/* Contact Action Buttons - Rotunde, mici, drăguțe */
.contact-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

.contact-action-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: white;
}

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

.contact-call-btn:hover {
    background: var(--secondary-color);
}

.contact-whatsapp-btn {
    background: #25D366;
}

.contact-whatsapp-btn:hover {
    background: #20BA5A;
}

.form-control-modern {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    border-color: var(--secondary-light);
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.1);
    background: var(--secondary-lighter);
}

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

.footer-modern a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-modern a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: all 0.3s ease;
    padding: 0;
    text-decoration: none;
}

/* Culori Originale Brand pentru Fiecare Rețea Socială */
.social-link[href*="facebook"] {
    background: #3b5998;
}

.social-link[href*="linkedin"] {
    background: #0077b5;
}

.social-link[href*="twitter"] {
    background: #1DA1F2;
}

.social-link[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link[href*="youtube"] {
    background: #FF0000;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* GDPR Banner */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 31, 43, 0.98);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    display: none;
}

.gdpr-banner.show {
    display: block;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    top: calc(50% + 5px);
    right: 20px;
    width: 45px;
    height: 45px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

/* Phone Button */
.phone-float {
    position: fixed;
    top: calc(50% - 55px);
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(3, 85, 126, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    text-decoration: none;
}

/* Mobile: butoane floating jos — nu acoperă conținutul la scroll */
@media (max-width: 768px) {
    .phone-float {
        top: auto;
        bottom: 20px;
        right: 12px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .whatsapp-float {
        top: auto;
        bottom: 80px;
        right: 12px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        margin: 0;
    }

    body.gdpr-banner-visible .phone-float {
        bottom: 110px;
    }

    body.gdpr-banner-visible .whatsapp-float {
        bottom: 170px;
    }
}

/* Hero Mobile Image - Hidden on desktop */
.hero-mobile-image {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-mobile-image {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Pe mobil, coloanele se stivează vertical */
    .hero-section .row > .col-lg-5 {
        margin-top: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .client-logo-box {
        padding: 15px;
        height: 80px;
    }
    
    .client-logo-box img {
        max-height: 50px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-custom {
        width: 100%;
        text-align: center;
    }

    .section-modern {
        padding: 60px 0;
    }

    /* AOS: fade-left/right rămân invizibile dacă animația nu pornește pe mobil */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }

    #contact.contact-section {
        padding-bottom: 100px;
    }

    body.gdpr-banner-visible #contact.contact-section {
        padding-bottom: 180px;
    }
}

/* Imagini Portofoliu - Stiluri Speciale */
.portfolio-img {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.portfolio-img:hover {
    border-color: var(--secondary-light);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.15);
    transform: scale(1.03);
}

/* Accentuări Text Importante */
.text-accent {
    color: var(--secondary-color);
    font-weight: 600;
}

.text-primary-custom {
    color: var(--primary-color);
    font-weight: 600;
}

/* Badge-uri Personalizate */
.badge-custom-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animație Puls pentru Acțiuni Importante */
@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 102, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 102, 0, 0.35);
    }
}

.pulse-effect {
    animation: pulse-orange 2s infinite;
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero Image Gallery */
.hero-image-box {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.2);
}

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 3/4;
    transition: transform 0.5s ease;
}

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

/* Service Image Instead of Icon */
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

/* Portfolio Gallery */
.portfolio-image-box {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.portfolio-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

.portfolio-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

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

/* Client Logos */
.client-logo-box {
    background: white;
    border-radius: 12px;
    padding: 15px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.client-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.client-logo-box img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Custom 5 columns per row for client logos */
@media (min-width: 992px) {
    .col-lg-5th {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Buton Cerere Ofertă pentru homepage */
.btn-request-quote-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-lighter);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(3, 85, 126, 0.1);
    z-index: 10;
    position: relative;
}

.btn-request-quote-home:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 85, 126, 0.2);
}

.btn-request-quote-home i {
    font-size: 1rem;
}

/* Container pentru buton în card */
.service-card-button-wrapper {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Chat Modal Styles */
.chat-message {
    display: flex;
    margin-bottom: 10px;
    animation: fadeInUp 0.3s ease;
}

#chatInputArea {
    margin-top: 0;
    padding-top: 0;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 75%;
    padding: 12px 18px;
    border-radius: 18px;
    word-wrap: break-word;
}

.chat-message.bot .chat-bubble {
    background: white;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chat-message.user .chat-bubble {
    background: var(--primary-color);
    color: white;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
}

.chat-option-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.chat-option-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.chat-input-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.chat-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 85, 126, 0.1);
}

.chat-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.chat-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.chat-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 85, 126, 0.1);
}
/* Smooth scroll nativ pentru containerul modalului */
#chatModal .modal-body{
  overflow-y: auto;
  /* scroll-behavior: smooth;  <-- SCOATE */
  -webkit-overflow-scrolling: touch; /* iOS */
  overscroll-behavior: contain;
}

/* Ajustări pentru mobile */
@media only screen and (max-width: 768px) {
    #chatModal .modal-dialog {
        margin: 0 !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    #chatModal .modal-dialog-centered {
        min-height: auto !important;
    }
    
    #chatModal .modal-content {
        height: 540px !important; /* 90% din 600px = 540px */
        margin: 0 !important;
        border-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
    
    /* Forțează modalul să fie sus pe mobile */
    #chatModal.show .modal-dialog {
        transform: translate(0, 0) !important;
    }
}
/* === Inner pages: same look as homepage, compact heroes === */
body.page-inner,
body.page-legal {
    padding-top: 80px;
    background: var(--light-color);
}

.navbar-modern .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    background: var(--primary-lighter);
}

.navbar-modern.fixed-top + .breadcrumb-nav,
.breadcrumb-nav.with-offset {
    margin-top: 0;
}

.breadcrumb-nav {
    background: #f8f9fa;
    padding: 10px 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Homepage hero = full screen; inner pages = compact */
body.page-inner .hero-section,
body.page-legal .hero-section,
body.page-inner section.hero-section {
    min-height: auto;
    display: block;
    padding: 50px 0;
    text-align: center;
}

body.page-inner .hero-section h1,
body.page-legal .hero-section h1,
body.page-inner section.hero-section h1 {
    font-size: 2.25rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

body.page-inner .hero-section .subtitle,
body.page-inner section.hero-section .subtitle {
    font-size: 1.1rem;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* Legal pages */
body.page-legal {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}
.legal-main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 15px;
}
.legal-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 40px;
}
.legal-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}
.legal-content-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.8;
}
.legal-highlight-box {
    background: var(--primary-lighter);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}
.legal-email-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.legal-email-link:hover {
    color: var(--secondary-color);
}

/* Servicii */
.hero-services {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-lighter) 50%, var(--primary-lighter) 100%);
    color: var(--dark-color);
    padding: 60px 0;
    margin-bottom: 40px;
}
.service-detail {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}
.service-detail:hover {
    box-shadow: 0 15px 50px rgba(3, 85, 126, 0.12);
    border-left-color: var(--secondary-color);
    transform: translateY(-5px);
}
.service-detail h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}
.service-detail h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    font-weight: 600;
}
.service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-medium);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(184, 217, 232, 0.3);
}
.service-gallery {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
.service-gallery-item {
    flex: 1;
    min-width: 200px;
    max-width: 32%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.service-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.feature-box {
    background: linear-gradient(to bottom, white 0%, var(--primary-lighter) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--primary-light);
    transition: all 0.3s ease;
}
.feature-box:hover {
    border-color: var(--secondary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 217, 232, 0.3);
}
.cta-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-lighter) 100%);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(184, 217, 232, 0.3);
}
.btn-light-custom {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-light-custom:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}
.btn-request-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-lighter);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.btn-request-quote:hover {
    background: var(--primary-color);
    color: white;
}
/* === Blog === */
.blog-hero {
    background: var(--gradient-soft);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}
.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.blog-hero p {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.9;
}
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(3, 85, 126, 0.2);
}
.blog-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.blog-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}
.blog-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-card-title a:hover {
    color: var(--primary-color);
}
.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.blog-card-meta i {
    color: var(--primary-color);
}
.blog-card-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.blog-card-read-more:hover {
    color: var(--secondary-color);
    gap: 10px;
}
.blog-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.blog-sidebar h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-lighter);
}
.blog-sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.blog-sidebar-item:last-child {
    border-bottom: none;
}
.blog-sidebar-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.blog-sidebar-item a:hover {
    color: var(--primary-color);
}
.blog-sidebar-item small {
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

/* Blog article page */
.blog-article-hero {
    background: var(--gradient-soft);
    padding: 50px 0 30px;
}
.blog-article-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    line-height: 1.8;
}
.blog-article-content h2 {
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.blog-article-content h3 {
    color: var(--dark-color);
    margin-top: 25px;
    margin-bottom: 12px;
}
.blog-article-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.blog-article-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Blog article single page */
.article-header {
    background: var(--gradient-soft);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}
.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}
.article-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}
.article-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.article-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    line-height: 1.8;
}
.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}
.article-content h2:first-of-type {
    margin-top: 0;
}
.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 15px;
}
.article-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
}
.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}
.article-content li {
    margin-bottom: 10px;
}
.article-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.article-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.article-cta {
    background: var(--gradient-medium);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}
.article-cta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.article-cta .btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.article-cta .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .article-title { font-size: 1.75rem; }
    .article-content { padding: 25px; }
    .article-featured-image { height: 250px; }
}
/* === Page-specific heroes === */
.hero-services,
.hero-map,
.hero-models,
.hero-about,
.hero-partners {
    background: var(--gradient-hero);
    color: var(--dark-color);
    padding: 60px 0 40px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(3, 85, 126, 0.08);
}

.hero-map { padding-bottom: 30px; }
.hero-models h1,
.hero-about h1,
.hero-partners h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero-models p,
.hero-about .lead,
.hero-partners .lead {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Acoperire */
.coverage-stat {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.coverage-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 85, 126, 0.15);
}
.coverage-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.coverage-stat p {
    color: var(--text-light);
    font-weight: 500;
}
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    background: white;
}
#map_canvas {
    width: 100%;
    height: 500px;
    min-height: 400px;
}
.cities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 15px;
    list-style: none;
    padding: 20px;
    background: var(--primary-lighter);
    border-radius: 12px;
    margin: 20px 0;
}
.cities-list li {
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 3px solid var(--primary-color);
}

/* Parteneri */
.stats-box {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: -40px auto 40px;
    position: relative;
    z-index: 2;
    max-width: 1140px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}
.partner-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(3, 85, 126, 0.15);
    border-color: var(--primary-light);
}
.partner-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}
.partner-card:hover img {
    filter: grayscale(0%);
}
.intro-text-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    line-height: 1.8;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}
body.page-inner .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Modele gallery */
.text-primary-dark { color: var(--primary-color); }
.gallery-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    background: #eee;
    transition: all 0.3s ease;
}
.gallery-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(3, 85, 126, 0.2);
}
.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.gallery-container:hover img {
    transform: scale(1.05);
}
.gallery-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 15px 15px;
    font-weight: 500;
}
.gallery-container.selected {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}
.selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 5;
    font-size: 14px;
}
#butcere {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 5px 25px rgba(3, 85, 126, 0.4);
}
@media (max-width: 576px) {
    #butcere {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: calc(100% - 24px);
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* De ce noi */
.feature-card {
    background: linear-gradient(to bottom, white 0%, var(--primary-lighter) 100%);
    border-radius: 20px;
    padding: 35px 25px;
    height: 100%;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 2px solid var(--primary-light);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-light);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.15);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}
.feature-card h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.benefit-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-medium);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}
.benefit-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}
.benefit-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}
.image-showcase {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}
.image-showcase img {
    width: 100%;
    display: block;
}
.process-step {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 85, 126, 0.12);
}
.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
}
.btn-cta {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(3, 85, 126, 0.3);
    cursor: pointer;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    color: white;
}
section.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    margin-top: 40px;
}
section.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}
section.cta-section p {
    opacity: 0.95;
    margin-bottom: 25px;
}
.parteneri .cta-section,
body.page-inner .container > .cta-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-lighter) 100%);
    color: var(--dark-color);
    border-radius: 20px;
    padding: 50px 30px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(184, 217, 232, 0.3);
}
body.page-inner .container > .cta-section h2 {
    color: var(--dark-color);
}

/* Termeni / politica - hero soft, text lizibil */
body.page-inner section.hero-section {
    background: var(--gradient-hero);
    color: var(--dark-color);
    padding: 55px 0;
    text-align: center;
    min-height: auto;
    display: block;
    border-bottom: 1px solid rgba(3, 85, 126, 0.08);
}
body.page-inner section.hero-section h1 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    color: var(--dark-color) !important;
    font-weight: 800;
}
body.page-inner section.hero-section h1 i {
    color: var(--primary-color);
}
body.page-inner section.hero-section .subtitle {
    font-size: 1.1rem;
    color: #374151 !important;
    opacity: 1;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.65;
}
.content-section {
    padding: 50px 0;
}
.content-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    line-height: 1.8;
}
.content-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-lighter);
}
.content-card h2:first-child,
.content-card h3:first-child {
    margin-top: 0;
}
.toc-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    border-left: 4px solid var(--primary-color);
}
.toc-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.toc-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-box ul li {
    margin-bottom: 8px;
}
.toc-box ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
    padding: 5px 0;
}
.toc-box ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}
.update-badge {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.highlight-box {
    background: var(--secondary-lighter);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}
.cta-card {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--secondary-lighter) 100%);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    margin: 30px 0;
    border: 2px solid var(--primary-light);
}
.faq-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.faq-item:last-child {
    border-bottom: none;
}

/* Distributie flyere - green theme (override homepage hero) */
div.hero-section {
    min-height: auto !important;
    display: block !important;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%) !important;
    color: white;
    padding: 60px 0;
    text-align: center;
}
div.hero-section h1 {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
div.hero-section p {
    color: rgba(255,255,255,0.95);
}

.btn-hero {
    background: white;
    color: #4CAF50;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    cursor: pointer;
}
.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.main-container {
    background: #f9f9f9;
    padding-bottom: 20px;
}
.main-container .service-card {
    background: white;
    border-radius: 15px;
    padding: 0 0 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    height: auto;
    cursor: default;
}
.main-container .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: white;
    border-color: transparent;
}
.main-container .service-card.featured {
    background: #e8f5e9;
    border: 2px solid #4CAF50;
}
.service-card-header {
    text-align: center;
    padding: 30px 20px 15px;
}
.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: white;
}
.main-container .service-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}
.main-container .service-card ul {
    list-style: none;
    padding: 0 25px;
    margin: 0;
}
.main-container .service-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}
.main-container .service-card ul li:last-child {
    border-bottom: none;
}
.main-container .service-card ul li i {
    color: #4CAF50;
    margin-top: 3px;
    flex-shrink: 0;
}
.features-section {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.features-section h2 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 30px;
    font-size: 1.5rem;
}
.feature-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    line-height: 1.6;
}
.feature-item:hover {
    background: #e8f5e9;
    transform: translateX(8px);
}
.feature-item i {
    color: #4CAF50;
    font-size: 1.3rem;
    margin-right: 8px;
}
.main-container .cta-section {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    margin: 30px 0;
}
.main-container .cta-section h2 {
    color: white;
    margin-bottom: 15px;
}
.main-container .cta-section .btn-cta {
    background: white;
    color: #4CAF50;
}
.main-container .cta-section .btn-cta:hover {
    color: #388E3C;
}
#footer {
    background: #333;
    color: #ccc;
    padding: 50px 0 30px;
    margin-top: 40px;
}
#footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
#footer ul {
    list-style: none;
    padding: 0;
}
#footer ul li {
    margin-bottom: 8px;
}
#footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}
#footer a:hover {
    color: #8BC34A;
    padding-left: 5px;
}

/* Parteneri footer */
body.page-inner > footer:not(.bg-dark):not(.footer-modern) {
    background: var(--dark-color);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 30px;
    margin-top: 40px;
}
body.page-inner > footer:not(.bg-dark):not(.footer-modern) h5 {
    color: white;
    margin-bottom: 15px;
}
body.page-inner > footer:not(.bg-dark):not(.footer-modern) a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
body.page-inner > footer:not(.bg-dark):not(.footer-modern) a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-models h1,
    .hero-about h1,
    .hero-partners h1 {
        font-size: 1.75rem;
    }
    .coverage-stat h3 { font-size: 2rem; }
    #map_canvas { height: 350px; }
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    .partner-card { min-height: 90px; padding: 12px; }
    .gallery-container { height: 300px; }
    .toc-box { position: static; margin-bottom: 25px; }
    body.page-inner section.hero-section h1,
    div.hero-section h1 { font-size: 1.5rem; }
    .stats-box { margin-top: -20px; padding: 25px 15px; }
    .stat-number { font-size: 2rem; }
}
/* === Evenimente / Portofoliu galerie === */
.hero-portfolio {
    background: var(--gradient-hero);
    color: var(--dark-color);
    padding: 60px 0 40px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .hero-portfolio {
        padding: 32px 0 28px;
    }
    .hero-portfolio h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        padding: 0 12px;
    }
    .hero-portfolio .lead {
        font-size: 1rem;
        padding: 0 12px;
    }
}
.hero-portfolio h1 {
    color: var(--dark-color);
    font-weight: 800;
}
.hero-portfolio .lead {
    color: #374151;
    font-weight: 500;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 22px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(3, 85, 126, 0.2);
}

.gallery-item-wrapper {
    margin-bottom: 0;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(3, 85, 126, 0.18);
}
.gallery-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.04);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(20, 31, 43, 0.85) 0%, rgba(20, 31, 43, 0.1) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-caption {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}
.gallery-caption i {
    color: var(--secondary-light);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .gallery-item img {
        height: 260px;
    }
    .category-intro {
        padding: 0 12px;
        font-size: 0.95rem;
    }
    .category-seo-blocks .content-card {
        padding: 1.25rem;
    }
}

.info-box {
    background: var(--primary-lighter, #e6f2f7);
    border-left: 4px solid var(--primary-color, #03557e);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.category-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.category-seo-blocks {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
/* Homepage hero - protecție împotriva stilurilor pagini interne */
section#acasa.hero-section {
    background: var(--gradient-hero) !important;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    text-align: left;
    color: var(--dark-color);
    padding: 80px 0;
}

section#acasa.hero-section::before {
    opacity: 0.25;
}

section#acasa .hero-content {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 8px 32px rgba(20, 31, 43, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

section#acasa .hero-title {
    color: var(--dark-color) !important;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
}

section#acasa .hero-subtitle {
    color: #1e3a4f !important;
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 1;
}

section#acasa .hero-features li {
    color: #1f2937 !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    section#acasa.hero-section {
        min-height: auto;
        padding-top: 120px;
    }
    section#acasa .hero-title {
        font-size: 2rem;
    }
}

/* Pagini legale: Termeni, Politică anulare etc. - hero deschis, contrast maxim */
body.page-inner section.hero-section:not(#acasa) {
    background: linear-gradient(180deg, #f4f8fb 0%, #fafbfc 100%) !important;
    color: #141f2b !important;
    min-height: auto !important;
    display: block !important;
    padding: 55px 0 !important;
    text-align: center;
    border-bottom: 1px solid rgba(3, 85, 126, 0.1);
}

body.page-inner section.hero-section:not(#acasa)::before {
    display: none !important;
}

body.page-inner section.hero-section:not(#acasa) h1 {
    color: #141f2b !important;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 15px;
}

body.page-inner section.hero-section:not(#acasa) h1 i {
    color: var(--primary-color) !important;
}

body.page-inner section.hero-section:not(#acasa) .subtitle,
body.page-inner section.hero-section:not(#acasa) p.subtitle {
    color: #374151 !important;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 1 !important;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

@media (max-width: 768px) {
    body.page-inner section.hero-section:not(#acasa) h1 {
        font-size: 1.6rem;
    }
}