/*
 * Homepage Styles - Modern Light Theme
 * Mahdi Hasan Personal Website
 * 
 * Color Palette:
 * - Primary: #4F46E5 (Indigo)
 * - Secondary: #F97316 (Coral)
 * - Accent: #10B981 (Sage Green)
 * - Background: #FAFAF9 / #FFFFFF
 * - Text: #1F2937 / #64748B
 */

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
:root {
    --color-primary: #4F46E5;
    --color-primary-light: #6366F1;
    --color-primary-dark: #4338CA;
    --color-secondary: #F97316;
    --color-secondary-light: #FB923C;
    --color-accent: #10B981;
    --color-accent-light: #34D399;

    --color-bg-light: #FAFAF9;
    --color-bg-white: #FFFFFF;
    --color-bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);

    --color-text-dark: #1F2937;
    --color-text-medium: #4B5563;
    --color-text-light: #64748B;
    --color-text-muted: #9CA3AF;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', var(--font-primary);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===================================
   STICKY HEADER Z-INDEX FIX
   =================================== */
/* 
 * Force sticky header to stay above all page content.
 * Target multiple possible selectors used by sticky plugins.
 */
header.navbar,
.site-header,
.site-header.is-sticky,
.navbar-sticky,
.navbar.sticky,
.navbar.is-sticky,
header.sticky,
.sticky-header,
.fury-topbar+.navbar,
.navbar-wrapper,
.navbar-wrapper.is-sticky,
#masthead,
#masthead.sticky {
    position: sticky !important;
    z-index: 99999 !important;
}

/* ===================================
   GLOBAL RESETS FOR HOMEPAGE
   =================================== */
.homepage-modern {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.homepage-modern *,
.homepage-modern *::before,
.homepage-modern *::after {
    box-sizing: border-box;
}

.homepage-modern img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.hp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hp-container-wide {
    max-width: 1400px;
}

.hp-section {
    padding: 5rem 0;
}

.hp-section-alt {
    background: var(--color-bg-light);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
.hp-heading-xl {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.hp-heading-lg {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.hp-heading-md {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.hp-heading-sm {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.hp-text-lg {
    font-size: 1.25rem;
    color: var(--color-text-medium);
    line-height: 1.7;
}

.hp-text-md {
    font-size: 1rem;
    color: var(--color-text-medium);
    line-height: 1.7;
}

.hp-text-sm {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.hp-text-center {
    text-align: center;
}

.hp-accent-text {
    color: var(--color-primary);
}

.hp-gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   BUTTONS
   =================================== */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hp-btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.hp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.5);
    color: white;
}

.hp-btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.hp-btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.hp-btn-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.hp-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    color: white;
}

/* ===================================
   HERO SECTION
   =================================== */
.hp-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    overflow: hidden;
}

.hp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hp-hero-tagline {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.hp-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-medium);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hp-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Floating shapes animation */
.hp-hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.hp-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.hp-shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hp-shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(251, 146, 60, 0.08) 100%);
    bottom: 20%;
    right: 15%;
    animation-delay: -5s;
}

.hp-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(52, 211, 153, 0.08) 100%);
    top: 30%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(30px, 10px) rotate(3deg);
    }
}

/* ===================================
   ACHIEVEMENT METRICS
   =================================== */
.hp-metrics {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hp-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hp-metric-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.hp-metric-card:hover {
    transform: translateY(-5px);
    background: var(--color-bg-light);
}

.hp-metric-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.5rem;
}

.hp-metric-icon.accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}

.hp-metric-icon.secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
}

.hp-metric-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hp-metric-label {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ===================================
   SERVICES SECTION (3 Columns)
   =================================== */
.hp-services {
    padding: 6rem 0;
    background: var(--color-bg-gradient);
}

.hp-services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hp-service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.hp-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hp-service-card:hover::before {
    opacity: 1;
}

.hp-service-card.accent-green::before {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}

.hp-service-card.accent-orange::before {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
}

.hp-service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.hp-service-card.accent-green .hp-service-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
}

.hp-service-card.accent-orange .hp-service-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.05) 100%);
}

