/* Custom Styles for Frntln Tech Services */

/* Smooth Animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #c0c5d0;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #5b8fb9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4d5b9e, #5b8fb9);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4d5b9e 0%, #5b8fb9 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(77, 91, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 91, 158, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid #4d5b9e;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background: #4d5b9e;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a3a 100%);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252535 100%);
    border: 1px solid #333;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 91, 158, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #4d5b9e;
    box-shadow: 0 20px 40px rgba(77, 91, 158, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4d5b9e 0%, #5b8fb9 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Feature Cards */
.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #4d5b9e;
    box-shadow: 0 10px 30px rgba(77, 91, 158, 0.15);
    transform: translateY(-4px);
}

/* Stats Section */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4d5b9e 0%, #5b8fb9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Process Steps */
.process-step {
    position: relative;
    padding-left: 4rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 3rem;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, #4d5b9e 0%, transparent 100%);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #4d5b9e 0%, #5b8fb9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Form */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #4d5b9e;
    box-shadow: 0 0 0 3px rgba(77, 91, 158, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4d5b9e 0%, #5b8fb9 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Resource Links */
.resource-link {
    display: block;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.resource-link:hover {
    border-color: #4d5b9e;
    box-shadow: 0 4px 12px rgba(77, 91, 158, 0.15);
    transform: translateX(4px);
}

.resource-link i {
    transition: transform 0.3s ease;
}

.resource-link:hover i {
    transform: translateX(4px);
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #4d5b9e;
    box-shadow: 0 10px 40px rgba(77, 91, 158, 0.2);
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: #4d5b9e;
    box-shadow: 0 10px 30px rgba(77, 91, 158, 0.15);
    transform: translateY(-4px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

/* Image Overlays */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(77, 91, 158, 0.8) 0%, rgba(91, 143, 185, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

.image-overlay img {
    transition: transform 0.4s ease;
}

.image-overlay:hover img {
    transform: scale(1.05);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4d5b9e 0%, #5b8fb9 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4d5b9e;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}
