/*
 * Fortinode IT - Custom Styles
 * Brand Guide: Blueish Gray Color Scheme
 * Tagline: IT Made Simple for SMBs
 */

:root {
    /* Fortinode IT Brand Colors */
    --primary-color: #4A5568;      /* Blueish Gray - Primary */
    --secondary-color: #64748B;     /* Slate Gray - Secondary */
    --accent-color: #3B82F6;        /* Tech Blue - Accent */

    /* Supporting Colors */
    --dark-text: #1F2937;           /* Dark Gray for text */
    --medium-gray: #6B7280;         /* Medium Gray */
    --light-gray: #E5E7EB;          /* Light Gray for borders */
    --success-green: #10B981;       /* Success/positive actions */

    /* Legacy colors maintained for compatibility */
    --tech-blue: #3B82F6;
    --charcoal: #1F2937;
    --american-orange: #FE8B02;
    --bright-cyan: #3B82F6;
    --light-bg: #F5F5F5;

    /* Additional Colors */
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--tech-blue);
}

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

/* Custom Buttons */
.btn-primary {
    background-color: var(--tech-blue);
    border-color: var(--tech-blue);
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--bright-cyan);
    border-color: var(--bright-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 118, 234, 0.3);
}

.btn-orange {
    background-color: var(--american-orange);
    border-color: var(--american-orange);
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #e57a00;
    border-color: #e57a00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(254, 139, 2, 0.3);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background-color: transparent;
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--tech-blue);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--tech-blue) 0%, var(--bright-cyan) 100%);
    color: white;
    padding: 100px 0;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* Trust Badges */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge svg {
    fill: #FFD700;
}

/* Service Cards */
.service-card {
    background: var(--gray-500);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon.blue {
    background-color: var(--tech-blue);
    color: white;
}

.service-icon.orange {
    background-color: var(--american-orange);
    color: white;
}

.service-icon.cyan {
    background-color: var(--bright-cyan);
    color: white;
}

.service-icon.green {
    background-color: #16a34a;
    color: white;
}

.service-icon.charcoal {
    background-color: #1f2937;
    color: white;
}

.service-icon.purple {
    background-color: #6366f1;
    color: white;
}

.service-icon.teal {
    background-color: #0d9488;
    color: white;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Stats Section */
.stats-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 48px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--tech-blue);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(90deg, var(--tech-blue) 0%, var(--bright-cyan) 100%);
    color: white;
    padding: 70px 0;
}

.cta-section h2 {
    color: white;
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    background: var(--tech-blue);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    background-color: var(--gray-500);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.navbar-brand .tech-blue-text {
    color: var(--tech-blue);
}

.nav-link {
    font-weight: 500;
    color: var(--charcoal);
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--tech-blue);
}

.navbar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navbar-phone:hover {
    color: var(--tech-blue);
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: white;
    padding: 60px 0 24px;
}

footer h4 {
    color: white;
    margin-bottom: 24px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--tech-blue);
}

/* Forms */
.form-control {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 0.2rem rgba(39, 118, 234, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Utility Classes */
.bg-light-custom {
    background-color: var(--light-bg);
}

.bg-tech-blue {
    background-color: var(--tech-blue);
}

.bg-bright-cyan {
    background-color: var(--bright-cyan);
}

.bg-american-orange {
    background-color: var(--american-orange);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

.text-tech-blue {
    color: var(--tech-blue);
}

.text-orange {
    color: var(--american-orange);
}

.text-accent {
    color: var(--accent-color);
}

.fs-10rem {
    font-size: 10rem;
}

.fs-5rem {
    font-size: 5rem;
}

.fs-4rem {
    font-size: 4rem;
}

.fs-3rem {
    font-size: 3rem;
}

.fs-2rem {
    font-size: 2rem;
}

.opacity-30 {
    opacity: 0.3;
}

.min-w-32 {
    min-width: 32px;
}

.badge-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-circle-sm {
    width: 60px;
    height: 60px;
}

.badge-circle-md {
    width: 70px;
    height: 70px;
}

.badge-circle-lg {
    width: 120px;
    height: 120px;
}

.toast-stack {
    z-index: 9999;
}

/* Accessibility: Focus States */
*:focus-visible {
    outline: 3px solid var(--tech-blue);
    outline-offset: 2px;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: var(--tech-blue);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    background-color: var(--bright-cyan);
    transform: translateY(-4px);
}

#backToTop.show {
    display: flex;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