.hp-service-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.hp-service-desc {
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hp-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.hp-service-link:hover {
    gap: 0.75rem;
    color: var(--color-primary-dark);
}

/* ===================================
   CONTENT AUTOMATION SECTION
   =================================== */
.hp-automation {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hp-automation::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 30px 30px;
    opacity: 0.5;
}

.hp-automation-content {
    position: relative;
    z-index: 1;
}

.hp-automation-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.hp-automation-header .hp-heading-lg {
    color: white;
}

.hp-automation-header .hp-text-lg {
    color: rgba(255, 255, 255, 0.8);
}

.hp-automation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.hp-automation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.hp-automation-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.hp-automation-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hp-automation-card h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hp-automation-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.hp-automation-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   PHILOSOPHY/BIOGRAPHY SECTION
   =================================== */
.hp-philosophy {
    padding: 6rem 0;
    background: white;
}

.hp-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hp-philosophy-content {
    max-width: 550px;
}

.hp-philosophy-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

.hp-philosophy-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hp-philosophy-decoration {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-radius: 50%;
    position: relative;
}

.hp-philosophy-decoration::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   PROFESSIONAL ASSOCIATIONS SECTION
   =================================== */
.hp-trust {
    padding: 5rem 0;
    background: var(--color-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hp-trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hp-trust-header p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    font-weight: 600;
}

.hp-trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.hp-trust-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.hp-trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hp-trust-logo-wrapper {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hp-trust-logo-svg {
    width: 90px;
    height: 30px;
}

.hp-trust-logo-img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all var(--transition-normal);
}

.hp-trust-card:hover .hp-trust-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.hp-trust-logo-styled {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.hp-trust-logo-styled.adopt {
    font-family: 'Georgia', serif;
    font-size: 1.75rem;
}

.hp-trust-logo-subtext {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-medium);
    margin-top: 0.25rem;
}

.hp-trust-logo-styled.fmp {
    font-size: 0.75rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hp-trust-logo-styled.dailystar {
    font-family: 'Times New Roman', serif;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 700;
    color: #1a1a1a;
}

.hp-trust-logo-styled.mindvalley {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
}

.hp-cprw-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    position: relative;
}

.hp-cprw-text {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
}

.hp-cprw-subtitle {
    position: absolute;
    bottom: -8px;
    font-size: 0.5rem;
    background: white;
    padding: 0 0.25rem;
    color: var(--color-text-medium);
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-trust-desc {
    font-size: 0.75rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Legacy support for simple text logos */
.hp-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.hp-trust-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
    max-height: 40px;
    width: auto;
}

.hp-trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.hp-trust-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-light);
    opacity: 0.6;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.hp-trust-logo-text:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* ===================================
   SECONDARY CTA SECTION
   =================================== */
.hp-cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    background-size: 100px 100px;
}

.hp-cta-banner-content {
    position: relative;
    z-index: 1;
}

.hp-cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.hp-cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hp-cta-banner .hp-btn {
    background: white;
    color: var(--color-primary);
}

.hp-cta-banner .hp-btn:hover {
    background: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===================================
   CONTACT FORM SECTION
   =================================== */
.hp-contact {
    padding: 6rem 0;
    background: white;
}

.hp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.hp-contact-info h2 {
    margin-bottom: 1.5rem;
}

.hp-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hp-contact-item-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.hp-contact-form {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.hp-form-group {
    margin-bottom: 1.5rem;
}

.hp-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.hp-form-input,
.hp-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text-dark);
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.hp-form-input:focus,
.hp-form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.hp-form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===================================
   LATEST POSTS SECTION
   =================================== */
.hp-posts {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.hp-posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.hp-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hp-post-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.hp-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hp-post-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.hp-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hp-post-card:hover .hp-post-image img {
    transform: scale(1.05);
}

.hp-post-content {
    padding: 1.5rem;
}

.hp-post-meta {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.hp-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.hp-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hp-post-title a:hover {
    color: var(--color-primary);
}

.hp-post-excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hp-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.hp-post-link:hover {
    gap: 0.75rem;
}

/* ===================================
   FOOTER SECTION
   =================================== */
.hp-footer {
    background: #1F2937;
    color: white;
    padding: 4rem 0 2rem;
}

.hp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hp-footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.hp-footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.7;
}

.hp-footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.hp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-footer-links li {
    margin-bottom: 0.75rem;
}

.hp-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hp-footer-links a:hover {
    color: white;
}

.hp-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hp-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.hp-footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.hp-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hp-footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 1024px) {
    .hp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-services-grid .hp-service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .hp-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hp-philosophy-visual {
        order: -1;
    }

    .hp-contact-grid {
        grid-template-columns: 1fr;
    }

    .hp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hp-section {
        padding: 4rem 0;
    }

    .hp-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hp-services-grid {
        grid-template-columns: 1fr;
    }

    .hp-services-grid .hp-service-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .hp-automation-grid {
        grid-template-columns: 1fr;
    }

    .hp-posts-grid {
        grid-template-columns: 1fr;
    }

    .hp-trust-logos {
        gap: 2rem;
    }

    .hp-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hp-hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hp-container {
        padding: 0 1rem;
    }

    .hp-metrics-grid {
        grid-template-columns: 1fr;
    }

    .hp-metric-card {
        padding: 1.5rem 1rem;
    }

    .hp-philosophy-decoration {
        width: 250px;
        height: 250px;
    }
}

/* ===================================
   ANIMATIONS ON SCROLL (optional)
   =================================== */
.hp-animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hp-animate-fade-up.hp-visible {
    opacity: 1;
    transform: translateY(0);
}