:root {
    --primary-color: #354E57;
    --secondary-color: #4BB5DC;
    --accent-color: #6366f1;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f8fafc;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --gradient-start: #354E57;
    --gradient-end: #718b94;
    --secondary-color-dark: #37474f;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}


.card-services-buttons{
    display: flex; flex-direction: column;  margin: auto; 
}
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 72, 121, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 72, 121, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.2);
}
.btn-secondary2 {
    background: white;
    color: #354E57;
    border: 2px solid  #354E57;
   
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.2);
}
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 0rem;
}
.containercta {
 
    display: flex;
   
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

.contact-image {
    max-width: 100%;
    height: auto;
    width: 550px;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
 
}
.container-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu .btn {
    margin: 0;
    padding: 0.8rem 1.8rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-menu .btn span {
    position: relative;
    z-index: 1;
}

.nav-menu .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.nav-menu .btn:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(53, 78, 87, 0.3);
   
}

.nav-menu .btn:hover i {
    transform: translateX(3px);
}

.nav-menu .btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .container-nav {
        
        margin: 0 auto;
         padding-left: 0.5rem;
         padding-right: 1rem;
    }
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    .nav-menu .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .container {
        padding: 0 10px;
    }

    .clients-carousel {
        padding: 2rem 0;
    }

    .clients-track {
        gap: 1rem;
    }

    .client-card {
        flex: 0 0 calc(100% - 0.5rem);
       
    }

    .hero-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 0 10px;
        margin-top: 2.5rem;
        
    }

    .hero-icon {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
        margin: 10px;
        text-align: center;
        
    }

    .hero-icon i {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-icon span {
        font-size: 0.95rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        padding-bottom: 70px;
    }
    .service-card,
    .client-card,
    .comparison-card {
        flex: 0 0 100%;
        min-width: 280px;
        max-width: 400px;
        margin: 0 auto;
    }

   

    .services-track,
    .clients-track,
    .comparison-track {
        justify-content: flex-start;
      
        gap: 1rem;
    }
    
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(53, 78, 87, 0.7), rgba(38, 55, 62, 0.7)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0 0,       
        100% 0,    
        100% 89%,   
        50% 105%,  
        0 89%       
      );
      
    margin-bottom: -100px;


 
}
 
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem;
    padding-top: 7rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    text-align: left;
 
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}


.hero-animation {
    flex: 0.5;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 30%;
    animation: float 7s ease-in-out infinite 1s;
}

.element-3 {
    width: 70px;
    height: 70px;
    top: 30%;
    right: 25%;
    animation: float 8s ease-in-out infinite 0.5s;
}

.element-4 {
    width: 45px;
    height: 45px;
    bottom: 20%;
    right: 20%;
    animation: float 5s ease-in-out infinite 1.5s;
}

.element-5 {
    width: 55px;
    height: 55px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 9s ease-in-out infinite 0.8s;
}

.tech-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite reverse;
}

.circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 40s linear infinite;
}


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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


@media (max-width: 1024px) {
    .hero {
 
        clip-path: polygon(
            0 0,       
            100% 0,     
            100% 95%,   
            50% 105%,   
            0 95%       
          );
          
         
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-animation {
        height: 300px;
    }

    .circle-1 { width: 200px; height: 200px; }
    .circle-2 { width: 300px; height: 300px; }
    .circle-3 { width: 400px; height: 400px; }


    .element-1 {
       
        margin-top: 90px;
    
        animation: float 6s ease-in-out infinite;
    }
    
    .element-2 {
        margin-bottom: 904px;
       
    }
    
    .element-3 {
        margin-right: 40px;
        animation: float 8s ease-in-out infinite 0.5s;
    }
    
    .element-4 {
    margin-bottom: 30px;
        animation: float 5s ease-in-out infinite 1.5s;
    }
    
    .element-5 {
        margin-left: 60px;
        animation: float 9s ease-in-out infinite 0.8s;
    }

    
.tech-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite reverse;
}

.circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 40s linear infinite;
}
}

