/* ========================================
   HOMEPAGE STYLES
   Corporate, Minimalist, Modern Design
   ======================================== */

/* Homepage specific spacing - Override all navbar spacing */
.homepage-content {
    padding-top: 0 !important; /* Override default main-content padding */
    margin-top: -80px; /* Compensate for body padding-top from header.css */
}

/* Ensure hero starts immediately after navbar */
.hero-section {
    margin-top: 0;
    position: relative;
    top: 0;
}

/* ========================================
   HERO SECTION — Modernized
   Enhanced visual hierarchy, animations,
   decorative elements, responsive design
   ======================================== */

/* Hero background with layered gradients and animated mesh effect */
.hero-section {
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 147, 222, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(23, 109, 184, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 147, 222, 0.10) 0%, transparent 40%),
        linear-gradient(135deg, rgba(0, 86, 179, 0.85) 0%, rgba(23, 109, 184, 0.80) 100%),
        url('/media/pexels-kevin-ku-92347-577585.jpg');
    background-size: cover, cover, cover, cover;
    background-position: center, center, center, center;
    position: relative;
    padding: 120px 0 var(--spacing-xxl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle animated grain/noise texture overlay for depth */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 147, 222, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(23, 109, 184, 0.20) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: heroAmbientPulse 8s ease-in-out infinite alternate;
}

/* Decorative floating orbs for visual interest */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 8%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 147, 222, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: heroFloatOrb 12s ease-in-out infinite alternate;
}

@keyframes heroAmbientPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes heroFloatOrb {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 20px) scale(1.15);
        opacity: 0.8;
    }
    100% {
        transform: translate(15px, -15px) scale(0.95);
        opacity: 0.5;
    }
}

/* Hero content with entrance animations */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Staggered entrance animation for hero elements */
.hero-content > * {
    opacity: 0;
    transform: translateY(24px);
    animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content h1 {
    animation-delay: 0.15s;
}

.hero-content .lead {
    animation-delay: 0.3s;
}

.hero-buttons {
    animation-delay: 0.45s;
}

@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* H1 — improved typography scale and hierarchy */
.hero-content h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Lead paragraph — improved readability */
.hero-content .lead {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: var(--font-weight-normal);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--spacing-xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero buttons — enhanced layout and hover */
.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle shimmer effect on hero buttons */
.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transition: left 0.5s ease;
}

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

.hero-buttons .btn-primary {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
}

.hero-buttons .btn-light {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
}

/* ========================================
   SERVICES SECTION - Premium Corporate Design
   Enhanced with micro-interactions, scroll animations,
   refined typography, and improved visual hierarchy
   ======================================== */

.services-section {
    background: 
        linear-gradient(135deg, rgba(248, 250, 254, 0.95) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(248, 250, 254, 0.95) 100%),
        url('/media/products-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
}

/* Subtle section divider */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 147, 222, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(23, 162, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(0, 147, 222, 0.03) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   Section Title - Enhanced Underline Animation
   ======================================== */
.services-section .section-title {
    position: relative;
    margin-bottom: var(--spacing-xxl);
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Animated underline bar */
.services-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    opacity: 0.8;
    box-shadow: 0 2px 8px rgba(0, 147, 222, 0.25);
    animation: titleUnderlineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: center;
}

@keyframes titleUnderlineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    60% {
        opacity: 0.6;
    }
    100% {
        width: 80px;
        opacity: 0.8;
    }
}

/* ========================================
   Services Grid - Improved responsive layout
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    justify-items: center;
}

/* ========================================
   Service Card - Enhanced visual hierarchy
   and micro-interactions
   ======================================== */
.service-card {
    background: var(--white);
    border: 1px solid rgba(0, 147, 222, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl) var(--spacing-xl);
    text-align: center;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.06);
    transition: 
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 100%;
    width: 100%;
    /* Scroll-triggered entrance animation */
    opacity: 0;
    transform: translateY(30px);
    animation: serviceCardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered animation delays for cards */
.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceCardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top border gradient bar - hidden by default */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Subtle gradient overlay on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 147, 222, 0.03) 0%, rgba(23, 162, 184, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

/* Hover state - refined micro-interaction */
.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.10),
        0 6px 16px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 147, 222, 0.06);
    border-color: rgba(0, 147, 222, 0.18);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* Focus state for keyboard accessibility */
