
/* Image and Animation Centering */
img:not(.logo img) {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

lottie-player {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Utility Classes for global layout */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

/* Fixes for Newsletter Form */
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}


/* Extracted from index.html */
/* Premium Animations & Interactions */
    :root {
      --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    html {
      scroll-behavior: smooth;
    }

    /* Cards */
    .service-card,
    .blog-card,
    .newsletter-card {
      transition: var(--transition-smooth);
      will-change: transform, box-shadow;
    }

    .service-card:hover,
    .blog-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
      border-color: rgba(0, 123, 255, 0.3);
    }

    /* Buttons */
    .btn-primary {
      transition: var(--transition-smooth);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    .btn-primary::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: -1;
    }

    .btn-primary:hover::after {
      left: 100%;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    }

    /* Logos */
    .logo-item {
      transition: var(--transition-smooth);
      filter: grayscale(100%) opacity(0.6);
      cursor: pointer;
    }

    .logo-item:hover {
      filter: grayscale(0%) opacity(1);
      transform: scale(1.1);
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
      transition: var(--transition-smooth);
      background-color: rgba(255, 255, 255, 0.9);
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      transform: scale(1.01);
      box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
      background-color: #fff;
    }

    /* Scroll Reveal Animation */
    .fade-in-up {
      animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }

      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* Extracted from blog-1099-writeoffs.html */
.blog-header {
            background: linear-gradient(135deg, rgba(0, 25, 80, 0.9), rgba(0, 123, 255, 0.8));
            color: white;
            padding: 100px 20px;
            text-align: center;
        }

        .blog-content-body {
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .blog-content-body h2 {
            margin-top: 40px;
            color: var(--color-primary);
        }

        .back-link {
            display: inline-block;
            margin-bottom: 20px;
            color: var(--color-primary);
            text-decoration: none;
            font-weight: 500;
        }

        .back-link:hover {
            text-decoration: underline;
        }