/* Alpine.js x-cloak directive - prevents elements from showing before Alpine.js is ready */
[x-cloak] {
    display: none !important;
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

/* Breadcrumb container - ensures all elements are aligned */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Breadcrumb links and text - consistent height and alignment */
.breadcrumb-nav a,
.breadcrumb-nav span {
    display: inline-flex;
    align-items: center;
    height: 1.5rem; /* Fixed height for consistency */
    line-height: 1.5rem;
    vertical-align: middle;
}

/* Breadcrumb icons - ensure they're centered */
.breadcrumb-nav i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
}

/* Blue Penguin Digital - Custom CSS */
/* Dark Theme with Royal Blues and Penguin Orange */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

/* Custom Properties for Dark Theme */
:root {
    /* Primary Colors - Royal & Navy Blues */
    --primary-blue: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    
    /* Accent Color - Penguin Orange */
    --accent-orange: #f97316;
    --accent-light: #fb923c;
    
    /* Dark Theme Backgrounds */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-medium: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

/* Links */
a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-orange);
}

/* Buttons */
.btn, .bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary, .bp-btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover, .bp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary, .bp-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--bg-card);
}

.btn-secondary:hover, .bp-btn-secondary:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.btn-outline, .bp-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-outline:hover, .bp-btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Cards */
.card, .bp-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.card:hover, .bp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-orange);
}

/* Penguin Branding Elements */
.penguin-accent {
    color: var(--accent-orange);
}

.penguin-bg {
    background: var(--gradient-primary);
}

.penguin-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    /* Allow per-page control; Tailwind utilities can set min-height */
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero.full {
    min-height: 100vh;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    opacity: 0.7;
    animation: patternFloat 20s ease-in-out infinite alternate;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, transparent 50%),
        linear-gradient(45deg, transparent 50%, rgba(249, 115, 22, 0.2) 100%);
    animation: gradientShift 15s ease-in-out infinite alternate;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    filter: blur(3px);
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 250px;
    height: 250px;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    bottom: 10%;
    left: 20%;
    width: 200px;
    height: 200px;
    animation: float3 18s ease-in-out infinite;
}

.shape-4 {
    top: 30%;
    right: 30%;
    width: 150px;
    height: 150px;
    animation: float4 22s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: contentFadeIn 1s ease-out;
}

.glowing-border {
    position: relative;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 9999px;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.penguin-accent {
    color: var(--accent-orange);
    display: inline-block;
    position: relative;
    margin-top: 0.5rem;
}

.penguin-accent::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    opacity: 0.5;
}

/* Hero Animations */
@keyframes patternFloat {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(3deg); }
}

@keyframes gradientShift {
    0% { opacity: 0.5; }
    50% { opacity: 0.7; }
    100% { opacity: 0.5; }
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 40px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(25px, -25px) rotate(90deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 15px) rotate(-90deg); }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Button Enhancements */
.btn, .bp-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after, .bp-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.btn:hover::after, .bp-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.btn-primary, .bp-btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-blue) 100%);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */
.nav {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.nav-logo img {
    height: 2rem;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-card);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

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

.section-alt {
    background: var(--bg-secondary);
}

/* Reduced top padding for specific sections */
.section-reduced-top-padding {
    padding: 1rem 0 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-card);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid var(--bg-card);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
}

/* Trust Indicators */
.trust-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-logo {
        width: 140px;
        height: 140px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .shape {
        opacity: 0.05;
    }
    
    .hero-bg-pattern,
    .hero-bg-gradient {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }

.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
} 

/* Hero Logo */
.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: logoFloat 6s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
} 

/* Portfolio Cards */
.portfolio-card {
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

/* Disable hover effects on mobile devices */
@media (max-width: 768px) {
    .portfolio-card:hover {
        transform: none;
    }
    
    .portfolio-card:hover .portfolio-overlay {
        opacity: 0;
    }
    
    .portfolio-card:hover .view-project {
        transform: translateY(20px);
    }
    
    .portfolio-card:hover .portfolio-image {
        transform: none;
    }
}

.portfolio-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 16/9;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.view-project {
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-orange);
    border-radius: 9999px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .view-project {
    transform: translateY(0);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
} 

/* Special Card for Dave */
.special-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    border: 2px solid rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.special-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    animation: daveGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes daveGlow {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg) scale(1.1);
        opacity: 0.6;
    }
}