@media (max-width: 768px) {

    .hero {
 
        clip-path: polygon(
            0 0,        
            100% 0,     
            100% 95%,   
            50% 105%,   
            0 95%       
          );
          padding-bottom: 200px;
         
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-animation {
        height: 250px;
    }

    .circle-1 { width: 200px; height: 200px; }
    .circle-2 { width: 300px; height: 300px; }
    .circle-3 { width: 400px; height: 400px; }


    .element-1 {
       
        margin-top: 90px;
    
        animation: float 6s ease-in-out infinite;
    }
    
    .element-2 {
        margin-bottom: 904px;
       
    }
    
    .element-3 {
        margin-right: 40px;
        animation: float 8s ease-in-out infinite 0.5s;
    }
    
    .element-4 {
    margin-bottom: 30px;
        animation: float 5s ease-in-out infinite 1.5s;
    }
    
    .element-5 {
        margin-left: 60px;
        animation: float 9s ease-in-out infinite 0.8s;
    }

    
.tech-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite reverse;
}

.circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 40s linear infinite;
}
}

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

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }

    .card-services-buttons{
  max-width: 100%; 
    }

    .hero-animation {
        height: 200px;
    }

    .circle-1 { width: 150px; height: 150px; }
    .circle-2 { width: 250px; height: 250px; }
    .circle-3 { width: 350px; height: 350px; }
}


.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--text-color);
    transform: translateY(-2px);
}

.problems {
    padding: 10rem 0;
    background: linear-gradient(rgba(124, 109, 89, 0.87), rgba(90, 79, 65, 0.87)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    top:-20
}

.problems h2,
.about h2,
.clients h2,
.portfolio h2,
.comparison h2,
.cta h2,
.guarantee h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.problems h2::after,
.about h2::after,
.clients h2::after,
.portfolio h2::after,
.comparison h2::after,
.cta h2::after,
.guarantee h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    border-radius: 2px;
}


.portfolio h2,
.comparison h2,
.cta h2,
.services h2,
.guarantee h2 {
    color: var(--primary-color);
}

.portfolio h2::after,
.comparison h2::after,
.cta h2::after,
.services h2::after,
.guarantee h2::after {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

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

.problem-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card i {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.transition-text {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about {

    padding-top: 9rem;
    padding-bottom: 3rem;
    background: linear-gradient(rgba(184, 167, 146, 0.87), rgba(90, 79, 65, 0.87)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: white;
}

.differentials {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 1rem;
    padding: 2rem 0;
}

.differential-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    text-align: center;
}

.differential-number {
    font-size: 4rem;
    font-weight: 700;
    color: #7da0ac;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.differential-content-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.differential-content-new i {
    color: white;
    font-size: 1.5rem;
}

.differential-content-new p {
    color: white;
    font-size: 1.2rem;
    line-height: 2.5;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .differentials {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .differential-item-new {
        max-width: 80%;
    }

    .differential-number {
        font-size: 4rem;
    }

    .differential-content-new {
        
    }

    .differential-content-new i {
         font-size: 1.3rem;
    }

     .differential-content-new p {
        font-size: 1.2rem;
    }
}

.differential-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(53, 78, 87, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.differential-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.differential-card.animate {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.differential-card i {
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 0.3s ease;
}

.differential-card:hover i {
    transform: scale(1.1);
}

.differential-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}

.differential-card p {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.differential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.differential-card:hover::before {
    transform: scaleX(1);
}

.differential-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.differential-card:hover::after {
    opacity: 1;
}

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


.services {
    padding: 2rem 0 5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0 5%,     
        50% -3%,    
        102% 5%,    
        100% 95%,   
        50% 102%,  
        0 95%      
    );
    margin-top: -4rem;
    margin-bottom: -4rem;
}

 


.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
}
 

.services-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 0rem;
    line-height: 1.8;
    font-weight: 400;
}

.services-carousel {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.services-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2.5rem;
    padding: 1rem;
}

.service-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    min-width: 320px;
    background: white;
    padding: 2.5rem;
    border-radius: 24px; 
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; 
    overflow: hidden;
    border: 1px solid rgba(53, 78, 87, 0.1);
 
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-top-left-radius: 24px; 
    border-top-right-radius: 24px;
    z-index: 1; /
   
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

.service-card p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1rem;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.service-card .benefit {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.99rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.service-card:hover .benefit {
    transform: translateY(-3px);
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.99rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    margin: auto;
}

.service-card .learn-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.carousel-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .services {
    padding: 4rem 0 5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
            0 5%,      
            50% -7%,    
            102% 5%,     
            100% 95%,   
            49% 106%,    
            0 95%       
        );
    margin-top: -4rem;
    margin-bottom: -4rem;
}
    .hero-buttons {
        display: flex;
        flex-direction: column;
        padding-bottom: 70px;
    }
    .service-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: 100%;
    }

 
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }


    
}


.clients {
    padding: 4rem 0;
    background: linear-gradient(rgba(184, 167, 146, 0.95), rgba(90, 79, 65, 0.95)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(
        0 5%,       
        50% -3%,      
        102% 5%,     
        100% 95%,   
        50% 102%,   
        0 95%       
    );
    
    margin-top: -4rem;
    margin-bottom: -4rem;
}

 

.clients h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.clients-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto  0rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.clients-carousel {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    max-width: 1500px;
    margin: auto;
}

.clients-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2.5rem;
    padding: 1rem;
}

