/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1a5f3f;
    --primary-dark: #0f3d28;
    --primary-light: #2d8f5f;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-dark: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.registered {
    font-size: 0.8em;
    vertical-align: super;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 0;
    transform: scale(1.1);
    opacity: 0.7;
    filter: none !important;
    -webkit-filter: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 95, 63, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glass-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 800px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    transform: translateY(0) rotateX(1deg) rotateY(-1deg);
}

.hero-glass-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.7;
    filter: blur(15px);
}

.hero-content:hover .hero-glass-container {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 40px 100px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.15);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.btn-primary:hover {
    background: #e8954a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.5);
}

.hero-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-hero {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.btn-hero:hover {
    background: #e8954a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.5);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.service-content {
    color: var(--text-dark);
}

.service-content > p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-feature {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-light);
}

.service-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-feature p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Guarantee Section */
.guarantee {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.guarantee-header {
    text-align: center;
    margin-bottom: 4rem;
}

.guarantee-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

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

.guarantee-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.guarantee-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.guarantee-card.highlight {
    background: rgba(244, 162, 97, 0.2);
    border-color: var(--secondary-color);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guarantee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.guarantee-card p {
    line-height: 1.8;
    opacity: 0.95;
}

.guarantee-card strong {
    color: var(--secondary-color);
}

/* TikTok Section */
.tiktok-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.tiktok-carousel-container {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
    pointer-events: none;
}

.tiktok-carousel {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: none;
    pointer-events: none;
}

.tiktok-carousel.animate {
    animation: tiktokScroll 25s linear infinite;
}

.tiktok-carousel:hover {
    animation-play-state: running;
}

@keyframes tiktokScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

.tiktok-video-wrapper {
    width: 100%;
    max-width: 380px;
    min-width: 325px;
    background: white;
    border-radius: 15px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    flex-shrink: 0;
}

.tiktok-video-wrapper:hover {
    transform: none;
    box-shadow: var(--shadow);
    pointer-events: none;
}

.tiktok-video-wrapper blockquote {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.tiktok-video-wrapper iframe {
    width: 100% !important;
    height: 700px !important;
    border-radius: 15px;
    border: none;
    display: block;
    pointer-events: none;
}

.tiktok-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Certificates Section */
.certificates-gallery-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

/* Loading Screen for Certificates */
.certificates-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 400px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.certificates-loading p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.certificates-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.certificates-column {
    display: flex;
    flex-direction: column;
}

.certificates-column .column-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.certificates-showcase {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.certificate-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certificate-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    text-align: center;
}

.certificate-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 200px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #e8e8e8 0%,
        #f0f0f0 50%,
        #e8e8e8 100%
    );
    background-size: 200% 100%;
    animation: certificate-skeleton-shimmer 1.2s ease-in-out infinite;
}

.certificate-image-container.loaded .certificate-skeleton {
    display: none;
}

@keyframes certificate-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.certificate-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.3s ease;
}

.certificate-image-container.loaded .certificate-image {
    opacity: 1;
}

.certificate-image-container:hover .certificate-image {
    transform: scale(1.05);
}

.certificate-view-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.certificate-view-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

/* Remove certificate-info styles as we're using overlay only */

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.certificate-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.certificate-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.certificate-modal-content h3 {
    display: none;
}

.certificate-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.certificate-modal-close:hover {
    background: rgba(231, 111, 81, 0.9);
    transform: scale(1.1) rotate(90deg);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Locations Section */
.locations-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

/* Map Section */
.map-section {
    margin-top: 3rem;
    width: 100%;
}

.map-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.romania-map {
    width: 100%;
    height: 500px;
    min-height: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 3px solid var(--primary-color);
    position: relative;
    background-color: #f0f0f0;
}

/* Leaflet Map Customization */
.romania-map .leaflet-container {
    height: 100% !important;
    width: 100% !important;
    border-radius: 17px;
    z-index: 1;
}

/* Ensure Leaflet tiles load */
.romania-map .leaflet-tile-container {
    visibility: visible !important;
}

.romania-map .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.romania-map .leaflet-popup-content {
    margin: 1rem;
    font-family: 'Inter', sans-serif;
}

.romania-map .leaflet-popup-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.romania-map .leaflet-popup-content p {
    color: var(--text-light);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Custom Marker Icon */
.custom-marker-icon {
    background-color: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.email-item {
    position: relative;
    cursor: pointer;
}

.email-tooltip {
    position: absolute;
    bottom: -45px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    pointer-events: none;
}

.email-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--primary-color);
}

.email-item:hover .email-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-form-container {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    justify-items: center;
}

.partner-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    pointer-events: none;
    user-select: none;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 95, 63, 0.05) 0%, rgba(15, 61, 40, 0.08) 100%);
}

.reviews-slider-wrap {
    position: relative;
    margin-top: 3rem;
    padding: 0 40px;
}