.special-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(249, 115, 22, 0.5);
} 

.profile-pic {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
    box-shadow: 0 4px 16px rgba(30, 40, 80, 0.15);
    background: var(--bg-card);
    margin-bottom: 0.5rem;
}

.profile-pic--lg {
    width: 192px;
    height: 192px;
}

/* Tablet optimisation */
@media (max-width: 1024px) {
    .profile-pic--lg { width: 160px; height: 160px; }
    .section { padding: 4rem 0; }
    .story-card { padding: 1rem; }
    .ba-label { font-size: 0.7rem; padding: 0.2rem 0.45rem; }
}

/* Mobile optimisation */
@media (max-width: 640px) {
    .profile-pic--lg { width: 120px; height: 120px; }
    .story-title { margin-top: 0.25rem; }
    .cta-inline { gap: 0.5rem; flex-direction: column; align-items: stretch; }
    .ba-grid { grid-template-columns: 1fr; }
    /* Mobile-first buttons: full-width, large tap targets */
    .bp-btn, .btn {
        width: 100%;
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    /* Ensure hero CTA buttons also span full width on mobile */
    .hero .bp-btn { width: 100%; }
}

/* Improve focus visibility for accessibility on touch devices */
.bp-btn:focus-visible, .btn:focus-visible {
    outline: 3px solid rgba(249, 115, 22, 0.6);
    outline-offset: 2px;
}

/* Partner Logos */
.partner-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 1.25rem;
    transition: all var(--transition-medium);
    min-width: 120px;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.partner-logo {
    width: 100%;
    height: 80px;
    object-fit: contain;
    border-radius: 1.25rem; /* Clipped corners */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    filter: brightness(1) contrast(1);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    background: white;
    padding: 8px;
}

.partner-logo-container:hover .partner-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(30, 40, 80, 0.15);
} 

.partner-logo-circle {
    border-radius: 50% !important;
    background: white;
    /* Optional: add a subtle border or shadow for contrast */
    box-shadow: 0 2px 8px rgba(30,40,80,0.10);
} 

.partner-logo-circle-container {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 50% !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 8px rgba(30,40,80,0.10);
}

.partner-logo-circle-container .partner-logo-circle {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50% !important;
    background: white;
} 

/* Icon Badge Styles */
.icon-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
}

/* Trust Indicator Styles */
.trust-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.trust-indicator:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

#back-to-top:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}

#back-to-top.opacity-0 {
    opacity: 0;
    pointer-events: none;
}

#back-to-top.opacity-100 {
    opacity: 1;
    pointer-events: auto;
}

/* Logo Container */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

/* Group hover effects for buttons */
.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:text-penguin-orange-400 {
    color: var(--accent-orange);
}

/* Parallax background elements */
[data-parallax-bg] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* AOS animation data attributes */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Lucide icon styles */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

/* Form validation styles */
.border-red-500 {
    border-color: #ef4444 !important;
}

/* Lazy loading styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Background utility classes */
.bg-primary {
    background: var(--bg-primary);
}

.bg-secondary {
    background: var(--bg-secondary);
}

.bg-card {
    background: var(--bg-card);
} 

/* ========================================
   Narrative Case Study Styles (Tasty Not Wasty)
   ======================================== */
.narrative .story-lead {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    color: var(--text-primary);
}

.story-intro {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

.story-block {
    max-width: 1000px;
    margin: 0 auto;
}

.story-heading {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin-bottom: 1rem;
}

.story-paragraph {
    color: var(--text-secondary);
}

.list-check,
.list-dot {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.list-check li {
    position: relative;
    padding-left: 1.75rem;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

.list-dot li {
    position: relative;
    padding-left: 1.25rem;
}

.list-dot li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-light);
    font-size: 1.25rem;
    line-height: 1;
}

.quote-card {
    margin-top: 1rem;
    border-left: 4px solid var(--accent-orange);
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.08), rgba(30, 58, 138, 0.08));
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ba-item {
    position: relative;
}

