:root {
    --transition-speed: 0.3s;
    --border-radius: 12px;
}

body.light_theme {
    --tech-primary-color: #4e73df;
    --tech-secondary-color: #1cc88a;
    --tech-accent-color: #f6c23e;
    --tech-tertiary-color: #e74a3b;

    --bg-main: #ffffff;
    --bg-alt: #f8f9fc;
    --bg-card: #ffffff;
    --tech-bg-header: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);

    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-light: #ffffff;

    --border-color: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);

    --gradient-primary: linear-gradient(90deg, var(--tech-primary-color), var(--tech-secondary-color));
    --gradient-btn: linear-gradient(45deg, var(--tech-primary-color), #375bc8);
    --gradient-accent: linear-gradient(45deg, var(--tech-secondary-color), var(--tech-accent-color));
    --gradient-tertiary: linear-gradient(45deg, var(--tech-accent-color), var(--tech-tertiary-color));
    --overlay-light: rgba(255, 255, 255, 0.1);
    --overlay-dark: rgba(0, 0, 0, 0.1);
    --highlight: rgba(255, 255, 255, 0.9);
    --tech-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));

    --icon-bg: rgba(78, 115, 223, 0.1);
    --icon-color: var(--tech-primary-color);

    --web-color: #4e73df;
    --landing-color: #1cc88a;
    --ecommerce-color: #f6c23e;
    --blog-color: #e74a3b;
    --app-color: #8e44ad;
}

body.dark_theme {
    --tech-primary-color: #5e83ef;
    --tech-secondary-color: #2cd89a;
    --tech-accent-color: #f6c23e;
    --tech-tertiary-color: #e74a3b;

    --bg-main: #121212;
    --bg-alt: #1a1a2e;
    --bg-card: #1e1e30;
    --tech-bg-header: linear-gradient(135deg, #0f0f1a 0%, #0a1a30 100%);

    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --text-light: #ffffff;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.3);

    --gradient-primary: linear-gradient(90deg, var(--tech-primary-color), var(--tech-secondary-color));
    --gradient-btn: linear-gradient(45deg, var(--tech-primary-color), #4a6ad0);
    --gradient-accent: linear-gradient(45deg, var(--tech-secondary-color), var(--tech-accent-color));
    --gradient-tertiary: linear-gradient(45deg, var(--tech-accent-color), var(--tech-tertiary-color));
    --overlay-light: rgba(255, 255, 255, 0.05);
    --overlay-dark: rgba(0, 0, 0, 0.3);
    --highlight: rgba(255, 255, 255, 0.1);
    --tech-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));

    --icon-bg: rgba(94, 131, 239, 0.2);
    --icon-color: var(--tech-primary-color);

    --web-color: #5e83ef;
    --landing-color: #2cd89a;
    --ecommerce-color: #f6c23e;
    --blog-color: #e74a3b;
    --app-color: #9b59b6;
}

.tech-header {
    position: relative;
    background: var(--tech-bg-header);
    padding: 8rem 0;
    overflow: hidden;
}

.tech-header .container {
    position: relative;
    z-index: 1;
}

.tech-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 80px;
}

.tech-header-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.tech-header-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.tech-header-btn {
    display: inline-block;
    background: var(--gradient-btn);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.tech-header-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--text-light);
}

.tech-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.tech-floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    animation: float 15s infinite linear;
}

.tech-floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-duration: 20s;
    transform: rotate(15deg);
}

.tech-floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    animation-duration: 18s;
    animation-delay: 2s;
    transform: rotate(45deg);
}

.tech-floating-element:nth-child(3) {
    bottom: 15%;
    left: 20%;
    width: 70px;
    height: 70px;
    animation-duration: 25s;
    animation-delay: 5s;
    transform: rotate(30deg);
}

