﻿* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.brand-primary {
    color: #10B981;
}

.bg-brand-primary {
    background-color: #10B981;
}

.brand-dark {
    color: #1f2937;
}

.bg-brand-dark {
    background-color: #1f2937;
}

.brand-light {
    color: #D1FAE5;
}

.bg-brand-light {
    background-color: #D1FAE5;
}

.brand-accent {
    color: #34D399;
}

.bg-brand-accent {
    background-color: #34D399;
}

.brand-secondary {
    color: #6B7280;
}

.bg-brand-secondary {
    background-color: #6B7280;
}

.gray-light {
    color: #F9FAFB;
}

.bg-gray-light {
    background-color: #F9FAFB;
}

.gray-dark {
    color: #6B7280;
}

.text-gray-dark {
    color: #6B7280;
}

.section-padding {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* Hero Background - Simplified for mobile */
.hero-geometric {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #064e3b 0%, #10b981 30%, #0d9488 60%, #1e40af 100%);
    background-size: 200% 200%;
    animation: gradient-flow 15s ease infinite;
    overflow: hidden;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 64, 175, 0.4) 0%, transparent 50%);
    filter: blur(80px);
}

/* Simplified shapes for mobile */
.elegant-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.1);
}

.elegant-shape-1 {
    width: 300px;
    height: 70px;
    left: -5%;
    top: 20%;
    transform: rotate(12deg);
    background: linear-gradient(to right, rgba(52, 211, 153, 0.4), rgba(59, 130, 246, 0.3));
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.2);
}

.elegant-shape-2 {
    width: 250px;
    height: 60px;
    right: -5%;
    top: 70%;
    transform: rotate(-15deg);
    background: linear-gradient(to right, rgba(99, 102, 241, 0.4), rgba(129, 140, 248, 0.3));
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.2);
}

/* Hero Content Layout */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .hero-text {
        flex: 1;
        max-width: 600px;
    }

    .hero-image-container {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

@media (min-width: 768px) {
    .elegant-shape-1 {
        width: 600px;
        height: 140px;
        left: -10%;
        top: 15%;
        animation: float-shape 12s ease-in-out infinite, fade-in 2.4s ease-out 0.3s both;
    }

    .elegant-shape-2 {
        width: 500px;
        height: 120px;
        right: -5%;
        top: 70%;
        animation: float-shape 14s ease-in-out infinite, fade-in 2.4s ease-out 0.5s both;
    }
}

/* Hero for Web Design */
.hero-web-design {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }

    50% {
        transform: translateY(15px) rotate(var(--rotation, 0deg));
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-50px) rotate(calc(var(--rotation, 0deg) - 15deg));
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotation, 0deg));
    }
}

/* Navigation - Mobile optimized */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1200px;
        padding: 0 20px;
        background: transparent;
        box-shadow: none;
    }

    .nav-content {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        padding: 12px 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.2);
    }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        flex: 1;
    }
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #10B981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
}

.nav-item-btn {
    background-color: #10B981;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.nav-item-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 8px;
}