.ba-item img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.ba-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ba-caption {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.stat-pill {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.08), rgba(59, 130, 246, 0.06));
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

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

.story-subheading {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.quote-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.narrative-cta .cta-inline {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.refs {
    margin-top: 1.25rem;
}

.refs-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.refs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.25rem;
    color: var(--text-secondary);
}

/* Accent dividers and animated headings for narrative */
.story-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(59,130,246,0.0), rgba(59,130,246,0.6), rgba(249,115,22,0.6), rgba(249,115,22,0.0));
    border-radius: 9999px;
    margin: 1rem 0 1.25rem;
}

.story-title, .story-heading {
    position: relative;
}

.story-title::after, .story-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-light));
    border-radius: 9999px;
    animation: underlinePulse 2.4s ease-in-out infinite;
}

@keyframes underlinePulse {
    0%, 100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(1.2); opacity: 1; }
}

/* Subtle section background shimmer */
.section.section-alt {
    position: relative;
    overflow: hidden;
}

.section.section-alt::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.06), transparent 40%);
    pointer-events: none;
}

@media (min-width: 900px) {
    .ba-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   WEB DEVELOPMENT PAGE SPECIFIC STYLES
   ======================================== */

/* Enhanced parallax and reveal effects */
.hero {
    perspective: 1000px;
}

.hero-bg-pattern,
.hero-bg-gradient {
    will-change: transform;
    backface-visibility: hidden;
}

.shape {
    will-change: transform;
    backface-visibility: hidden;
}

/* Smooth reveal animations */
[data-aos] {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    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.5s;
}

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

/* Floating shapes enhanced animation */
.shape-1 {
    animation: float1 20s ease-in-out infinite, parallax1 10s ease-in-out infinite;
}

.shape-2 {
    animation: float2 25s ease-in-out infinite, parallax2 12s ease-in-out infinite;
}

.shape-3 {
    animation: float3 18s ease-in-out infinite, parallax3 8s ease-in-out infinite;
}

.shape-4 {
    animation: float4 22s ease-in-out infinite, parallax4 15s ease-in-out infinite;
}

@keyframes parallax1 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes parallax2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(15px) translateX(-15px); }
}

@keyframes parallax3 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(20px); }
}

@keyframes parallax4 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(25px) translateX(-10px); }
}

/* Offer cards styling */
.offer-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.offer-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .offer-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .offer-title {
        font-size: 2rem;
    }
}

.offer-description {
    color: #CBD5E1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .offer-description {
        font-size: 1.125rem;
    }
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-features li {
    color: #E2E8F0;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .offer-features li {
        font-size: 1.125rem;
    }
}

.offer-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F97316;
    font-weight: bold;
    font-size: 1rem;
}

/* Build grid styling */
.build-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.build-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.build-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.build-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.build-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .build-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .build-title {
        font-size: 2rem;
    }
}

.build-description {
    color: #CBD5E1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .build-description {
        font-size: 1.125rem;
    }
}

.build-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.build-features li {
    color: #E2E8F0;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .build-features li {
        font-size: 1.125rem;
    }
}

.build-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F97316;
    font-weight: bold;
    font-size: 1rem;
}

/* Features grid styling */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .feature-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 2rem;
    }
}

.feature-description {
    color: #CBD5E1;
    line-height: 1.6;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .feature-description {
        font-size: 1.125rem;
    }
}

/* Service cards styling */
.service-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.service-card p {
    color: #CBD5E1;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card a {
    margin-top: auto;
    align-self: flex-start;
}

/* SEO cards styling */
.seo-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.seo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.seo-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.seo-card p {
    color: #CBD5E1;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.seo-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-card ul li {
    color: #E2E8F0;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

.seo-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F97316;
    font-weight: bold;
    font-size: 1rem;
}

/* Collaboration section styling */
.collaboration-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 3rem;
}

.collaboration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
}

.collaboration-features {
    text-align: left;
}

