:root {
    --primary: 189 100% 23%;
    --primary-glow: 194 100% 46%;
    --primary-dark: 189 100% 15%;
    --secondary: 194 73% 56%;
    --accent: 43 96% 56%;
    --dark: 220 13% 9%;
    --light: 210 40% 98%;
    --gray: 220 9% 46%;
    --border: 214 32% 91%;
    --success: 142 71% 45%;
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-hero: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-glow)) 100%);
    --shadow: 0 10px 40px hsla(var(--primary), 0.12);
    --shadow-lg: 0 20px 60px hsla(var(--primary), 0.20);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
    background: hsl(var(--light));
    color: hsl(var(--dark));
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid hsla(var(--border), 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 8px 24px hsla(var(--primary), 0.3);
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(-5deg);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: hsl(var(--dark));
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px hsla(var(--primary), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px hsla(var(--primary), 0.4);
}

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

.btn-outline:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-3px);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: hsl(var(--primary));
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, hsla(var(--primary-glow), 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, hsla(var(--accent), 0.15) 0%, transparent 50%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-text .highlight {
    position: relative;
    display: inline-block;
    font-weight: 900;
    color: var(--primary);
    background-image: url('https://www.summitriseit.com/assets/images/LOGO_bleu_light_mode.png');
    background-size: 200% auto; 
    background-repeat: repeat-x;
    background-position: 0 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: mountainsMove 6s linear infinite;
}

@keyframes mountainsMove {
    0%   { background-position: 0% 50%; }
    100% { background-position: -200% 50%; }
}

.hero-text p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-visual-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.demo-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.demo-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
}

.demo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.play-button-large {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.demo-preview:hover .play-button-large {
    transform: scale(1.1);
}

.play-button-large i {
    font-size: 2rem;
    color: hsl(var(--primary));
}

.demo-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.demo-subtitle {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-top: 0.3rem;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.demo-feature {
    text-align: center;
}

.demo-feature-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto 0.5rem;
}

.demo-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: hsl(var(--dark));
    margin-bottom: 0.2rem;
}

.demo-feature p {
    font-size: 0.75rem;
    color: hsl(var(--gray));
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.stats {
    padding: 5rem 0;
    background: white;
    border-bottom: 1px solid hsl(var(--border));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(var(--primary), 0.05), rgba(var(--primary-glow), 0.05));
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(var(--dark));
}

.stat-description {
    font-size: 0.9rem;
    color: hsl(var(--gray));
    margin-top: 0.5rem;
}

.companies {
    padding: 5rem 0;
    background: white;
}

.companies h4 {
    text-align: center;
    color: hsl(var(--gray));
    font-weight: 600;
    margin-bottom: 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.company-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
    max-width: 120px;
    margin: 0 auto;
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.services { padding: 7rem 0; background: hsl(var(--light)); }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-title { font-size: 3.5rem; font-weight: 800; font-family: 'Outfit', sans-serif; color: hsl(var(--dark)); margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 100px; height: 5px; background: var(--gradient-primary); border-radius: 3px; }
.section-subtitle { font-size: 1.2rem; color: hsl(var(--gray)); max-width: 600px; margin: 2rem auto 0; }

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px; 
}

.carousel-wrapper {
    position: relative;
    padding: 0;
    overflow: visible;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.carousel-track {
    overflow: hidden;
    width: 100%;
    position: relative; 
}

.carousel-button {
    position: absolute;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid hsl(var(--primary));
    border-radius: 50%;
    color: hsl(var(--primary));
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px hsla(var(--primary), 0.15);
}


.carousel-button:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px hsla(var(--primary), 0.3);
}
.carousel-button:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px hsla(var(--primary), 0.3);
}

.carousel-button.prev {
    left: -70px;       
}

.carousel-button.next {
     right: -70px;      
}

.carousel-item {
    flex: 0 0 calc((100% / 3) - 1.67rem);
    opacity: 0.5;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
    height: auto !important;
    
    display: flex;
    align-items: stretch;
}