.dropdown-item:hover {
    color: #10B981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Dropdown Styles */
@media (max-width: 767px) {
    .mobile-dropdown {
        position: relative;
    }

    .mobile-dropdown-menu {
        background: rgba(16, 185, 129, 0.05);
        border-radius: 8px;
        margin: 4px 0;
        padding: 8px 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mobile-dropdown.active .mobile-dropdown-menu {
        max-height: 300px;
    }

    .mobile-dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
        color: #6B7280;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        margin: 2px 8px;
        border-radius: 8px;
    }

    .mobile-dropdown-item:hover {
        color: #10B981;
        background: rgba(16, 185, 129, 0.1);
    }

    .mobile-dropdown-item i {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #6B7280;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 80px 20px 20px 20px;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6B7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-mobile-menu:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #10B981;
    /* Brand color cursor */
    white-space: normal;
    padding-bottom: 8px;
    /* Extra padding for descenders */
    margin: 0 auto 0 0;
}

@media (min-width: 768px) {
    .typewriter {
        width: fit-content;
        white-space: nowrap;
        /* No wrap on desktop */
        border-right: 4px solid #10B981;
        animation: typing 2.5s steps(30, end), blink-caret 0.75s step-end infinite;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: rgba(255, 255, 255, 0.75);
    }
}

/* FAQ Styles */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.faq-question {
    width: 100%;
    padding: 16px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .faq-question {
        padding: 20px;
    }
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question.active {
    background: #f0fdf4;
    color: #10B981;
}

.faq-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 16px 16px 16px;
    color: #6B7280;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* Tabs System - Mobile optimized */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 4px;
}

.tab-button {
    padding: 8px 12px;
    margin: 2px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 14px;
}

@media (min-width: 768px) {
    .tab-button {
        padding: 12px 24px;
        margin: 4px;
        font-size: 16px;
    }
}

.tab-button.active {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #10B981;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Image Frame for Results Section */
.result-image-frame {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 3px solid transparent;
    background-clip: padding-box;
}

.result-image-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #10B981, #34D399, #06B6D4);
    border-radius: 16px;
    z-index: -1;
}

.result-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    border-radius: 13px;
    pointer-events: none;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
    transition: transform 0.3s ease;
}

.result-image-frame:hover .result-image {
    transform: scale(1.05);
}

/* Simplified animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Progress bar animation */
.progress-bar {
    height: 4px;
    background: linear-gradient(to right, #10B981, #34D399);
    border-radius: 2px;
    width: 0%;
    transition: width 1.5s ease-in-out;
}

.progress-bar.animate {
    width: 100%;
}

/* Service cards */
.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .service-card {
        padding: 24px;
    }
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -6px rgba(16, 185, 129, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #34D399);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Portfolio and Results specific styles */
.portfolio-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .portfolio-card {
        padding: 24px;
    }
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -6px rgba(16, 185, 129, 0.2);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #34D399);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio-card:hover::before {
    transform: scaleX(1);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(52, 211, 153, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Blog Post Cards */
.blog-post-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -6px rgba(16, 185, 129, 0.2);
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #34D399);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-post-card:hover::before {
    transform: scaleX(1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.1));
    color: #10B981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 16px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #10B981;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #059669;
    gap: 12px;
}

.roi-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Thank You Section Styles */
.thank-you-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #10B981, #059669);
}

.thank-you-btn {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thank-you-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.thank-you-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #34D399, #10B981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thank-you-btn:hover::before {
    opacity: 1;
}

/* Contact form */
.contact-form {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .contact-form {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 32px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
}

.contact-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

.contact-input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-btn {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #34D399, #10B981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-btn:hover::before {
    opacity: 1;
}

/* Green backgrounds for better integration */
.green-bg-section {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.green-accent-bg {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(52, 211, 153, 0.02) 100%);
}

.section-gradient-light {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 40%, #e0f2fe 100%);
    /* Emerald to Light Blue */
    position: relative;
    overflow: hidden;
}

.section-gradient-soft {
    background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 50%, #dcfce7 100%);
    /* Slate to Emerald */
    position: relative;
    overflow: hidden;
}

/* New Vibrant Gradient Options */
.section-vibrant-glow {
    background: linear-gradient(135deg, #064e3b 0%, #10b981 100%);
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #10B981;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Mobile specific improvements */
@media (max-width: 767px) {
    .hero-geometric {
        padding-top: 80px;
    }

    .typewriter {
        font-size: 1.8rem;
        line-height: 1.2;
        word-break: break-word;
        white-space: normal;
        border-right: none;
    }

    .tab-container {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-button {
        width: 100%;
        text-align: center;
        margin: 2px 0;
    }

    .grid {
        gap: 1rem;
    }

    .contact-form {
        margin: 1rem;
    }
}

/* Prevent horizontal scroll issues */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Ensure touch targets are large enough */
.touch-target {
    min-height: 44px;
    min-width: 44px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 3D Cubes Animation */
.cubes-scene {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-container {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
}

.cube {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.cube-1 {
    top: 0;
    left: 0;
    animation: rotate-cube 15s infinite linear, float-cube 6s ease-in-out infinite;
}

.cube-2 {
    top: 100px;
    left: 100px;
    animation: rotate-cube 25s infinite linear reverse, float-cube 8s ease-in-out infinite;
}

.cube-3 {
    top: -50px;
    left: 150px;
    animation: rotate-cube 20s infinite linear, float-cube 7s ease-in-out infinite;
}

.face {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(30, 64, 175, 0.2));
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.face.front {
    transform: rotateY(0deg) translateZ(40px);
}

.face.back {
    transform: rotateY(180deg) translateZ(40px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(40px);
}

.face.right {
    transform: rotateY(90deg) translateZ(40px);
}

.face.top {
    transform: rotateX(90deg) translateZ(40px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

@keyframes rotate-cube {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes float-cube {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -30px;
    }
}


/* Image Frame for Results Section */
.result-image-frame {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 3px solid transparent;
    background-clip: padding-box;
}

.result-image-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #10B981, #34D399, #06B6D4);
    border-radius: 16px;
    z-index: -1;
}

.result-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    border-radius: 13px;
    pointer-events: none;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
    transition: transform 0.3s ease;
}

.result-image-frame:hover .result-image {
    transform: scale(1.05);
}