.client-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    min-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
  
}

.client-card::before {
    content: '';
    position: absolute;
    top: -2px;  
    left: -2px;  
    width: calc(100% + 4px);  
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-top-left-radius: 22px; 
    border-top-right-radius: 22px; 
    z-index: 3;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.client-logo {
    position: relative;
    height: 180px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.client-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.client-card:hover .client-logo img {
    transform: scale(1.05);
}

.client-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.client-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.client-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.client-card:hover .client-name::after {
    width: 100%;
}

.client-description {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.client-service {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    font-weight: 500;
}

.client-service i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.carousel-arrow:hover {
    background: white;
    border-color: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1024px) {
    .client-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .client-card {
        flex: 0 0 calc(33.333% - 1.67rem);
        min-width: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .clients {
   
        clip-path: polygon(
            0 5%,      
            50% -7%,    
            102% 5%,     
            100% 95%,   
            49% 106%,    
            0 95%       
        );
        
      
    }

    
    .clients h2 {
        font-size: 2.4rem;
    }

    .clients-subtitle {
        font-size: 1.1rem;
        margin-bottom: -rem;
    }

    .client-card {
        flex: 0 0 calc(100% - 2rem);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}


.portfolio {
    padding: 8rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0 5%,      
        550% -3%,    
        102% 5%,   
        100% 95%,   
        50% 102%,  
        0 95%      
    );
    
}

.portfolio h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}
.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.portfolio-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

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

.portfolio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 1px 8px rgba(0, 0, 0, 0.05),
                0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 2px 12px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.03);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); 
    border-top-left-radius: 24px; 
    border-top-right-radius: 24px; 
    z-index: 1; 
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(53, 78, 87, 0.2), rgba(53, 78, 87, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.portfolio-links {
    display: flex;
    gap: 1rem;
    z-index: 2; 
}

.portfolio-view-link {
    position: absolute;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    width: 60px;  
    height: 60px;
    background: rgba(255, 255, 255, 0.9);  
    border-radius: 50%;  
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);  
    font-size: 1.5rem;  
    opacity: 0;  
    transition: all 0.3s ease;  
    z-index: 2;  
}

.portfolio-card:hover .portfolio-view-link {
    opacity: 1; 
}

.portfolio-link {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.portfolio-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.portfolio-info {
    padding: 2rem;
    background: white;
}

.portfolio-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-description {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tech-stack span {
    background: rgba(53, 78, 87, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.portfolio-category {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    backdrop-filter: blur(5px);
    z-index: 1;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    
    .portfolio {
        padding: 6rem 0;
    }

    .portfolio h2 {
        font-size: 2.4rem;
    }

    .portfolio-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 0;
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    .portfolio-image {
        height: 200px;
    }
}

 
.comparison {
   padding-bottom: 9rem;
   padding-top: 2rem;
    background: linear-gradient(rgba(184, 167, 146, 0.95), rgba(90, 79, 65, 0.95)), url('images/w.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
 
    clip-path: polygon(
        0 5%,       
        50% -3%,      
        102% 5%,   
        100% 95%,   
        50% 102%,    
        0 95%        
    );
    
    margin-top: -8rem;
    margin-bottom: -4rem;
}

.comparison h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.comparison h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.comparison-subtitle {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 2rem auto 0rem;
    line-height: 1.8;
}

.comparison-carousel {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.comparison-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2.5rem;
    padding: 1rem;
}

.comparison-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    min-width: 320px;
    background: white;
    border-radius: 24px; 
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;  
    overflow: hidden;
    border: 1px solid rgba(53, 78, 87, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
 
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; 
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-top-left-radius: 24px;
    border-top-right-radius: 24px; 
    z-index: 1; 
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.comparison-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
}

.comparison-card:hover .comparison-icon {
    transform: scale(1.1) rotate(5deg);
}

.comparison-icon i {
    font-size: 2.5rem;
    color: white;
}

.comparison-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.comparison-description {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0rem;
}

.comparison-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.comparison-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.05rem;
}

.comparison-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-card:hover::before {
    transform: scaleX(1);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.carousel-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1024px) {
    .comparison-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .comparison {
        padding: 6rem 0;
        clip-path: polygon(
            0 5%,       
            50% -7%,    
            102% 5%,    
            100% 100%,   
            50% 100%,   
            0 100%       
        );
    }
    .comparison-card {
    
        min-width: 100%;
        
    }

    .comparison h2 {
        font-size: 2.4rem;
    }

    .comparison-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .comparison-card {
        flex: 0 0 calc(100% - 2rem);
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
}


.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(53, 78, 87, 0.98), rgba(75, 101, 111, 0.98)), url('images/contato.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
     clip-path: polygon(
        0 5%,       
        50% -3%,     
        102% 5%,   
        100% 100%,  
        50% 100%,  
        0 100%      
    );
    margin-top: -7rem;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.cta h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
    margin-top: 0;
}

.cta h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    border-radius: 2px;
}

.cta p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.contact-form {
    max-width: 800px;
   
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(125, 160, 172, 0.2);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
}

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


.form-group input[type="tel"] {
    letter-spacing: 1px;
}


.form-group input[type="email"] {
    text-transform: lowercase;
}


.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ff4d4d;
}

.form-group input:invalid:not(:placeholder-shown) + label,
.form-group textarea:invalid:not(:placeholder-shown) + label {
    color: #ff4d4d;
}

@media (max-width: 768px) {
    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.7rem 0.9rem;
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp,
.btn-calendar {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background: #179645;
    color: white;
    box-shadow: 0 2px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #1EAE55;
}

.btn-calendar {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 1px 15px rgba(255, 255, 255, 0.1);
}

.btn-calendar:hover {
    transform: translateY(-3px);
    
    background: var(--secondary-color-dark);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

 

@media (max-width: 768px) {
  
    .cta {
        padding: 4rem 0;
        background: linear-gradient(135deg, rgba(53, 78, 87, 0.98), rgba(75, 101, 111, 0.98)), url('images/contato.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
        clip-path: polygon(
            0 5%,       
            50% -7%,     
            102% 5%,   
            100% 100%,   
            50% 100%,  
            0 100%      
        );
        margin-top: -6rem;
    }
    .comparison-track {
 
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
    
    .cta {
        padding: 6rem 0;
    }

    .cta h2 {
        font-size: 2.4rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-calendar {
        width: 100%;
        justify-content: center;
    }
}

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

    .cta p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}
 


.footer {
    background: var(--secondary-color-dark);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
    margin: -2px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section h4 {
    color: #B29E84;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    width: 100%;
}

.footer-logo {
    margin-bottom: 1.5rem;
    width: 100%;
}

.footer-logo img {
    max-width: 290px;
    min-width: 250px;
    height: auto;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.contact-info {
    list-style: none;
    padding: 0;
    width: 100%;
}

.contact-info li {
    color: #ccc;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.quick-links {
    list-style: none;
    padding: 0;
    width: 100%;
}

.quick-links li {
    margin-bottom: 0.8rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .quick-links a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 0;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-logo img {
        max-width: 150px;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }
}


@media (max-width: 768px) {

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

    .hero p {
        font-size: 1.1rem;
    }

    .problems h2,
    .about h2 {
        font-size: 2rem;
    }

    .btn {
 
        font-size: 1rem;
    }
    

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

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

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

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }

    .btn {
       
      
    }
}

.portfolio-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-section:last-child {
    border-bottom: none;
}

.portfolio-section h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
}

.ready-to-transform {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 85%,
        50% 100%,
        0 85%
    );
}


.testimonials {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(53, 78, 87, 0.98), rgba(75, 101, 111, 0.98)), url('images/contato.jpg');
     background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0 5%,       
        50% -3%,    
        102% 5%,   
        100% 95%,  
        50% 102%,
        0 95%       
    );
    margin-top: -4rem;
    margin-bottom: -4rem;
    padding-bottom: 13rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white; 
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent); 
    border-radius: 2px;
}

.testimonials-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9); 
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem 0;
}

.testimonial-card {
    flex: 0 0 calc(50% - 1.25rem); 
    min-width: 320px; 
    background: #ffffff; 
    border-radius: 12px; 
    padding: 2rem; 
    text-align: left; 
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: visible; 
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); 
    border-color: var(--secondary-color); 
}