.collaboration-feature {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.collaboration-feature:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.collaboration-cta {
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* CTA card styling */
.cta-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

/* ========================================
   MODAL STYLES
   ======================================== */

/* Modal button styles */
.offer-info-btn {
    background: none;
    border: none;
    color: #F97316;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
    z-index: 10;
}

.offer-info-btn:hover,
.offer-info-btn:focus {
    color: #fff;
    outline: 2px solid #F97316;
}

.offer-info-btn-more {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
}

.offer-info-btn-more:hover,
.offer-info-btn-more:focus {
    color: #fff;
    background: #F97316;
    outline: none;
}

/* Modal container styles */
.offer-modal {
    display: flex;
}

.offer-modal.hidden {
    display: none;
}

/* Modal content styles */
.modal-content {
    background: #23293a;
    box-shadow: 0 8px 40px 0 rgba(59,130,246,0.18), 0 1.5px 8px 0 rgba(249,115,22,0.10);
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    max-height: 80vh;
    min-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    animation: modalIn 0.2s cubic-bezier(0.4,0,0.2,1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-accent-bar {
    margin-bottom: 1.5rem;
}

.modal-accent-icon {
    background: linear-gradient(135deg, #3B82F6, #F97316);
    border-radius: 0.75rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-accent-bar-line {
    height: 0.5rem;
    background: linear-gradient(90deg, #3B82F6 0%, #F97316 100%);
    border-radius: 0.5rem;
}

#modal-custom-design-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    border-bottom: 2px solid #F97316;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-divider {
    border-bottom: 2px dashed #F97316;
    opacity: 0.4;
}

.modal-list {
    list-style: none;
    padding-left: 0;
}

.modal-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #F1F5F9;
    font-size: 1rem;
    line-height: 1.7;
}

.modal-list li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #F97316;
    font-size: 1.1em;
    font-weight: bold;
}

.text-accent {
    color: #F97316;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .offer-tabs {
        flex-direction: column;
    }
    
    .build-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ SECTION STYLES
   ======================================== */

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-medium);
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.faq-question:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: -2px;
}

.faq-icon {
    color: var(--accent-orange);
    transition: transform var(--transition-medium);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    background: rgba(51, 65, 85, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
    }
}

/* ========================================
   WEBSITE DESIGN GUIDE STYLES
   ======================================== */

/* Design guide specific styles */
.design-guide-hero {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.design-guide-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.design-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-orange);
}

.design-guide-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.design-guide-icon.accent {
    background: var(--gradient-accent);
}

/* Layout preview styles */
.layout-preview {
    background: var(--bg-primary);
    border: 1px solid var(--bg-secondary);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.layout-preview-bar {
    height: 1rem;
    background: var(--primary-blue);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.layout-preview-bar.accent {
    background: var(--accent-orange);
}

/* Theme comparison styles */
.theme-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theme-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all var(--transition-medium);
}

.theme-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-orange);
}

/* Decision framework styles */
.decision-framework {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.framework-item {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all var(--transition-medium);
}

.framework-item:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

/* Quick decision guide styles */
.quick-decision {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
}

.decision-item {
    border-left: 4px solid var(--accent-orange);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.decision-item.blue {
    border-left-color: var(--primary-blue);
}

/* FAQ styles for design guide */
.design-guide-faq {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.design-guide-faq:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.design-guide-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-medium);
    font-family: 'Montserrat', sans-serif;
}

.design-guide-faq-question:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.design-guide-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    background: rgba(51, 65, 85, 0.5);
}

.design-guide-faq.active .design-guide-faq-answer {
    max-height: 300px;
}

.design-guide-faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   ENHANCED HEADER & NAVIGATION STYLES
   ======================================== */

@keyframes headerGlow {
    0%, 100% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 20px rgba(249, 115, 22, 0.3);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes navItemGlow {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
    }
}

/* Header scroll effects */
.header-scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Enhanced navigation items */
.nav-item-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-item-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-item-enhanced:hover::before {
    left: 100%;
}

/* Enhanced CTA button effects */
.cta-button-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

/* Mobile menu enhancements */
.mobile-menu-enhanced {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mobile-menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-light));
    transition: width 0.3s ease;
}

.mobile-menu-item:hover::after {
    width: 100%;
}

/* Logo animation on hover */
.logo-container:hover .logo-icon {
    animation: logoPulse 1s ease-in-out;
}

