.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.shimmer-button {
    position: relative;
    overflow: hidden;
}

.shimmer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.shimmer-button:hover::before {
    left: 100%;
}

.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e40af' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.glass-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .gradient-text {
        font-size: 2rem;
    }
}

.logo-header {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

@media (min-width: 640px) {
    .logo-header {
        max-height: 80px;
    }
}

.logo-footer {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.logo-mobile-white {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-services-dropdown {
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.mobile-services-dropdown.hidden {
    max-height: 0;
    opacity: 0;
}

.mobile-services-dropdown:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

#mobile-services-toggle {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.rotate-180 {
    transform: rotate(180deg);
}

#mobile-menu nav::-webkit-scrollbar {
    width: 6px;
}

#mobile-menu nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#mobile-menu nav::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#mobile-menu nav::-webkit-scrollbar-thumb:hover {
    background: #555;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

section {
    overflow-x: hidden;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.service-choice-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.service-choice-btn:hover::before {
    left: 100%;
}

.service-choice-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.checkmark {
    animation: checkmarkPop 0.3s ease;
}

@keyframes checkmarkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@media (max-width: 768px) {
    .scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .scroll-container > * {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    
    .scroll-container::-webkit-scrollbar {
        height: 4px;
    }
    
    .scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .scroll-container::-webkit-scrollbar-thumb {
        background: #1e40af;
        border-radius: 2px;
    }
    
    #process-container {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        max-height: 300px;
        padding-left: calc(50vw - 140px);
        padding-right: calc(50vw - 140px);
    }
    
    #process-container > div:not(.absolute) {
        flex: 0 0 280px;
        scroll-snap-align: center;
        margin-right: 1rem;
    }
    
    #process-container > div:last-child {
        margin-right: 0;
        padding-right: calc(50vw - 140px);
    }
}

.text-balance {
    text-wrap: balance;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.5s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-shimmer {
    animation: shimmer 2s linear infinite;
}

.service-type-btn {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.service-type-btn.active {
    background-color: #1e40af;
    border-color: #1e40af;
    color: white;
}

@media (max-width: 640px) {
    #start {
        min-height: auto;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    #start {
        height: auto;
        min-height: 100vh;
    }

    .service-card-container {
        min-height: auto;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rounded-full {
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .grid {
        gap: 0.5rem;
    }

    input, select, textarea {
        font-size: 16px;
    }
}

.availability-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    max-width: 8px;
    max-height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.service-card-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px;
}

.about-image {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
}