.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem; 
}

.testimonial-avatar {
    width: 50px; 
    height: 50px;
    background: var(--primary-color); 
    color: white; 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 1rem; 
    flex-shrink: 0; 
}

.testimonial-info-header {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
}

.testimonial-rating {
    color: #ffc107; 
    font-size: 1rem; 
    margin-bottom: 0.3rem; 
}

.testimonial-rating i {
    margin-right: 2px; 
}



.author-name {
    font-size: 1rem; 
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--light-text); 
}

.testimonial-body {
    display: flex; 
    align-items: start; 
}

.testimonial-quote-icon {
    font-size: 3rem; 
    color: rgba(0, 0, 0, 0.1);
    margin-right: 1rem; 
    line-height: 1; 
    flex-shrink: 0; 
}

.testimonial-text {
    color: var(--text-color); 
    font-size: 1.05rem; 
    line-height: 1.7; 
    margin-bottom: 0; 
    font-style: italic; 
    flex-grow: 1; 
}

@media (max-width: 768px) {
    .testimonials-grid {
        flex-direction: column; 
        align-items: center; 
    }

    .testimonial-card {
        flex: 0 0 100%; 
        min-width: 280px; 
        max-width: 400px; 
        margin: 0 auto; 
        padding: 1.5rem; 
    }

    .testimonial-header {
        margin-bottom: 1rem; 
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 0.8rem;
    }

    .testimonial-rating {
        font-size: 0.9rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-title {
        font-size: 0.8rem;
    }

    .testimonial-quote-icon {
        font-size: 2.5rem;
        margin-right: 0.8rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
    .testimonials{
        clip-path: polygon(
            0 5%,      
            50% -7%,    
            102% 5%,     
            100% 95%,   
            49% 106%,    
            0 95%       
        );

        padding: 4rem 0.3rem;
        padding-bottom: 10rem;
    }
}


.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px; 
    height: 60px; 
    border-radius: 30px; 
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease; 
    z-index: 1000;
    overflow: hidden; 
    padding: 0 15px; 
    box-sizing: border-box; 
}

.whatsapp-float i {
    font-size: 35px;
    margin-left: auto; 
    transition: margin 0.3s ease;
}

.whatsapp-text {
    white-space: nowrap;
    opacity: 0; 
    transition: opacity 0.3s ease, margin 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    margin-right: 0;
    flex-shrink: 0; 
}

.whatsapp-float:hover {
    width: 250px; 
    background-color: #25D366;
    justify-content: space-between; 
    padding: 0 15px; 
}

.whatsapp-float:hover i {
    margin-left: 0; 
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1; 
    margin-right: 10px; 
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px; 
        height: 50px; 
        padding: 0 10px;
        border-radius: 25px;
    }

    .whatsapp-float i {
        font-size: 30px;
    }

    .whatsapp-float:hover {
        width: 200px; 
        border-radius: 25px;
    }
    
     .whatsapp-text {
         font-size: 14px;
         margin-right: 8px; 
     }
} 