.carousel-items {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    align-items: flex-start !important;   
}

.service-card,
.testimonial-card,
.portfolio-item,
.team-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    
    height: 100% !important;          
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    min-height: 400px;
    border: 2px solid transparent;
    max-width: 420px;
    margin: 0 auto;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    border-color: hsla(var(--primary-glow), 0.25);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, hsla(var(--primary-glow), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover::after {
    opacity: 1;
    animation: rotate 20s linear infinite;
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--dark));
    margin-bottom: 1rem;
    min-height: 5.5rem;                
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card p {
    color: hsl(var(--gray));
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;                      
    
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card .read-more-btn {
    margin-top: auto;                  
    align-self: flex-start;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-icon {
    width: 75px;
    height: 75px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px hsla(var(--primary), 0.3);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px hsla(var(--primary), 0.4);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--dark));
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.2rem;
}

.service-card p {
    color: hsl(var(--gray));
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 7.2rem;
}


.testimonials .carousel-track {
    overflow: hidden;
}

.testimonials .carousel-item {
    flex: 0 0 370px !important;   
    max-width: 370px !important;  
    width: 370px !important;     
    height: 420px !important;     
    margin: 0 auto;               
    display: flex !important;
    align-items: stretch;
}

.testimonials .carousel-item {
    flex: 0 0 370px !important;
    max-width: 370px !important;
    width: 370px !important;
    height: auto !important;
    min-height: 450px;           
    margin: 0 auto;
    display: flex !important;
    align-items: stretch;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;             
}

