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

.portfolio-image {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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



html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
    overflow-x: hidden;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
}

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 0.5rem 0;
}

.logo-img {
    height: 50px;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF0046 0%, #FF5735 50%, #FFDFD6 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #333333;
}

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

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

.btn-nav {
    background: linear-gradient(45deg, #FF0046, #FF5735, #FF0046, #FF5735) !important;
    background-size: 400% 400% !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    animation: gradientMove 3s ease infinite !important;
    text-decoration: none !important;
}

.btn-nav::after,
.btn-nav::before {
    display: none !important;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-nav::after {
    display: none !important;
}

.btn-nav::before {
    display: none !important;
}

.btn-nav:hover {
    background: linear-gradient(45deg, #e6003e, #e64f2f, #e6003e, #e64f2f) !important;
    background-size: 400% 400% !important;
    box-shadow: 0 4px 15px rgba(255, 0, 70, 0.3) !important;
    transform: scale(1.05) !important;
    animation: gradientMove 2s ease infinite !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #DC3A28 100%);
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    padding-right: 4rem;
}

.hero-badge {
    color: #DC3A28;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2rem;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: typing 3.8s steps(19, end) forwards;
    position: relative;
    display: inline-block;
}

.hero-badge::after {
    content: '|';
    color: #DC3A28;
    font-weight: 100;
    animation: blink-caret 1s ease-in-out infinite;
    margin-left: 2px;
}

@keyframes typing {
    0% {
        max-width: 0;
    }

    100% {
        max-width: 100%;
    }
}

@keyframes blink-caret {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1e293b;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #475569;
    line-height: 1.6;
    max-width: 600px;
}

.btn-contact {
    display: inline-block;
    color: #FA4A64;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 4rem;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    padding: 0;
    vertical-align: top;
    line-height: 1;
}

.btn-contact::before {
    content: '—';
    transition: all 0.3s ease;
    display: inline-block;
    margin-right: 1rem;
    font-size: 2rem;
    font-weight: 100;
}

.btn-contact:hover {
    color: #FA4A64;
    transform: translateX(10px);
}

.btn-contact:hover::before {
    content: '→';
    transform: translateX(10px);
    font-size: 2rem;
}

.client-logos {
    overflow: hidden;
    width: 650px;
    /* Ajusta el ancho según sea necesario */
    height: 30px;
    margin-top: 1rem;
    opacity: 1;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.client-logos:active {
    cursor: grabbing;
}

.client-logos * {
    pointer-events: none;
}

.logos-track {
    display: flex;
    align-items: center;
    animation: slideOneByOne 18s ease-in-out infinite;
    width: calc(1920px);
    gap: 0;
}

.client-logos img {
    width: 160px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 1;
}

.client-logos img:hover {
    filter: grayscale(0%);
}

@keyframes slideOneByOne {

    0%,
    16.66% {
        transform: translateX(0);
    }

    19.44%,
    33.33% {
        transform: translateX(-160px);
    }

    36.11%,
    50% {
        transform: translateX(-320px);
    }

    52.77%,
    66.66% {
        transform: translateX(-480px);
    }

    69.44%,
    83.33% {
        transform: translateX(-640px);
    }

    86.11%,
    100% {
        transform: translateX(-800px);
    }
}

.client-logos:hover .logos-track {
    animation-play-state: paused;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.device-showcase {
    position: relative;
    width: 450px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 60px;
}

.laptop-container {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-out;
}

.laptop-image {
    width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

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

.smartphone-container {
    position: absolute;
    top: 40px;
    left: 10px;
    z-index: 2;
    transform: rotate(-10deg);
    transition: transform 0.3s ease-out;
}

.smartphone-image {
    width: 185px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.smartphone-image:hover {
    transform: rotate(10deg) scale(1.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.services-left {
    padding-right: 2rem;
}

.services-badge {
    color: #DC3A28;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-left h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1e293b;
}

.services-description {
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    border-left: 3px solid #DC3A28;
}

.services-description p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.services-description strong {
    color: #1e293b;
    font-weight: 600;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.testimonial p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.9rem;
}

.services-right {
    padding-top: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #DC3A28;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f5dfc1 0%, #e78f85 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card i {
    font-size: 1.5rem;
    color: #DC3A28;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card p strong {
    color: #1e293b;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.about .container {
    max-width: none;
    padding: 0;
    margin: 0;
}

.about-content {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
    width: 100%;
}

.about-image {
    order: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 0;
    margin: 0;
}

.about-image img {
    width: 590px;
    height: 540px;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
    margin: 0;
}

.wasd-logo {
    background: white;
    border-radius: 35px;
    padding: 6rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    right: -170px;
    top: 120px;
    z-index: 2;
    width: 340px;
    height: 340px;
    transition: transform 0.3s ease-out;
}

.logo-27 {
    max-width: 350px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.about-text {
    order: 2;
    padding: 4rem 4rem 4rem 15rem;
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.about-brand {
    color: #DC3A28;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.1;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    border-left: 3px solid #DC3A28;
    padding-left: 1.5rem;
}

.about-text p strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #F5F5F5;
}

.portfolio-header {
    margin-bottom: 4rem;
    max-width: 1600px;
    margin: 0 auto 4rem auto;
    padding: 0 4rem;
}

.portfolio-badge {
    color: #DC3F29;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

.portfolio-header h2 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

.portfolio-header h2 .line-break {
    display: block;
}

.portfolio-link {
    display: inline-block;
    color: #FA4A64;
    font-weight: 800;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    padding: 0;
    vertical-align: top;
    line-height: 1;
}

.portfolio-link::before {
    content: '—';
    transition: all 0.3s ease;
    display: inline-block;
    margin-right: 1rem;
    font-size: 1rem;
    font-weight: 100;
}

.portfolio-link::after {
    display: none;
}

.portfolio-link:hover {
    color: #FA4A64;
    transform: translateX(10px);
}

.portfolio-link:hover::before {
    content: '→';
    transform: translateX(10px);
    font-size: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.portfolio-image>* {
    transition: transform 0.8s ease;
}

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

.portfolio-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    text-align: left;
}

.portfolio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

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

.portfolio-card-link:hover .portfolio-card {
    transform: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Banco del Sol styles */
.phone-mockups {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    scale: 0.7;
}

.phone-mockup {
    width: 120px;
    height: 240px;
    background: #000;
    border-radius: 15px;
    padding: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-1 {
    transform: rotate(-5deg);
    z-index: 2;
}

.phone-2 {
    transform: rotate(5deg);
    z-index: 1;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.orange-theme {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
}

.app-header {
    background: #FF4757;
    padding: 12px 12px 8px;
    color: white;
    border-radius: 12px 12px 0 0;
}

.app-logo {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.app-content {
    padding: 12px;
}

.balance-section {
    margin-bottom: 12px;
}

.balance-label {
    display: block;
    font-size: 0.6rem;
    color: #666;
    margin-bottom: 3px;
}

.balance-amount {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 12px;
}

.action-btn {
    background: #FF4757;
    color: white;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    font-size: 0.7rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 12px;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 12px;
}

.registration-screen h3 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.registration-screen p {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Ualá theme styles */
.ualá-theme {
    background: linear-gradient(135deg, #E8F4FD 0%, #E1F1FC 100%);
    padding: 2rem;
}

.ualá-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.ualá-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066CC;
    margin-bottom: 1rem;
}

.ualá-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.ualá-text p {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #0066CC;
    margin: 0;
}

.ualá-text strong {
    font-weight: 700;
}

.ualá-phones {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.5rem;
}

.ualá-phone {
    width: 60px;
    height: 100px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.phone-red {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
}

.phone-white {
    background: white;
    border: 1px solid #e0e0e0;
}

/* Softtek theme styles */
.softtek-theme {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    padding: 2rem;
}

.softtek-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.softtek-logo {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.softtek-graphic {
    position: relative;
    width: 120px;
    height: 80px;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4FD1C7 0%, #38B2AC 100%);
    top: 0;
    left: 0;
    opacity: 0.8;
}

.circle-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9F7AEA 0%, #805AD5 100%);
    top: 10px;
    right: 0;
    opacity: 0.9;
}

.circle-3 {
    width: 40px;
    height: 40px;
    background: white;
    top: 20px;
    left: 40px;
    z-index: 2;
}



/* Contact Section */
.contact {
    padding: 80px 0;
    background: #F5F5F5;
}

.contact-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
    padding-right: 2rem;
}

.contact-badge {
    color: #DC3A28;
    font-size: html 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-left h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.contact-left p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-email {
    margin-top: 2rem;
}

.email-label {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.email-link {
    color: #DC3A28;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ac3916;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128c3b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.contact-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.divider-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            #d1d5db 20%,
            #6b7280 50%,
            #d1d5db 80%,
            transparent 100%);
}

.contact-social {
    padding-left: 2rem;
}

.contact-social h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.contact-social p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.behance {
    background: #1769ff;
}

.social-icon.threads {
    background: linear-gradient(135deg, #000000, #333333);
}

/* Project Detail Page Styles */
.project-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #DC3A28 100%);
    color: #1e293b;
}

.project-hero-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

.project-breadcrumb {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #64748b;
}

.project-breadcrumb a {
    color: #DC3A28;
    text-decoration: none;
    font-weight: 600;
}

.project-breadcrumb a:hover {
    text-decoration: underline;
}

.project-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #1e293b;
}

.project-subtitle {
    font-size: 1.5rem;
    color: #475569;
    max-width: 600px;
}

.project-overview {
    padding: 80px 0;
    background: white;
}

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

.overview-image {
    display: flex;
    justify-content: center;
}

.phone-mockups.large {
    scale: 1.2;
}

.overview-details {
    padding-left: 2rem;
}

.project-info {
    display: grid;
    gap: 2rem;
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #DC3A28;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 600;
}

.project-description {
    padding: 80px 0;
    background: #F5F5F5;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.description-content h2:first-child {
    margin-top: 0;
}

.description-content p {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.result-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: #DC3A28;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
}

.project-gallery {
    padding: 80px 0;
    background: white;
}

.project-gallery h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d1d5db;
}

.placeholder-content {
    text-align: center;
    color: #64748b;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.placeholder-content p {
    font-size: 1.2rem;
    font-weight: 600;
}

.next-project {
    padding: 60px 0;
    background: #F5F5F5;
    border-top: 1px solid #e2e8f0;
}

.next-project-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.next-project h3 {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.next-project-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #DC3A28;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.next-project-link:hover {
    color: #b91c1c;
    transform: translateX(5px);
}

.next-project-link i {
    transition: transform 0.3s ease;
}

.next-project-link:hover i {
    transform: translateX(5px);
}

/* Responsive styles for project page */
@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 2.5rem;
    }

    .project-hero-content {
        padding: 0 1rem;
    }

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

    .overview-details {
        padding-left: 0;
    }

    .phone-mockups.large {
        scale: 0.8;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

/* Portfolio Page Styles */
.portfolio-hero {
    padding: 120px 0 80px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: #F0F2F6;
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.portfolio-hero-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.portfolio-hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.portfolio-hero .portfolio-badge {
    color: #DC3A28;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: typing 2.5s steps(10, end) forwards;
    position: relative;
    display: inline-block;
}

.portfolio-hero .portfolio-badge::after {
    content: '|';
    color: #DC3A28;
    font-weight: 100;
    animation: blink-caret 1s ease-in-out infinite;
    margin-left: 2px;
}

.portfolio-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #1e293b;
}

.portfolio-hero .client-logos {
    overflow: hidden;
    width: 1490px;
    height: 30px;
    margin-top: 2rem;
    opacity: 1;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.portfolio-hero .client-logos:active {
    cursor: grabbing;
}

.portfolio-hero .client-logos * {
    pointer-events: none;
}

.portfolio-hero .logos-track {
    display: flex;
    align-items: center;
    animation: slideOneByOne 18s ease-in-out infinite;
    width: calc(1920px);
    gap: 0;
}

.portfolio-hero .client-logos img {
    width: 160px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 1;
}

.portfolio-hero .client-logos img:hover {
    filter: grayscale(0%);
}

.portfolio-hero .client-logos:hover .logos-track {
    animation-play-state: paused;
}

.portfolio-gallery {
    padding: 80px 0;
    background: #F5F5F5;
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

.portfolio-full-grid .portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.portfolio-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #00bcd4;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Additional portfolio themes */
.startup-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.startup-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: white;
    text-align: center;
}

.startup-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.startup-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rocket {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.growth-chart {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 60px;
}

.bar {
    width: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    animation: growBar 2s ease-in-out infinite alternate;
}

@keyframes growBar {
    0% {
        transform: scaleY(0.5);
    }

    100% {
        transform: scaleY(1);
    }
}

.ecommerce-theme {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 2rem;
}

.ecommerce-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #fff;
    text-align: center;
}

.ecommerce-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.ecommerce-elements {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    font-size: 3rem;
}

.products {
    display: flex;
    gap: 1rem;
}

.product {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.restaurant-theme {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    padding: 2rem;
}

.restaurant-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #333;
    text-align: center;
}

.restaurant-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-style: italic;
}

.restaurant-elements {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.chef-hat {
    font-size: 3rem;
}

.menu-items {
    display: flex;
    gap: 1rem;
}

.menu-item {
    font-size: 2rem;
}

.contact {
    padding: 80px 0;
    background: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 4rem;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #000000;
    padding: 10px 0;
}

.footer-simple {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-simple p {
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -300px;
        top: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        transition: left 0.3s ease;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        padding: 0;
        z-index: 1001;
        overflow-y: auto;
    }

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

    .nav-menu::before {
        content: '';
        display: block;
        padding: 2rem 2rem 1rem;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 1rem;
    }

    .nav-menu::before {
        background-image: url('./attached_assets/logo.png');
        background-size: 120px auto;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 60px;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        color: #1e293b;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        text-align: left;
        width: 100%;
    }

    .nav-menu a:hover {
        background-color: rgba(220, 58, 40, 0.1);
        color: #DC3A28;
        padding-left: 2.5rem;
    }

    .nav-menu .btn-nav {
        margin: 1rem 2rem !important;
        padding: 0.8rem 1.5rem !important;
        display: block !important;
        max-width: calc(100% - 4rem) !important;
        text-align: center !important;
        border: none !important;
        border-radius: 25px !important;
    }

    .nav-menu .btn-nav:hover {
        padding-left: 1.5rem !important;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Overlay when menu is open */
    .nav-menu.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        width: calc(100vw - 280px);
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 120px 0 80px;
        min-height: 90vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-text {
        padding-right: 0;
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-bottom: 1rem;
        margin-top: 3rem;
        display: flex;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        max-width: none;
    }

    .btn-contact {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .client-logos {
        width: 100%;
        max-width: 400px;
        margin: 2rem 0 0 0;
    }

    .device-showcase {
        width: 320px;
        height: 280px;
        margin: 0 auto;
    }

    .laptop-image {
        width: 320px;
    }

    .smartphone-image {
        width: 130px;
    }

    .smartphone-container {
        top: 30px;
        left: 5px;
    }

    /* About Section Mobile */
    .about {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .about-text {
        order: 1;
        padding: 0 1rem;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1.2rem;
        line-height: 1.7;
        text-align: left;
        max-width: none;
    }

    .about-image {
        order: 2;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }

    .about-image img {
        width: 100%;
        max-width: 400px;
        border-radius: 20px;
    }

    .wasd-logo {
        position: static;
        padding: 2.5rem;
        width: 220px;
        height: 220px;
        margin-top: -60px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

    .logo-27 {
        max-width: 140px;
        max-height: 80px;
        object-fit: contain;
    }

    /* Portfolio Section Mobile */
    .portfolio {
        padding: 60px 0;
    }

    .portfolio-header {
        padding: 0 1rem;
        text-align: center;
        margin-bottom: 3rem;
    }

    .portfolio-header h2 {
        font-size: 2.5rem;
    }

    .portfolio-grid,
    .portfolio-full-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }

    .phone-mockups {
        scale: 0.8;
    }

    /* Services Section Mobile */
    .services {
        padding: 80px 0;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 1.5rem;
    }

    .services-left {
        padding-right: 0;
        text-align: center;
    }

    .services-left h2 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .services-description {
        margin-bottom: 2rem;
        text-align: left;
    }

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

    .service-card {
        padding: 2.5rem 2rem;
        text-align: center;
    }

    .testimonial {
        margin-top: 3rem;
        padding: 2.5rem;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 80px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding: 0 1.5rem;
    }

    .contact-left {
        padding-right: 0;
        text-align: center;
    }

    .contact-left h2,
    .contact-social h2 {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .contact-left p,
    .contact-social p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .contact-divider {
        height: 1px;
        width: 100%;
        order: 2;
    }

    .divider-line {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right,
                transparent 0%,
                #d1d5db 20%,
                #6b7280 50%,
                #d1d5db 80%,
                transparent 100%);
    }

    .contact-social {
        order: 3;
        padding-left: 0;
    }

    .social-icons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Portfolio Hero Mobile */
    .portfolio-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }

    .portfolio-hero-content {
        padding: 0 1rem;
    }

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

    .portfolio-hero .client-logos {
        width: 100%;
        max-width: 350px;
    }

    /* Project Detail Mobile */
    .project-hero {
        padding: 100px 0 40px;
    }

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

    .project-hero-content {
        padding: 0 1rem;
    }

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

    .overview-details {
        padding-left: 0;
    }

    .phone-mockups.large {
        scale: 0.8;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .description-content {
        padding: 0 1rem;
    }


}

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

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

    .about-text h2,
    .services-left h2,
    .contact-left h2,
    .contact-social h2,
    .portfolio-header h2,
    .portfolio-hero h1,
    .project-hero h1 {
        font-size: 2rem;
    }

    .client-logos {
        width: 100%;
        max-width: 300px;
    }

    .device-showcase {
        width: 280px;
        height: 240px;
        margin: 0 auto;
    }

    .laptop-image {
        width: 280px;
    }

    .smartphone-image {
        width: 110px;
    }

    .smartphone-container {
        top: 25px;
        left: 0px;
    }

    .wasd-logo {
        width: 180px;
        height: 180px;
        padding: 2rem;
    }

    .logo-27 {
        max-width: 100px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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