 :root {
     --primary: #7f81fc;
     --primary-light: #B6B9f9;
     --secondary: #f4f4f4;
     --text: #333333;
     --light-text: #777777;
     --background: #ffffff;
     --section-bg: #f9f9ff;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Nunito Sans', sans-serif;
 }

 body {
     color: var(--text);
     line-height: 1.6;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 2rem;
 }

 /* Header */

 header {
     background-color: color-mix(in srgb, var(--background) 60%, transparent);
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 100;
     backdrop-filter: blur(6px);
 }

 .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1.5rem 2rem;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .logo img {
     height: 20px;
 }

 nav {
     flex: 1;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 nav ul {
     display: flex;
     justify-content: center;
     list-style: none;
     gap: 2rem;
     margin: 0;
     padding: 0;
 }

 nav a {
     text-decoration: none;
     color: var(--text);
     font-weight: 500;
     transition: color 0.3s;
 }

 nav a:hover {
     color: var(--primary);
 }

 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     font-size: 1.5rem;
     cursor: pointer;
 }

 .header-right {
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .header-right .social-icon img {
     width: 24px;
     height: 24px;
 }

 /* Mobile button */

 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     font-size: 1.5rem;
     cursor: pointer;
 }


 /* Hero */
 .hero {
     position: relative;
     padding: 10rem 0 6rem;
     min-height: 100vh;
     display: flex;
     overflow: hidden;
     align-items: center;
     justify-content: center;
 }

 .hero-content {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     gap: 3rem;
 }

 .brand {
     color: #7f81fc;
     font-weight: 700;
 }

 .highlight {
       background: linear-gradient(180deg, #7f81fc 0%, #ffffff 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     font-weight: 600;
 }

 .hero-text {
     flex: 1;
     text-align: center;
     display: flex;
     flex-direction: column;
     gap: 2rem;
     margin-bottom: 2rem;
 }

 .hero-text h1 {
     font-size: 4rem;
     line-height: 1.2;
     margin: 0;
     margin-bottom: 2rem;
     white-space: nowrap;
     text-align: center;
     background: linear-gradient(180deg, #7f81fc 0%, #ffffff 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     opacity: 0.9;
     color: #ffffff;
 }

 .hero-text p {
     font-size: 1.25rem;
     color: var(--light-text);
     margin: 0 auto;
     line-height: 1.8;
     max-width: 650px;
     margin-bottom: 2rem;
 }

 .background-shape {
     position: absolute;
     inset: 0;
     z-index: -1;
 }

 .background-shape img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .header-right .social-icon img {
     width: 24px;
     height: 24px;
 }

 .btn {
     display: inline-block;
     padding: 0.75rem 2rem;
     background-color: var(--primary);
     color: white;
     text-decoration: none;
     border-radius: 10px;
     font-weight: 500;
     transition: all 0.3s;
     border: none;
     cursor: pointer;
     margin-right: 1rem;
 }

 .btn:hover {
     background-color: var(--primary-light);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(138, 123, 255, 0.3);
 }


 /* About */

 .about {
     padding: 6rem 0;
 }

 .about-title p {
     color: var(--light-text);

 }

 .stats-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-top: 2rem;
 }

 .stat-item {
     background-color: var(--background);
     border-radius: 12px;
     padding: 2rem;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease;
     text-align: center;
 }

 .stat-item:hover {
     transform: translateY(-5px);
 }

 .stat-number {
     font-size: 2.8rem;
     font-weight: 700;
     color: var(--primary);
     margin-bottom: 0.5rem;
     display: block;
 }

 .stat-label {
     color: var(--light-text);
     font-weight: 500;
     font-size: 1rem;
 }

 .tabs-container {
     margin: 0 auto;
 }

 .tabs {
     display: flex;
     justify-content: center;
     margin-bottom: 3rem;
     border-bottom: 1px solid #e2e8f0;
 }

 .tab-button {
     background: none;
     border: none;
     padding: 1rem 2rem;
     font-size: 1.1rem;
     font-weight: 500;
     color: var(--light-text);
     cursor: pointer;
     transition: all 0.3s;
     border-bottom: 3px solid transparent;
 }

 .tab-button.active {
     color: var(--primary);
     border-bottom-color: var(--primary);
 }

 .tab-button:hover {
     color: var(--primary);
 }

 .tab-content {
     min-height: 400px;
 }

 .tab-panel {
     display: none;
     animation: fadeIn 0.5s ease-in-out;
 }

 .tab-panel.active {
     display: block;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .story-text {
     max-width: 800px;
     margin: 0 auto 3rem;
 }

 .story-text h3 {
     color: var(--primary);
     font-size: 1.8rem;
     margin-bottom: 1.5rem;
 }

 .story-text p {
     font-size: 1.1rem;
     line-height: 1.8;
     margin-bottom: 1.5rem;
     color: var(--text);
 }

 .tech-categories {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
 }

 .tech-category {
     background-color: var(--background);
     border-radius: 12px;
     padding: 2rem;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .tech-category h4 {
     color: var(--primary);
     font-size: 1.3rem;
     margin-bottom: 1.5rem;
     text-align: center;
 }

 .tech-items {
     display: flex;
     flex-wrap: wrap;
     gap: 1rem;
     justify-content: center;
 }

 .tech-badge {
     background-color: var(--section-bg);
     padding: 0.5rem 1rem;
     border-radius: 25px;
     font-size: 0.9rem;
     color: var(--text);
     font-weight: 500;
     transition: all 0.3s;
 }

 .tech-badge:hover {
     background-color: var(--primary-light);
     transform: translateY(-2px);
 }

 .process-content {
     text-align: center;
 }

 .process-steps {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-top: 2rem;
 }

 .process-step {
     background-color: var(--background);
     border-radius: 12px;
     padding: 2rem;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease;
 }

 .process-step:hover {
     transform: translateY(-5px);
 }

 .step-number {
     width: 50px;
     height: 50px;
     background-color: var(--primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.2rem;
     font-weight: bold;
     margin: 0 auto 1rem;
 }

 .process-step h4 {
     color: var(--text);
     margin-bottom: 1rem;
     font-size: 1.2rem;
 }

 .process-step p {
     color: var(--light-text);
     line-height: 1.6;
 }

 /* Services */
 .services {
     padding: 6rem 0;
 }

 .section-title {
     text-align: center;
     margin-bottom: 4rem;
 }

 .section-title h2 {
     font-size: 2.5rem;
     margin-bottom: 1rem;
 }

 .section-title p {
     color: var(--light-text);
     max-width: 600px;
     margin: 0 auto;
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 30px;
     max-width: 1200px;
     margin: 0 auto;
     align-items: stretch;
 }

.service-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-light);
    padding: 30px 25px;
    text-align: center;
}


 .service-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
 }

.service-card.popular {
    border: 2px solid var(--primary-light);
    padding: 0;
    margin-top: -50px; 
    z-index: 2;
     border-radius: 20px;
      overflow: hidden;
}

 .popular-header {
     background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
     color: white;
     text-align: center;
     padding: 12px 20px;
     font-size: 0.875rem;
     font-weight: 700;
     letter-spacing: 0.5px;
     margin-bottom: 0;
 }

 .service-card.popular .service-card {
     display: flex;
     flex-direction: column;
    justify-content: flex-start;
     padding: 30px 25px;
     margin: 0;
     border: none;
     box-shadow: none;
     border-radius: 0;
     background: white;
     height: 100%; 
 }

.service-card .btn {
    margin-top: auto;   
    align-self: center; 
    margin: auto auto 0 auto;
}

 .service-icon {
     color: var(--primary);
     font-size: 2.5rem;
     margin-bottom: 1.5rem;
 }

 .service-card h3 {
     margin-bottom: 1rem;
     color: var(--primary);
 }

 .service-card p {
     color: var(--light-text);
     margin-bottom: 3rem;
    line-height: 1;
 }


 /* Projects */
 .projects {
     padding: 6rem 0;
 }

 .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s ease;
}

