@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1E293B;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.5s ease-out;
}

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

/* Custom button effects */
.btn-hover-effect {
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Form styling */
input, textarea, select {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: #64748b;
}

/* Service card animations */
.service-card {
    transition: all 0.3s ease;
}

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

/* Portfolio item animations */
.portfolio-item {
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Filter buttons */
.filter-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    transform: scale(1.05);
}

.filter-btn.active {
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hidden-mobile { 
        display: none; 
    }
    
    .block-mobile { 
        display: block; 
    }

    body {
        font-size: 14px;
    }

    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (min-width: 768px) {
    .hidden-desktop { 
        display: none; 
    }
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #3B82F6, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

button, a {
    transition: all 0.3s ease;
}

/* Social media icons */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #3B82F6;
    transform: translateY(-2px);
}

/* Image Standardization - 60:40 Aspect Ratio */
img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

/* Team member circular images */
.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Icon placeholder backgrounds */
.icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 0.5rem;
}

/* Feather icon fixes */
svg[data-feather] {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Better spacing for sections */
section {
    margin-bottom: 5rem;
}

/* Gradient backgrounds for sections */
.gradient-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Hover effects for cards */
.card-hover {
    transition: all 0.3s ease;
}

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