.reviews-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: var(--transition);
}

.reviews-nav-btn:hover {
    background: var(--primary-dark);
}

.reviews-nav-prev {
    left: 0;
}

.reviews-nav-next {
    right: 0;
}

.reviews-slider .reviews-loading {
    flex: 1;
    min-width: 100%;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.review-card {
    flex-shrink: 0;
    min-width: 300px;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(26, 95, 63, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.review-author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-rating {
    flex-shrink: 0;
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 1rem 0;
}

.review-star {
    color: #FFB800;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.reviews-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.reviews-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.reviews-cta .btn span {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.reviews-cta .btn:hover span {
    transform: translateX(5px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
    width: fit-content;
    min-width: 120px;
}

.reviews-form-wrap {
    max-width: 560px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 95, 63, 0.1);
}

.reviews-form-title {
    margin: 0 0 1.25rem 0;
    font-size: 1.35rem;
    color: var(--text-dark);
}

.review-form .form-group {
    margin-bottom: 1rem;
}

.review-form .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: var(--text-dark);
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    font-size: 1.75rem;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #ddd;
    transition: color 0.2s;
}

.star-btn:hover,
.star-btn.active {
    color: #FFB800;
}

.review-form-message {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.partner-item img {
    width: 5cm;
    height: 5cm;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    cursor: default;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-simple {
    text-align: center;
    width: 100%;
}

.footer-simple h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.footer-simple p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0 0 1.5rem 0;
}

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

.footer-content:has(.footer-brand:only-child) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-brand {
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links h4,
.footer-certifications h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-certifications p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    margin-top: 1rem;
    width: 100%;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

/* Glass Effect Footer for Certificate Page */
.footer-glass {
    background: linear-gradient(135deg, rgba(26, 95, 63, 0.3) 0%, rgba(15, 61, 40, 0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(26, 95, 63, 0.3);
    padding: 4rem 0;
    position: relative;
}

.footer-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 95, 63, 0.2) 0%, rgba(15, 61, 40, 0.3) 100%);
    z-index: -1;
}

.footer-glass-content {
    text-align: center;
    padding: 2.5rem;
    background: rgba(26, 95, 63, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(26, 95, 63, 0.4);
    box-shadow: 0 8px 32px rgba(26, 95, 63, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.footer-glass-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-glass-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
}

/* Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    height: 500px;
    max-height: calc(100vh - 150px);
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: var(--transition);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.25rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-header p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8f9fa;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.message {
    display: flex;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.message-content {
    max-width: 75%;
    padding: 0.875rem 1.25rem;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .message-content {
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chatbot-input-container {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 20px 20px;
    gap: 0.75rem;
}

#chatbotInput {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

#chatbotInput:focus {
    border-color: var(--primary-color);
}

#chatbotSend {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

#chatbotSend:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

#chatbotSend:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

    .romania-map {
        height: 400px;
    }

    .map-section h3 {
        font-size: 1.5rem;
    }

    .reviews-section {
        padding: 3rem 0;
    }

    .reviews-slider-wrap {
        margin-top: 2rem;
    }

    .reviews-slider {
        gap: 16px;
        padding: 16px 0;
    }

    .review-card {
        min-width: 90%;
    }

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

    .nav-menu a {
        padding: 1rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .container {
        padding: 0 16px;
    }

    .reviews-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .reviews-slider-wrap {
        padding: 0 36px;
    }

    .reviews-nav-prev {
        left: 0;
    }

    .reviews-nav-next {
        right: 0;
    }

    .hero-badges {
        flex-direction: column;
    }

    .chatbot-container {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 80px;
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
    }

    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .tiktok-carousel-container {
        padding: 1rem 0;
    }

    .tiktok-carousel {
        gap: 1.5rem;
    }

    .tiktok-video-wrapper {
        min-width: 280px;
        max-width: 280px;
    }

    .partners-section {
        padding: 3rem 0;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .partner-item {
        min-width: 100px;
        padding: 0.75rem;
    }

    .partner-item img {
        width: 3cm;
        height: 3cm;
    }

    .certificates-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .certificates-column .column-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .certificates-showcase {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .certificate-title {
        font-size: 1rem;
    }
    
    .certificate-image-container {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .partners-section {
        padding: 2rem 0;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .reviews-section {
        padding: 2rem 0;
    }

    .reviews-slider {
        gap: 12px;
        padding: 12px 0.5rem;
    }

    .review-card {
        min-width: 90%;
        padding: 1.5rem;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .reviews-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .partner-item {
        min-width: 80px;
        padding: 0.5rem;
    }

    .partner-item img {
        width: 2.5cm;
        height: 2.5cm;
    }

    .service-card,
    .contact-form-container {
        padding: 1.5rem;
    }

    .guarantee-card {
        padding: 2rem;
    }
}

