/* Custom CSS for SoarBizX Bootstrap Website */

:root {
    --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --primary-color: #3B82F6;
    --secondary-color: #8B5CF6;
    --light-bg: #f8f9fa;
    --dark-bg: #1f2937;
}

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Button */
.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    color: white;
}

.btn-gradient:active {
    transform: translateY(0);
}

/* Outline Gradient Button */
.btn-outline-gradient {
    background: white;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--primary-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #3B82F6;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.btn-outline-gradient:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
    border: 2px solid #3B82F6;
}

/* Navbar Customization */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3B82F6 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Service Icons */
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-left: auto;
    margin-right: auto;
}

.bg-primary { background-color: #3B82F6 !important; }
.bg-secondary { background-color: #8B5CF6 !important; }
.bg-purple { background-color: #a855f7 !important; }
.bg-orange { background-color: #f97316 !important; }
.bg-cyan { background-color: #06b6d4 !important; }
.bg-teal { background-color: #14b8a6 !important; }
.bg-violet { background-color: #7c3aed !important; }
.bg-rose { background-color: #f43f5e !important; }
.bg-indigo { background-color: #6366f1 !important; }
.bg-info { background-color: #0891b2 !important; }

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.service-card .card-body {
    padding: 2rem 1.5rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

/* Client Cards */
.client-card {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f7ff 100%);
    border-radius: 12px;
}

.client-card:hover {
    transform: translateY(-4px);
    border-color: #3B82F6 !important;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15) !important;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.blog-card img {
    transition: transform 0.3s ease;
    height: 200px;
    object-fit: cover;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* Gradient Background */
.bg-gradient-primary {
    background: var(--primary-gradient);
}

/* Link Hover Effect */
.link-hover {
    transition: all 0.3s ease;
}

.link-hover:hover {
    color: #3B82F6 !important;
    padding-left: 4px;
}

/* Form Customization */
.form-control,
.form-select {
    border-color: #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Badge Customization */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

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

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

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

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* Section Spacing */
section {
    position: relative;
}

/* Container Max Width */
.container-lg {
    max-width: 1280px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Button Responsive */
@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Card Shadows */
.card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Success Alert */
.alert-success {
    background-color: #d1fae5;
    border-color: #a7f3d0;
    color: #065f46;
}

.alert-success .btn-close {
    filter: invert(0.4);
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Contact Form Specific */
.contact-form {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Hero Section Adjustments */
#home {
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
}

/* Section Transitions */
section {
    transition: all 0.3s ease;
}

/* Utility Classes */
.text-muted {
    color: #6b7280 !important;
}

.text-light-muted {
    color: #9ca3af;
}

/* Icon Colors */
.text-primary {
    color: #3B82F6 !important;
}

.text-secondary {
    color: #8B5CF6 !important;
}

/* Gradient Text for Different Elements */
.gradient-heading {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Disabled State */
.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* Dark Mode (Optional - Can be extended) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827;
        color: #f3f4f6;
    }
    
    .card,
    .contact-form {
        background-color: #1f2937;
        color: #f3f4f6;
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .container-lg {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Link Styling */
a {
    color: #3B82F6;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #8B5CF6;
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}