/* Navigation item active state enhancement */
.nav-item-active {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

/* Phone number hover effect */
.phone-link:hover .phone-icon {
    animation: logoPulse 0.6s ease-in-out;
}

/* Responsive header adjustments */
@media (max-width: 1024px) {
    .header-phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 3.5rem;
    }
    
    .mobile-menu-enhanced {
        margin-top: 0.5rem;
    }
}

/* Trust Indicators Scrolling Animation */
.trust-indicators-scroll {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.animate-scroll {
    display: flex;
    animation: scroll 45s linear infinite;
    width: max-content;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover for better UX */
.trust-indicators-scroll:hover .animate-scroll {
    animation-play-state: paused;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .animate-scroll {
        animation-duration: 30s; /* Slower and smoother on mobile */
    }
    
    .trust-indicators-scroll {
        margin: 0 -1rem; /* Extend beyond container for full-width effect */
    }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

/* WhatsApp Button Container */
#whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* WhatsApp Button Styling */
#whatsapp-button a {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

#whatsapp-button a:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

#whatsapp-button a:active {
    transform: scale(0.95);
}

/* WhatsApp Icon */
#whatsapp-button svg {
    width: 32px;
    height: 32px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover Tooltip */
#whatsapp-button .tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: #1e293b;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1001;
}

#whatsapp-button .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 4px solid transparent;
    border-top-color: #1e293b;
}

#whatsapp-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #whatsapp-button {
        bottom: 1rem;
        left: 1rem;
    }
    
    #whatsapp-button a {
        width: 56px;
        height: 56px;
    }
    
    #whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
    
    #whatsapp-button .tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    #whatsapp-button {
        bottom: 0.75rem;
        left: 0.75rem;
    }
    
    #whatsapp-button a {
        width: 52px;
        height: 52px;
    }
    
    #whatsapp-button svg {
        width: 24px;
        height: 24px;
    }
}

/* Ensure WhatsApp button doesn't interfere with back-to-top */
#back-to-top {
    z-index: 1001;
}

/* Animation for WhatsApp button appearance */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

#whatsapp-button a {
    animation: whatsapp-pulse 2s infinite;
}

#whatsapp-button a:hover {
    animation: none;
}

/* ========================================
   BLOG STYLES - DAVE'S FETCH REQUESTS
   ======================================== */

/* Blog-specific styles for Dave's Fetch Requests */

/* Blog card hover effects */
.blog-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.blog-card:hover::before {
    left: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
}

/* Blog image hover effects */
.blog-image {
    transition: transform 0.5s ease;
    position: relative;
    overflow: hidden;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(249, 115, 22, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Article content styling */
.article-content {
    line-height: 1.8;
}

.article-content h2 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-light));
    border-radius: 1px;
}

.article-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-content blockquote {
    border-left: 4px solid var(--accent-orange);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
    background: rgba(249, 115, 22, 0.05);
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Blog category tags */
.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.blog-category:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Blog meta information */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social sharing buttons */
.social-share {
    display: flex;
    gap: 0.75rem;
}

.social-share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    color: var(--text-secondary);
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-share-btn.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

.social-share-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: white;
}

.social-share-btn.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: white;
}

.social-share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

/* Author bio section */
.author-bio {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
}

.author-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
    box-shadow: var(--shadow-md);
}

/* Related articles section */
.related-articles {
    margin-top: 4rem;
}

.related-article-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Blog hero section */
.blog-hero {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Newsletter signup */
.newsletter-signup {
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    animation: newsletterGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes newsletterGlow {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg) scale(1.1);
        opacity: 0.6;
    }
}

/* Blog search and filter */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
}

.blog-filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--bg-secondary);
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    transform: translateY(-1px);
}

/* Responsive adjustments for blog */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .social-share {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .author-bio {
        padding: 1.5rem;
    }
    
    .newsletter-signup {
        padding: 2rem;
    }
    
    .blog-filters {
        margin: 1rem 0;
    }
}

/* Line clamp utilities for text truncation */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog loading states */
.blog-loading {
    opacity: 0.6;
    pointer-events: none;
}

.blog-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}