.service-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* ========================================
   Service Icon - Better sizing and visual weight
   ======================================== */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgba(0, 147, 222, 0.06) 0%, rgba(23, 162, 184, 0.06) 100%);
    border: 2px solid rgba(0, 147, 222, 0.10);
    border-radius: 50%;
    margin: 0 auto var(--spacing-lg) auto;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* Subtle pulsing glow behind icon */
.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 147, 222, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

/* Icon hover - refined motion without excessive rotation */
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 12px 28px rgba(0, 147, 222, 0.30),
        0 4px 10px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-icon::before {
    transform: translate(-50%, -50%) scale(1);
}

.service-card:hover .service-icon svg {
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-icon svg {
    width: 40px;
    height: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 147, 222, 0.15));
}

/* ========================================
   Service Card Typography - Improved hierarchy
   ======================================== */
.service-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-secondary);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background: 
        linear-gradient(135deg, rgba(248, 250, 254, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%),
        url('/media/pexels-kevin-ku-92347-577585.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Subtle section divider */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Default about image for homepage */
.about-image::before {
    content: '';
    display: block;
    width: 100%;
    height: 400px;
    background: url('https://aspdijital.com/media/pexels-kevin-ku-92347-577585.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.about-image:hover::before {
    transform: scale(1.02);
}

/* ========================================
   BLOG PREVIEW SECTION
   ======================================== */

.blog-preview {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 254, 0.92) 50%, rgba(255, 255, 255, 0.92) 100%),
        url('https://aspdijital.com/media/pexels-mikael-blomkvist-6476248.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

/* Subtle section divider */
.blog-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
}

/* Subtle geometric pattern overlay */
.blog-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 147, 222, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(23, 109, 184, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.blog-preview .container {
    position: relative;
    z-index: 1;
}

.blog-preview .section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Animated underline for section title */
.blog-preview .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-preview .section-title:hover::after {
    width: 120px;
}

.blog-preview-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xxl);
    line-height: 1.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* Stagger animation for cards - viewport triggered */
.blog-card {
    background: var(--white);
    border: 1px solid rgba(0, 147, 222, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: blogCardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger delays for each card */
.blog-grid .blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-grid .blog-card:nth-child(2) { animation-delay: 0.25s; }
.blog-grid .blog-card:nth-child(3) { animation-delay: 0.4s; }
.blog-grid .blog-card:nth-child(4) { animation-delay: 0.55s; }
.blog-grid .blog-card:nth-child(5) { animation-delay: 0.7s; }
.blog-grid .blog-card:nth-child(6) { animation-delay: 0.85s; }

@keyframes blogCardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top accent bar with smooth transition */
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    transition: background-position 0.5s ease;
}

/* Enhanced hover effects - better lift and shadow */
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 147, 222, 0.08);
    border-color: rgba(0, 147, 222, 0.2);
}

.blog-card:hover::before {
    background-position: 100% 0%;
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

/* Subtle overlay on image for depth */
.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.05) 0%, transparent 40%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smoother, more refined image zoom on hover */
.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: var(--spacing-xl);
    position: relative;
}

/* Improved blog meta layout with better category pill */
.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.813rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* Enhanced category pill styling */
.blog-meta .category {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.688rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 147, 222, 0.25);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-meta .category {
    box-shadow: 0 4px 12px rgba(0, 147, 222, 0.35);
    transform: translateY(-1px);
}

.blog-meta .date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.813rem;
}

.blog-meta .date svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.blog-content h3 {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.blog-card:hover .blog-content h3,
.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 2px;
}

/* Underline animation for read more link */
.read-more::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.read-more:hover::before {
    width: 100%;
}