.testimonial-card {
    width: 100% !important;
    height: 100% !important;
    min-height: 450px;           
    display: flex !important;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: white;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card.expanded {
    min-height: auto !important;
    height: auto !important;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: translateY(-12px);
    z-index: 10;
}

.testimonial-text {
    flex-grow: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: hsl(var(--dark));
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.testimonial-text.expanded {
    -webkit-line-clamp: unset;
    max-height: none !important;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid hsla(0, 0%, 0%, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.read-more-btn {
    background: none;
    border: none;
    color: hsl(var(--primary-glow));
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    padding: 0;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: hsl(var(--primary));
}

.read-more-btn.less i {
    transform: rotate(180deg);
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.stars i {
    color: hsl(var(--accent));
    font-size: 1.2rem;
    transition: var(--transition);
}

.testimonial-card:hover .stars i {
    transform: scale(1.1);
}
.stars .fa-star.filled {
    color: hsl(var(--accent)); 
}

.testimonial-card:hover .stars .fa-star {
    animation: starPop 0.4s ease-in-out;
}

@keyframes starPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid hsl(var(--primary));
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#avatarPreviewImg {
    transition: all 0.4s ease;
}
.avatar-circle:hover #avatarPreviewImg {
    transform: scale(1.08);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.author-info h5 {
    font-weight: 700;
    color: hsl(var(--dark));
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info p {
    color: hsl(var(--primary-glow));
    font-size: 0.9rem;
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

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

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

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 32px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 32px 32px 0 0;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid hsl(var(--border));
}

.modal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.modal-close {
    background: hsl(var(--light));
    border: none;
    font-size: 1.5rem;
    color: hsl(var(--gray));
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: hsl(var(--primary));
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px hsla(var(--primary), 0.3);
}

.modal-body {
    display: grid;
    gap: 1.8rem;
}

.rating-input {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.rating-input label {
    font-weight: 600;
    color: hsl(var(--dark));
    margin: 0;
    font-size: 1.05rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2.2rem;
}

.star-rating i {
    color: hsl(var(--border));
    cursor: pointer;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.star-rating i:hover,
.star-rating i.active {
    color: hsl(var(--accent));
    transform: scale(1.2) rotate(-10deg);
}

.star-rating i.active {
    animation: starPop 0.3s ease;
}

@keyframes starPop {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.4); }
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: hsl(var(--light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 1rem auto;
    border: 4px solid hsl(var(--primary));
    box-shadow: 0 8px 24px hsla(var(--primary), 0.2);
    transition: var(--transition);
}

.avatar-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px hsla(var(--primary), 0.3);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-group .btn {
    flex: 1;
    justify-content: center;
}

.btn-secondary {
    background: hsl(var(--light));
    color: hsl(var(--dark));
    border: 2px solid hsl(var(--border));
}

.btn-secondary:hover {
    background: hsl(var(--gray));
    color: white;
    border-color: hsl(var(--gray));
    transform: translateY(-3px);
}

.faq {
    padding: 7rem 0;
    background: hsl(var(--light));
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 2rem;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: hsl(var(--dark));
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: hsl(var(--primary));
}

.faq-question i {
    font-size: 1.2rem;
    color: hsl(var(--primary));
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 2rem 2rem 2rem;
    color: hsl(var(--gray));
    line-height: 1.8;
}

.portfolio {
    padding: 7rem 0;
    background: white;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid hsl(var(--border));
    background: white;
    color: hsl(var(--gray));
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.portfolio-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

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

.portfolio-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-media video,
.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-media video,
.portfolio-item:hover .portfolio-media img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 2;
}

.portfolio-media:hover .play-button {
    transform: scale(1.1);
}

.play-button i {
    font-size: 1.8rem;
    color: hsl(var(--primary));
    margin-left: 3px;
}

.portfolio-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(var(--primary), 0.1);
    color: hsl(var(--primary));
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--dark));
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.5rem;
}

.portfolio-title.expanded {
    -webkit-line-clamp: unset;
    max-height: none !important;
}

.portfolio-description {
    font-size: 0.95rem;
    color: hsl(var(--gray));
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 5.1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    width: fit-content;
}

.portfolio-link:hover {
    color: hsl(var(--primary-glow));
    transform: translateX(5px);
}

.team {
    padding: 7rem 0;
    background: linear-gradient(180deg, hsl(var(--light)) 0%, white 50%, hsl(var(--light)) 100%);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, hsla(var(--primary-glow), 0.08), transparent 50%),
                radial-gradient(circle at 80% 50%, hsla(var(--accent), 0.08), transparent 50%);
    pointer-events: none;
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.team-card:hover {
    border-color: hsla(var(--primary-glow), 0.25);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 24px 24px 0 0;
}
.team-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.team-card:hover .team-image-wrapper::before {
    transform: scaleX(1);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, hsla(var(--primary), 0.95), hsla(var(--primary-glow), 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: 24px 24px 0 0;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    font-size: 1.2rem;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
    text-decoration: none;
}

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

.team-card:hover .social-link:nth-child(1) { transition-delay: 0.1s; }
.team-card:hover .social-link:nth-child(2) { transition-delay: 0.2s; }
.team-card:hover .social-link:nth-child(3) { transition-delay: 0.3s; }

.social-link:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.team-info {
    padding: 2.5rem;
}

.team-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--dark));
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(var(--primary-glow));
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    line-height: 1.4;
    max-height: 1.6em;
    transition: all 0.4s ease;
}

.team-role.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.team-role + .read-more-btn.role-toggle {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-description {
    color: hsl(var(--gray));
    line-height: 1.8;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-badge {
    padding: 0.5rem 1rem;
    background: hsla(var(--primary-glow), 0.1);
    color: hsl(var(--primary));
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.skill-badge:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.contact {
    padding: 7rem 0;
    background: hsl(var(--light));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: hsl(var(--dark));
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid hsl(var(--border));
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 4px hsla(var(--primary), 0.1);
}

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

.contact-info {
    background: var(--gradient-primary);
    padding: 4rem 3rem;
    border-radius: 24px;
    color: white;
}

.contact-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
}

.info-list {
    list-style: none;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-item-content h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.info-item-content p {
    opacity: 0.9;
}

.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h5 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1.5rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

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

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

.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-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
    border: none;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

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

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

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid hsl(var(--border));
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--dark));
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: hsl(var(--gray));
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: hsl(var(--primary));
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    gap: 1.5rem;
}

.rating-input {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rating-input label {
    font-weight: 600;
    color: hsl(var(--dark));
    margin: 0;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
}

.star-rating i {
    color: hsl(var(--border));
    cursor: pointer;
    transition: var(--transition);
}

.star-rating i:hover,
.star-rating i.active {
    color: hsl(var(--accent));
    transform: scale(1.2);
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: hsl(var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid hsl(var(--primary));
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-group .btn {
    flex: 1;
}

.btn-secondary {
    background: hsl(var(--border));
    color: hsl(var(--dark));
}

.btn-secondary:hover {
    background: hsl(var(--gray));
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .carousel-item,
    .carousel-item.active {
        flex: 0 0 calc(50% - 1.25rem);
    }
    .carousel-button { width: 55px; height: 55px; }
}

@media (max-width: 768px) {
    .carousel-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .carousel-item,
    .carousel-item.active {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .carousel-button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .carousel-button.prev { left: 8px; }
    .carousel-button.next { right: 8px; }
}
.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: var(--lines, 3);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.5s ease;
}

.truncate-text.expanded {
    -webkit-line-clamp: unset;
    max-height: none !important;
}

.read-more-btn {
    margin: 0 0 1rem;
    background: none;
    border: none;
    color: hsl(var(--primary-glow));
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0;
}

.read-more-btn.less i {
    transform: rotate(180deg);
}

.read-more-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn:hover {
    color: hsl(var(--primary));
}
.read-more-btn:hover i {
    transform: translateY(-1px) rotate(var(--rotate, 0deg));
}
.read-more-btn.less:hover i {
    --rotate: 180deg;
}
.card-expandable {
    position: relative;
    overflow: visible !important; 
}

.text-container {
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.expanded-card {
    position: relative;
    z-index: 100;
    opacity: 1 !important;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
    margin-bottom: 2rem;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: hsl(var(--dark));
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--dark));
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid hsl(var(--border));
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: hsl(var(--primary));
}

.mobile-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    justify-content: center;
    margin-top: 1rem;
}


.language-selector {
    position: relative;
    display: inline-block;
    z-index: 1100;
}

.language-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid hsla(var(--border), 0.7);
    border-radius: 50px;
    padding: 0.7rem 1.1rem 0.7rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.925rem;
    color: hsl(var(--dark));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px hsla(var(--primary), 0.1);
    min-width: 115px;
    justify-content: center;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: hsl(var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px hsla(var(--primary), 0.2);
}

.language-selector.active .language-btn {
    background: hsl(var(--primary));
    color: white;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 30px hsla(var(--primary-glow), 0.55);
}

.language-flag {
    width: 28px;
    height: 20px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: white; 
}

.language-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-btn::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    margin-left: 0.6rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector.active .language-btn::after {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 210px;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1.5px solid hsla(var(--border), 0.8);
    border-radius: 20px;
    box-shadow: 
        0 24px 60px hsla(0, 0%, 0%, 0.14),
        0 0 0 1px hsla(var(--primary), 0.1),
        0 0 40px hsla(var(--primary-glow), 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.93);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    padding: 8px 0; 
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.5rem;
    color: hsl(var(--dark));
    text-decoration: none;
    font-weight: 500;
    transition: all 0.35s ease;
    position: relative;
}

.language-option:hover {
    background: hsla(var(--primary), 0.09);
    color: hsl(var(--primary));
    padding-left: 2rem;
}

.language-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.35s ease;
}

.language-option:hover::before {
    transform: scaleY(1);
}

.language569-option.active {
    background: hsla(var(--primary), 0.08); 
    color: hsl(var(--primary));
    font-weight: 700;
    position: relative;
}

.language-option.active .language-flag {
    border-color: hsl(var(--primary));
    transform: scale(1.1);
}

.language-option.active::after {
    content: "✓";
    position: absolute;
    right: 1.4rem;
    font-size: 1rem;
    font-weight: bold;
    color: hsl(var(--primary));
}

@media (max-width: 1024px) {
    .language-dropdown {
        right: auto;
        left: 50%;
        transform: translateY(-15px) translateX(-50%) scale(0.93);
    }
    .language-selector.active .language-dropdown {
        transform: translateY(0) translateX(-50%) scale(1);
    }
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 1025px) {
    .burger-menu,
    .mobile-menu {
        display: none !important;
    }
    .language-switcher-desktop {
        margin-left: 1rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
}

.testimonials{padding:7rem 0;background:white;position:relative;overflow:visible}
.testimonials::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}
.testimonials-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:2rem;margin-bottom:4rem;position:relative}
.section-header-wrapper{flex:1;min-width:300px;text-align:center;position:absolute;left:50%;transform:translateX(-50%);z-index:1}
.section-header-wrapper .section-header{text-align:center;margin:0;max-width:700px}
.testimonials-header .btn-primary{margin-left:auto;z-index:2;position:relative}
.testimonial-card{background:white;padding:3rem;border-radius:28px;box-shadow:0 8px 30px rgba(0,0,0,0.08);position:relative;transition:var(--transition);border:2px solid transparent;height:100%;display:flex;flex-direction:column;overflow:visible}
.testimonial-card:hover{transform:translateY(-8px) scale(1.02)}
.quote-icon{position:absolute;top:2rem;right:2rem;font-size:5rem;background:var(--gradient-primary);-webkit-background-clip:text;background-clip:text;opacity:0.15;transition:var(--transition)}
.testimonial-card:hover .quote-icon{opacity:0.25;transform:scale(1.1) rotate(-5deg)}
.testimonial-text{font-size:1.1rem;line-height:1.8;color:hsl(var(--dark));margin-bottom:2rem;flex-grow:1;position:relative;z-index:1;font-style:italic;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-height:9rem}
.stars{display: flex; gap: 0.3rem; margin-bottom: 2rem;}
.stars i{color:hsl(var(--accent));font-size:1.2rem;transition:var(--transition)}
.testimonial-card:hover .stars i{transform:scale(1.1)}
.testimonial-author{display:flex;align-items:center;gap:1rem;margin-top:auto;position:relative;z-index:1}
.author-avatar{width:60px;height:60px;border-radius:50%;object-fit:cover;border:3px solid hsl(var(--primary));transition:var(--transition);box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.testimonial-card:hover .author-avatar{transform:scale(1.1);box-shadow:0 8px 24px rgba(0,0,0,0.2)}
.author-info h5{font-weight:700;color:hsl(var(--dark));margin-bottom:0.25rem;font-size:1.1rem}
.author-info p{color:hsl(var(--primary-glow));font-size:0.9rem;font-weight:600}

.testimonial-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.testimonial-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.testimonial-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(14px);
}

.testimonial-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(40px);
    border-radius: 32px;
    width: 92%;
    max-width: 720px;
    max-height: 94vh;
    overflow: hidden;
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.3),
        0 0 0 1px hsla(var(--primary), 0.1),
        0 0 80px hsla(var(--primary-glow), 0.2);
    animation: modalRise 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalRise {
    from { opacity: 0; transform: translateY(60px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-gradient-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modal-header-premium {
    padding: 2.5rem 3rem 1.8rem;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 100%);
}

.modal-title-premium {
    margin: 0;
    line-height: 1.2;
}

.gradient-text {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close-x {
    position: absolute;
    top: 1rem;
    right: 1.7rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid hsla(var(--border), 0.5);
    color: hsl(var(--gray));
    font-size: 1.7rem;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.modal-close-x:hover {
    background: hsl(var(--primary));
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 30px hsla(var(--primary), 0.4);
}

.modal-body-premium {
    padding: 0 3rem 3rem;
    overflow-y: auto;
    max-height: calc(94vh - 160px);
}

.modal-body-premium::-webkit-scrollbar {
    width: 8px;
}
.modal-body-premium::-webkit-scrollbar-thumb {
    background: hsla(var(--primary), 0.3);
    border-radius: 10px;
}

.avatar-section { text-align: center; margin-top: 1rem; margin-bottom: 2rem; }
.avatar-circle {
    display: block;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    cursor: pointer;
    position: relative;
    border: 6px solid hsl(var(--primary));
    box-shadow: 0 20px 50px hsla(var(--primary), 0.25);
    transition: all 0.4s ease;
}

.avatar-circle:hover {
    transform: scale(1.07);
    box-shadow: 0 30px 70px hsla(var(--primary), 0.35);
}

#avatarPreviewContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(var(--primary), 0.9), hsla(var(--primary-glow), 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.custom-alert {
    position: fixed;     
    bottom: 20px;           
    left: 20px;          
    z-index: 9999;      
    
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    max-width: 600px;    
    animation: slideDown 0.5s ease forwards;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}


.custom-alert.success {
    background-color: #e6f7ed;
    border-left: 6px solid #34c759;
    color: #1b6f32;
}

.custom-alert.error {
    background-color: #fdecec;
    border-left: 6px solid #e53935;
    color: #b71c1c;
}

.alert-icon {
    font-size: 22px;
}

.alert-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 18px;
}

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

.avatar-circle:hover .avatar-hover-effect { opacity: 1; }

.avatar-hint {
    color: hsl(var(--gray));
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group-premium {
    margin-bottom: 1.8rem;
}

.form-group-premium label {
    display: block;
    font-weight: 700;
    color: hsl(var(--dark));
    margin-bottom: 0.7rem;
    font-size: 1.02rem;
}

.form-group-premium input,
.form-group-premium textarea {
    width: 100%;
    padding: 1.15rem 1.5rem;
    border: 2.5px solid hsla(var(--border), 0.7);
    border-radius: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.form-group-premium input:focus,
.form-group-premium textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-glow));
    background: white;
    box-shadow: 
        0 0 0 6px hsla(var(--primary-glow), 0.18),
        0 10px 30px hsla(var(--primary), 0.15);
    transform: translateY(-2px);
}

.star-rating-premium {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem 0;
}

.star-rating-premium i {
    font-size: 2.2rem;
    color: hsla(var(--border), 0.5);
    cursor: pointer;
    transition: all 0.35s ease;
}

.star-rating-premium i:hover,
.star-rating-premium i.active {
    color: #facc15;
    transform: scale(1.3) rotate(-15deg);
    filter: drop-shadow(0 8px 16px rgba(250, 204, 21, 0.4));
}

.modal-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-cancel {
    flex: 1;
    padding: 1.2rem;
    background: transparent;
    border: 2px solid hsla(var(--border), 0.8);
    border-radius: 50px;
    color: hsl(var(--dark));
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-cancel:hover {
    background: hsla(var(--gray), 0.1);
    border-color: hsl(var(--gray));
}

.btn-submit-premium {
    flex: 2;
    padding: 1.2rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s ease;
    box-shadow: 0 12px 40px hsla(var(--primary), 0.35);
}

.btn-submit-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px hsla(var(--primary), 0.45);
}

.btn-submit-premium .text-loading { display: none; }
.btn-submit-premium.loading .text-default { display: none; }
.btn-submit-premium.loading .text-loading { display: inline; }

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .modal-title-premium { font-size: 2.4rem; }
    .modal-header-premium { padding: 2rem 2rem 1.5rem; }
    .modal-body-premium { padding: 0 2rem 2.5rem; }
    .modal-actions { flex-direction: column; }
    .btn-submit-premium { flex: 1; }
}