/* Apple-inspired IT Company Design */

:root {
    /* Apple-style Color Palette */
    --apple-black: #1d1d1f;
    --apple-dark-gray: #2c2c2e;
    --apple-gray: #86868b;
    --apple-light-gray: #f5f5f7;
    --apple-white: #ffffff;
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-accent: #007AFF;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-size-base: 17px;
    --line-height-base: 1.47059;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    padding-top: 76px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--apple-black);
    background-color: var(--apple-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Apple Style */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--apple-black) !important;
}

.navbar-brand i {
    color: var(--apple-blue);
}

.nav-link {
    font-weight: 400;
    color: var(--apple-black) !important;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--apple-blue) !important;
}

.nav-link.active {
    color: var(--apple-blue) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--apple-blue);
    border-radius: 2px 2px 0 0;
}

/* Buttons - Apple Style */
.btn-primary {
    background: var(--apple-blue);
    border: none;
    color: var(--apple-white);
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    border-radius: 22px;
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: var(--apple-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-outline-primary {
    border: 1px solid var(--apple-blue);
    color: var(--apple-blue);
    background: transparent;
    border-radius: 22px;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background: var(--apple-blue);
    color: var(--apple-white);
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--apple-white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 22px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--apple-white);
}

/* Hero Section */
section[style*="min-height: 100vh"] {
    padding-top: 76px !important;
    background: linear-gradient(135deg, #000000 0%, #1d1d1f 100%) !important;
}

/* Cards - Apple Style */
.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: var(--apple-white);
}

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

.card-img-top {
    transition: var(--transition-smooth);
}

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

/* Service Cards - Redesigned */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-accent));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--apple-white);
}

/* Service Header - Gradient Background */
.service-header {
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover .service-header::before {
    opacity: 1;
}

.service-card:hover .service-header i {
    transform: scale(1.1);
}

.service-header i {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Product Header - Gradient Background */
.product-header {
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-header::before {
    opacity: 1;
}

.product-card:hover .product-header i {
    transform: scale(1.1);
}

.product-header i {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--apple-black);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--apple-light-gray) !important;
}

/* Footer - Apple Style */
footer {
    background: var(--apple-black) !important;
    color: var(--apple-gray);
    padding: 4rem 0 2rem;
    margin-top: 0 !important;
}

footer h5 {
    color: var(--apple-white);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

footer p {
    color: var(--apple-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

footer a {
    color: var(--apple-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--apple-white);
    text-decoration: underline;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

footer .text-muted {
    color: var(--apple-gray) !important;
    font-size: 0.8125rem;
}

/* Service Icons in Cards */
.card-body .fa-desktop,
.card-body .fa-print,
.card-body .fa-windows,
.card-body .fa-shield-virus,
.card-body .fa-wifi,
.card-body .fa-database,
.card-body .fa-file-word,
.card-body .fa-shield-alt {
    font-size: 2.5rem !important;
    color: var(--apple-blue);
    margin-bottom: 1rem;
}

/* Service Icon Large */
.service-icon-large {
    transition: var(--transition-smooth);
}

.service-icon-large:hover {
    transform: scale(1.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Form Elements */
.form-control,
.form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
    outline: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Step Numbers */
.rounded-circle[style*="width: 60px"] {
    background: var(--apple-blue) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* Feature Icons */
.rounded-circle[style*="width: 70px"] {
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-accent)) !important;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.25);
}

/* Text Colors */
.text-primary {
    color: var(--apple-blue) !important;
}

.text-muted {
    color: var(--apple-gray) !important;
}

/* Page Headers */
section[style*="background: linear-gradient"] {
    background: linear-gradient(135deg, #000000 0%, #1d1d1f 100%) !important;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
}