/* Arrow slide effect */
.read-more::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230093DE'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M17 8l4 4m0 0l-4 4m4-4H3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}

.read-more:hover::after {
    transform: translateX(6px);
}

.blog-cta {
    text-align: center;
    padding-top: var(--spacing-lg);
}

.blog-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ========================================
   CONTACT CTA SECTION
   ======================================== */

.contact-cta {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.85) 0%, rgba(23, 162, 184, 0.85) 100%), 
                url('https://aspdijital.com/media/pexels-tara-winstead-8386440.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .homepage-content {
        margin-top: -70px; /* Match header.css body padding for this breakpoint */
    }

    .hero-section {
        padding: 100px 0 var(--spacing-xl) 0;
        min-height: 85vh;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 4.5vw, 2.75rem);
    }

    .hero-content .lead {
        font-size: clamp(1.05rem, 2vw, 1.2rem);
    }

    /* Reduce decorative elements on tablet */
    .hero-section::after {
        width: 200px;
        height: 200px;
        right: 5%;
        top: 15%;
    }
}

@media (max-width: 768px) {
    .homepage-content {
        margin-top: -65px; /* Match header.css body padding for this breakpoint */
    }
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Services grid - single column on mobile with reduced gap */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }

    .service-card {
        padding: var(--spacing-xl) var(--spacing-lg);
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

    .service-icon svg {
        width: 36px;
        height: 36px;
    }

    .service-card h3 {
        font-size: 1.375rem;
    }

    .hero-section {
        padding: 90px 0 var(--spacing-lg) 0;
        min-height: 75vh;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .hero-content h1 {
        font-size: clamp(1.875rem, 6vw, 2.25rem);
        margin-bottom: var(--spacing-sm);
    }

    .hero-content .lead {
        font-size: 1.05rem;
        margin-bottom: var(--spacing-lg);
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 13px 24px;
        font-size: 14px;
    }

    /* Disable floating orb animation on mobile for performance */
    .hero-section::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .homepage-content {
        margin-top: -60px; /* Match header.css body padding for this breakpoint */
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }
    
    .hero-content .lead {
        font-size: 1.125rem;
    }
    
    /* Services - compact on small mobile */
    .services-section {
        padding: var(--spacing-xl) 0;
    }

    .services-section .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xl);
    }

    .services-grid {
        gap: var(--spacing-md);
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: var(--spacing-md);
    }

    .service-icon svg {
        width: 36px;
        height: 36px;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-sm);
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 80px 0 var(--spacing-lg) 0;
        min-height: 65vh;
    }

    .hero-content h1 {
        font-size: clamp(1.875rem, 6.5vw, 2rem);
        letter-spacing: 0;
    }

    .hero-content .lead {
        font-size: 1.063rem;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        max-width: 100%;
        padding: 14px 24px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .blog-meta .category {
        white-space: normal;
        font-size: 0.625rem;
        padding: 3px 8px;
    }
}

/* ========================================
   ENHANCED ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .hero-section::after {
        animation: none;
    }

    .hero-content > * {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .service-card,
    .service-card:hover {
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }

    .service-card::before,
    .service-card::after,
    .service-card:hover::before,
    .service-card:hover::after {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .service-icon,
    .service-icon::before,
    .service-card:hover .service-icon {
        transition: none;
        transform: none !important;
    }

    .service-icon::before {
        transform: none !important;
    }

    .blog-card,
    .blog-card:hover {
        transform: none;
        opacity: 1;
        animation: none;
    }

    .about-image img,
    .blog-image img {
        transition: none;
        transform: none;
    }

    .services-section .section-title::after {
        animation: none;
        width: 80px;
        opacity: 0.8;
    }

    .blog-preview .section-title::after {
        transition: none;
    }

    .read-more::after,
    .read-more::before {
        transition: none;
    }

    .read-more:hover {
        padding-left: 0;
    }

    .blog-card::before {
        transition: none;
    }
}