.tech-floating-element:nth-child(4) {
    bottom: 25%;
    right: 10%;
    width: 50px;
    height: 50px;
    animation-duration: 22s;
    animation-delay: 3s;
    transform: rotate(60deg);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.tech-services {
    padding: 6rem 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.tech-services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--bg-alt);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.tech-services .container {
    position: relative;
    z-index: 1;
}

.tech-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.tech-section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.tech-section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.tech-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid var(--border-light);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.tech-card:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.tech-card:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.tech-card:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.tech-card:nth-child(4) {
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.tech-card:nth-child(5) {
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.tech-card-header {
    height: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.tech-card-web .tech-card-header {
    background: linear-gradient(90deg, var(--web-color), var(--tech-primary-color));
}

.tech-card-landing .tech-card-header {
    background: linear-gradient(90deg, var(--landing-color), var(--tech-secondary-color));
}

.tech-card-ecommerce .tech-card-header {
    background: linear-gradient(90deg, var(--ecommerce-color), var(--tech-accent-color));
}

.tech-card-blog .tech-card-header {
    background: linear-gradient(90deg, var(--blog-color), var(--tech-tertiary-color));
}

.tech-card-app .tech-card-header {
    background: linear-gradient(90deg, var(--app-color), #7d3c98);
}

.tech-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.tech-card-web .tech-card-icon {
    color: var(--web-color);
}

.tech-card-landing .tech-card-icon {
    color: var(--landing-color);
}

.tech-card-ecommerce .tech-card-icon {
    color: var(--ecommerce-color);
}

.tech-card-blog .tech-card-icon {
    color: var(--blog-color);
}

.tech-card-app .tech-card-icon {
    color: var(--app-color);
}

.tech-card:hover .tech-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-card-web:hover .tech-card-icon {
    background: linear-gradient(135deg, var(--web-color), var(--tech-primary-color));
    color: var(--text-light);
}

.tech-card-landing:hover .tech-card-icon {
    background: linear-gradient(135deg, var(--landing-color), var(--tech-secondary-color));
    color: var(--text-light);
}

.tech-card-ecommerce:hover .tech-card-icon {
    background: linear-gradient(135deg, var(--ecommerce-color), var(--tech-accent-color));
    color: var(--text-light);
}

.tech-card-blog:hover .tech-card-icon {
    background: linear-gradient(135deg, var(--blog-color), var(--tech-tertiary-color));
    color: var(--text-light);
}

.tech-card-app:hover .tech-card-icon {
    background: linear-gradient(135deg, var(--app-color), #7d3c98);
    color: var(--text-light);
}

.tech-card-icon ion-icon {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.tech-card-content {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
}

.tech-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tech-card-web:hover .tech-card-title {
    color: var(--web-color);
}

.tech-card-landing:hover .tech-card-title {
    color: var(--landing-color);
}

.tech-card-ecommerce:hover .tech-card-title {
    color: var(--ecommerce-color);
}

.tech-card-blog:hover .tech-card-title {
    color: var(--blog-color);
}

.tech-card-app:hover .tech-card-title {
    color: var(--app-color);
}

.tech-card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.tech-card-feature {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.tech-card-feature:last-child {
    border-bottom: none;
}

.tech-card-feature ion-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.tech-card-web .tech-card-feature ion-icon {
    color: var(--web-color);
}

.tech-card-landing .tech-card-feature ion-icon {
    color: var(--landing-color);
}

.tech-card-ecommerce .tech-card-feature ion-icon {
    color: var(--ecommerce-color);
}

.tech-card-blog .tech-card-feature ion-icon {
    color: var(--blog-color);
}

.tech-card-app .tech-card-feature ion-icon {
    color: var(--app-color);
}

.tech-card-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    color: var(--text-light);
}

.tech-card-web .tech-card-btn {
    background: linear-gradient(135deg, var(--web-color), var(--tech-primary-color));
}

.tech-card-landing .tech-card-btn {
    background: linear-gradient(135deg, var(--landing-color), var(--tech-secondary-color));
}

.tech-card-ecommerce .tech-card-btn {
    background: linear-gradient(135deg, var(--ecommerce-color), var(--tech-accent-color));
}

.tech-card-blog .tech-card-btn {
    background: linear-gradient(135deg, var(--blog-color), var(--tech-tertiary-color));
}

.tech-card-app .tech-card-btn {
    background: linear-gradient(135deg, var(--app-color), #7d3c98);
}

.tech-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.tech-process {
    padding: 6rem 0;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.tech-process .container {
    position: relative;
    z-index: 1;
}

.tech-process-steps {
    position: relative;
    padding-left: 30px;
}

.tech-process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 0;
}

.tech-process-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.tech-process-step:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.tech-process-step:nth-child(2) {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.tech-process-step:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.tech-process-step:nth-child(4) {
    animation: fadeInUp 0.8s ease forwards 1s;
}

.tech-process-step:last-child {
    margin-bottom: 0;
}

.tech-process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.tech-process-step::after {
    content: attr(data-step);
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    z-index: 2;
}

.tech-process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tech-process-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-process-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.tech-process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-cta {
    padding: 6rem 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.tech-cta .container {
    position: relative;
    z-index: 1;
}

.tech-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tech-cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.tech-cta-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.tech-cta-btn {
    display: inline-block;
    background: var(--text-light);
    color: var(--tech-primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.tech-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: var(--tech-primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .tech-header {
        padding: 6rem 0;
    }

    .tech-header-title {
        font-size: 2.8rem;
    }

    .tech-header-subtitle {
        font-size: 1.2rem;
    }

    .tech-section-title {
        font-size: 2.5rem;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tech-cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .tech-header {
        padding: 5rem 0;
    }

    .tech-header-title {
        font-size: 2.2rem;
    }

    .tech-header-subtitle {
        font-size: 1.1rem;
    }

    .tech-section-title {
        font-size: 2rem;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .tech-cta-title {
        font-size: 2rem;
    }

    .tech-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .tech-header {
        padding: 4rem 0;
    }

    .tech-header-title {
        font-size: 1.8rem;
    }

    .tech-header-subtitle {
        font-size: 1rem;
    }

    .tech-section-title {
        font-size: 1.8rem;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tech-cta-title {
        font-size: 1.8rem;
    }

    .tech-cta-text {
        font-size: 1rem;
    }
}