.project img:hover {
    transform: scale(1.05);
}

.project-footer {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-top: 0.5rem;
    width: 100%; 
}
.project-footer .btn {
    margin-right: 0; 
}

.project-footer h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

.btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

 /* Contact */
 .contact {
     padding: 6rem 0;
 }

 .contact-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 4rem;
 }

a {
    color: var(--text);
    text-decoration: none; 
}

a:hover {
    color: var(--light-text);
}

 .contact-info {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .contact-item {
     display: flex;
     align-items: flex-start;
     gap: 1rem;
 }

 .contact-icon {
     width: 40px;
     height: 40px;
background: linear-gradient(135deg, var(--primary-light) 0%, #e0f0ff 100%);
    transform: translateY(-2px);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
 }

 .contact-form input,
 .contact-form textarea {
     width: 100%;
     padding: 1rem;
     margin-bottom: 1.5rem;
     border: 1px solid #ddd;
     border-radius: 5px;
     font-size: 1rem;
 }

 .contact-form textarea {
     min-height: 150px;
     resize: vertical;
 }

 .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1rem;
 }

 select {
     width: 100%;
     padding: 1rem;
     border: 1px solid #e2e8f0;
     border-radius: 8px;
     font-size: 1rem;
     background-color: white;
     color: #4a5568;
     margin-bottom: 1rem;
 }


 /* Footer */
 footer {
     background: url('assets/background_footer.jpg') center/cover;
     color: white;
     padding: 4rem 0 2rem;
     position: relative;
 }

 .footer-content {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-bottom: 3rem;
 }

 .footer-column h3 {
     margin-bottom: 1.5rem;
     font-size: 1.3rem;
 }

 .footer-links {
     list-style: none;
 }

 .footer-links li {
     margin-bottom: 0.8rem;
 }

 .footer-links a {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     transition: color 0.3s;
 }

 .footer-links a:hover {
     color: white;
 }

 .footer-bottom {
     text-align: center;
     padding-top: 2rem;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 .social-icons {
     display: flex;
     gap: 1rem;
     margin-top: 1rem;
 }

 .social-icon {
     width: 40px;
     height: 40px;
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-decoration: none;
     transition: background-color 0.3s;
 }

 .social-icon:hover {
   background: linear-gradient(135deg, var(--primary-light) 0%, #e0f0ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
 }

 /* Responsive */
 @media (max-width: 992px) {
     .hero-content {
         flex-direction: column;
         text-align: center;
     }

     .hero-text p {
         margin: 0 auto 2rem;
     }
       .services-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title p {
        font-size: 1rem;
    }
}

 @media (max-width: 768px) {
     .header-right {
         display: none;
     }

     .header-container {
         padding: 1rem 2rem;
     }

     .mobile-menu-btn {
         display: block;
         margin-left: auto;
     }

     nav ul {
         display: none;
         position: absolute;
         top: 100%;
         left: 0;
         width: 100%;
         flex-direction: column;
         background-color: var(--background);
         box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
         padding: 1rem 0;
         gap: 0;
     }

     nav ul.show {
         display: flex;
     }

     nav ul li {
         width: 100%;
     }

     nav ul li a {
         display: block;
         padding: 1rem 2rem;
     }

     .hero {
         padding: 8rem 0 4rem;
     }

     .hero-text h1 {
         font-size: 2.2rem;
         white-space: normal;
     }

     .hero-text p {
         font-size: 1.1rem;
     }

   .services-grid {
        grid-template-columns: 1fr; 
    }

    .service-card {
        padding: 25px 20px;
    }

        .projects-grid {
        grid-template-columns: 1fr; 
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .service-card.popular {
        margin-top: auto;
    }
}