.footer-section {

    text-align: center; 
}
.whatsinfo{
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.whatsinfo h3 {
    font-size: 2rem;
    color: white; 
    margin-bottom: 1rem;
    font-weight: 700;
}

.whatsinfo p {
    font-size: 1.1rem; 
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.whatsapp-benefits {
    list-style: none; 
    padding: 0;
    margin: 0 0 2rem 0; 
}

.whatsapp-benefits li {
    display: flex;
    align-items: center;
    color: white; 
    font-size: 1rem; 
    margin-bottom: 0.8rem; 
}

.whatsapp-benefits li i {
    color: #7DA0AC; 
    margin-right: 0.8rem; 
    font-size: 1.2rem; 
}

.whatsinfo .cta-buttons {
    margin-top: 1rem;
    justify-content: flex-start; 
}

@media (max-width: 992px) {
    .whatsinfo h3,
    .whatsinfo p,
    .whatsapp-benefits li {
        text-align: center; 
        justify-content: center; 
    }

    .whatsapp-benefits li i {
        margin-right: 0.5rem; 
    }

     .whatsinfo .cta-buttons {
        justify-content: center; 
     }
}

@media (max-width: 768px) {
    .containercta {
        flex-direction: column;
        padding: 0;
        width: 100%;
    }

    .whatsinfo {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .whatsinfo h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .whatsinfo p {
        
        line-height: 1.5;
    }

    .whatsapp-benefits {
        justify-content: center;
        margin: 20px 0;
    }

    .whatsapp-benefits li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .contact-form {
        width: 100%;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }

    .btn-whatsapp,
    .btn-calendar {
        width: 100%;
        max-width: none;
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .whatsinfo {
        padding: 0 0.4rem;
    }

    .whatsinfo h3 {
        font-size: 20px;
    }
   .cta-content p {
    font-size: 1rem;
    padding: 0 0.5rem;
   }

    .whatsinfo p {
        font-size: 1rem;
    }
    .whatsinfo ul li {
        font-size: 1rem;
    }


    .whatsapp-benefits li {
        font-size: 13px;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn-whatsapp,
    .btn-calendar {
        width: 100%;
        font-size: 13px;
        padding: 10px 15px;
    }

    .submit-btn {
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }
}

.social-link {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.quick-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--primary-color);
}