/* CSS Variables - AniTech Ghana Modern Brand Colors */
:root {
 /* Primary Colors - Professional Blue Palette */
 --primary: #2D68C4;
 --primary-dark: #1560BD;
 --primary-light: #4A7FD8;
 --primary-lighter: #DAE5F7;
 
 /* Secondary & Text Colors */
 --secondary: #64748b;
 --dark: #1e293b;
 --text-muted: #94a3b8;
 
 /* Accent Colors - Vibrant Orange */
 --accent: #F04A00;
 --accent-light: #FF651E;
 --accent-dark: #C83F00;
 --accent-lighter: #FFE0D2;
 
 /* Background Colors */
 --light: #f8fafc;
 --lighter: #f1f5f9;
 --white: #FFFFFF;
 --gray: #94a3b8;
 --gray-light: #e2e8f0;
 --gray-lighter: #f1f5f9;
 
 /* Success & Status Colors */
 --success: #10b981;
 --warning: #f59e0b;
 --error: #ef4444;
 --info: #3b82f6;
 
 /* Glassmorphism */
 --glass-bg: rgba(255, 255, 255, 0.7);
 --glass-border: rgba(255, 255, 255, 0.18);
 --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
 
 /* Spacing & Layout */
 --header-height: calc(80px + env(safe-area-inset-top, 0px));
 --border-radius: 16px;
 --border-radius-lg: 24px;
 --border-radius-xl: 32px;
 
 /* Modern Shadows */
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
 --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
 --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
 --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
 --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
 --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
 --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
 
 /* Transitions */
 --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
 --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 
 /* Gradients */
 --gradient-primary: linear-gradient(135deg, #2D68C4 0%, #1560BD 100%);
 --gradient-accent: linear-gradient(135deg, #FF651E 0%, #F04A00 100%);
 --gradient-light: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
 --gradient-mesh: radial-gradient(at 40% 20%, rgba(45, 104, 196, 0.1) 0px, transparent 50%),
 radial-gradient(at 80% 0%, rgba(240, 74, 0, 0.08) 0px, transparent 50%),
 radial-gradient(at 0% 50%, rgba(45, 104, 196, 0.05) 0px, transparent 50%);
 
 /* Overlay */
 --overlay-dark: rgba(0, 0, 0, 0.7);
}

/* Reset & Base Styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
 scroll-padding-top: calc(var(--header-height) + 2rem);
}

/* Improve text rendering */
body {
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 text-rendering: optimizeLegibility;
}

body {
 font-family: 'Source Sans 3', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
 line-height: 1.7;
 color: var(--dark);
 background-color: var(--white);
 overflow-x: hidden;
 font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
 font-family: 'Manrope', 'Poppins', 'Helvetica Neue', Arial, sans-serif;
 font-weight: 700;
 line-height: 1.2;
 margin-bottom: 1rem;
 letter-spacing: -0.02em;
 color: var(--dark);
}

h1 {
 font-size: clamp(1.875rem, 3.5vw + 1.1rem, 4rem);
 font-weight: 800;
 letter-spacing: -0.03em;
 line-height: 1.12;
}

h2 {
 font-size: clamp(1.5rem, 2.2vw + 1rem, 3rem);
 font-weight: 700;
 letter-spacing: -0.02em;
}

h3 {
 font-size: clamp(1.125rem, 0.9vw + 1rem, 1.75rem);
 font-weight: 600;
}

h4 {
 font-size: 1.25rem;
 font-weight: 600;
}

@media (max-width: 768px) {
 h4 { font-size: 1.125rem; }
 
 body {
 font-size: 1rem;
 line-height: 1.65;
 }
}

@media (max-width: 480px) {
 h4 { font-size: 1.05rem; }
}

p {
 margin-bottom: 1.25rem;
 line-height: 1.8;
 color: var(--secondary);
}

p.lead {
 font-size: 1.25rem;
 line-height: 1.8;
 font-weight: 400;
 color: var(--secondary);
}

a {
 text-decoration: none;
 color: var(--accent);
 transition: var(--transition);
}

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

img {
 max-width: 100%;
 height: auto;
}

ul {
 list-style: none;
}

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

/* Modern Button Styles with Glassmorphism */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 min-height: 44px;
 padding: 0.875rem 1.75rem;
 background: var(--gradient-accent);
 color: white;
 border: none;
 border-radius: var(--border-radius);
 font-weight: 600;
 font-size: 1rem;
 cursor: pointer;
 transition: var(--transition);
 text-align: center;
 box-shadow: 0 4px 20px 0 rgba(240, 74, 0, 0.3);
 position: relative;
 overflow: hidden;
 font-family: 'Manrope', sans-serif;
 letter-spacing: 0.01em;
}

.btn::before {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
 transition: left 0.5s ease;
}

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

.btn:hover {
 transform: translateY(-3px) scale(1.02);
 box-shadow: 0 8px 30px 0 rgba(240, 74, 0, 0.4);
}

.btn:active {
 transform: translateY(0);
}

.btn:focus {
 outline: 3px solid rgba(237, 98, 50, 0.5);
 outline-offset: 3px;
}

.btn:disabled {
 opacity: 0.6;
 cursor: not-allowed;
 pointer-events: none;
}

.btn-outline {
 background: rgba(255, 255, 255, 0.05);
 backdrop-filter: blur(10px);
 border: 2px solid var(--accent);
 color: var(--accent);
 box-shadow: var(--shadow);
}

.btn-outline:hover {
 background: var(--accent);
 color: white;
 border-color: var(--accent);
 box-shadow: 0 8px 30px 0 rgba(240, 74, 0, 0.3);
}

.btn-glass {
 background: var(--glass-bg);
 backdrop-filter: blur(20px);
 border: 1px solid var(--glass-border);
 color: var(--primary);
 box-shadow: var(--glass-shadow);
}

.btn-glass:hover {
 background: rgba(255, 255, 255, 0.9);
 border-color: var(--primary);
}

.section {
 padding: 6rem 0;
}

/* Enhanced Toast notification */
.toast {
 position: fixed;
 right: 1.5rem;
 bottom: 1.5rem;
 background: var(--success);
 color: white;
 padding: 1rem 1.5rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-xl);
 opacity: 0;
 transform: translateY(1rem);
 transition: opacity 0.3s ease, transform 0.3s ease;
 z-index: 2000;
 font-weight: 500;
 display: flex;
 align-items: center;
 gap: 0.75rem;
 min-width: 300px;
}

.toast.show {
 opacity: 1;
 transform: translateY(0);
}

.toast::before {
 content: '✓';
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 24px;
 height: 24px;
 background: rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 font-weight: 700;
}

.section-title {
 text-align: center;
 margin-bottom: 4rem;
}

.section-title h2 {
 position: relative;
 display: inline-block;
 margin-bottom: 1.5rem;
 background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
}

.section-title h2::after {
 content: '';
 position: absolute;
 bottom: -16px;
 left: 50%;
 transform: translateX(-50%);
 width: 100px;
 height: 5px;
 background: var(--gradient-accent);
 border-radius: 10px;
 box-shadow: 0 4px 12px rgba(240, 74, 0, 0.3);
}

.section-title p {
 color: var(--secondary);
 font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem);
 max-width: 42rem;
 margin: 0 auto;
 line-height: 1.65;
 text-wrap: balance;
}

.text-center {
 text-align: center;
}

/* Modern Glassmorphic Header */
header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 padding-top: env(safe-area-inset-top, 0px);
 background: var(--glass-bg);
 backdrop-filter: blur(20px) saturate(180%);
 -webkit-backdrop-filter: blur(20px) saturate(180%);
 border-bottom: 1px solid var(--glass-border);
 box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
 z-index: 1000;
 transition: var(--transition);
}

header.scrolled {
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(30px) saturate(200%);
 box-shadow: var(--shadow-md);
 border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1.25rem 1.5rem;
}

.logo {
 display: flex;
 align-items: center;
 transition: var(--transition);
}

.logo img {
 height: 60px;
 width: auto;
 display: block;
}

@media (max-width: 768px) {
 .logo img {
 height: 50px;
 }
}

.logo:hover {
 transform: scale(1.05);
 filter: brightness(1.1);
}

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

.nav-list {
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.nav-item {
 position: relative;
}

.nav-link {
 color: var(--dark);
 font-weight: 500;
 padding: 0.5rem 1rem;
 border-radius: 8px;
 transition: var(--transition);
 position: relative;
}

.nav-link::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%) scaleX(0);
 width: 80%;
 height: 2px;
 background: var(--accent);
 transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
 color: var(--accent);
 background: rgba(237, 98, 50, 0.05);
}

.nav-link.active::after {
 transform: translateX(-50%) scaleX(1);
}

.logo:focus-visible,
.nav-link:focus-visible,
.mobile-toggle:focus-visible,
.btn:focus-visible {
 outline: 3px solid var(--primary);
 outline-offset: 3px;
}

.btn:focus-visible {
 outline-color: var(--primary-dark);
}

.mobile-toggle {
 display: none;
 background: none;
 border: none;
 font-size: 1.75rem;
 line-height: 1;
 cursor: pointer;
 color: var(--dark);
 min-width: 44px;
 min-height: 44px;
 align-items: center;
 justify-content: center;
 padding: 0.5rem;
 border-radius: 8px;
 transition: var(--transition);
}

.mobile-toggle:hover {
 background: var(--light);
}

/* Skip link (for keyboard users) */
.skip-link {
 position: absolute;
 left: -999px;
 top: -999px;
 background: var(--accent);
 color: white;
 padding: 0.75rem 1.5rem;
 border-radius: 8px;
 z-index: 1500;
 font-weight: 600;
}

.skip-link:focus {
 left: 1rem;
 top: 1rem;
}

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

/* Mobile / responsive nav */
@media (max-width: 768px) {
 .mobile-toggle {
 display: inline-flex;
 }

 .nav-menu {
 display: none;
 position: absolute;
 top: 72px;
 right: 1rem;
 background: white;
 box-shadow: var(--shadow-lg);
 border-radius: var(--border-radius);
 padding: 1rem;
 min-width: 220px;
 }

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

 .nav-list {
 display: flex;
 flex-direction: column;
 gap: 0.25rem;
 }

 .nav-item {
 width: 100%;
 }

 .nav-link {
 display: block;
 width: 100%;
 }

 .hero-container {
 grid-template-columns: 1fr;
 padding-top: 6rem;
 }
}

/* Modern Hero Section with Mesh Gradient */
.hero {
 padding: 14rem 0 8rem;
 background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
 position: relative;
 overflow: hidden;
}

.hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: var(--gradient-mesh);
 pointer-events: none;
 z-index: 0;
}

.hero::after {
 content: '';
 position: absolute;
 top: -50%;
 right: -20%;
 width: 800px;
 height: 800px;
 background: radial-gradient(circle, rgba(240, 74, 0, 0.08) 0%, transparent 70%);
 border-radius: 50%;
 filter: blur(60px);
 animation: float 20s ease-in-out infinite;
 pointer-events: none;
}

@keyframes float {
 0%, 100% { transform: translate(0, 0) rotate(0deg); }
 33% { transform: translate(30px, -30px) rotate(120deg); }
 66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 4rem;
 align-items: center;
 position: relative;
 z-index: 1;
}

.hero-content h1 {
 font-size: 4.5rem;
 margin-bottom: 1.5rem;
 color: var(--dark);
 animation: fadeInUp 0.8s ease-out;
 background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
}

.hero-content p {
 font-size: 1.25rem;
 margin-bottom: 2.5rem;
 color: var(--secondary);
 line-height: 1.8;
 animation: fadeInUp 0.8s ease-out 0.2s both;
 max-width: 600px;
}

.hero-btns {
 display: flex;
 gap: 1rem;
 flex-wrap: wrap;
 animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
 border-radius: var(--border-radius-xl);
 overflow: hidden;
 box-shadow: var(--shadow-2xl);
 animation: fadeInRight 0.8s ease-out 0.3s both;
 transition: var(--transition-slow);
 position: relative;
}

.hero-image::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(135deg, rgba(45, 104, 196, 0.1) 0%, rgba(240, 74, 0, 0.05) 100%);
 opacity: 0;
 transition: var(--transition);
 z-index: 1;
 pointer-events: none;
}

.hero-image:hover::before {
 opacity: 1;
}

.hero-image img {
 width: 100%;
 height: auto;
 display: block;
 object-fit: cover;
 transition: var(--transition-slow);
}

.hero-image:hover {
 transform: translateY(-12px) scale(1.02);
 box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.25);
}

.hero-image:hover img {
 transform: scale(1.05);
}

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

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

@keyframes fadeIn {
 from {
 opacity: 0;
 }
 to {
 opacity: 1;
 }
}

/* Scroll Reveal Animations */
.reveal {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
 opacity: 1;
 transform: translateY(0);
}

/* Modern Service Cards with Glassmorphism */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2.5rem;
}

.service-card {
 background: var(--glass-bg);
 backdrop-filter: blur(20px);
 border-radius: var(--border-radius-lg);
 padding: 3rem 2.5rem;
 box-shadow: var(--glass-shadow);
 transition: var(--transition);
 border: 1px solid var(--glass-border);
 position: relative;
 overflow: hidden;
}

.service-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 5px;
 background: var(--gradient-accent);
 transform: scaleX(0);
 transform-origin: left;
 transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
 content: '';
 position: absolute;
 top: -50%;
 right: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle, rgba(45, 104, 196, 0.05) 0%, transparent 70%);
 opacity: 0;
 transition: var(--transition);
 pointer-events: none;
}

.service-card:hover {
 transform: translateY(-12px);
 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
 border-color: rgba(45, 104, 196, 0.2);
 background: rgba(255, 255, 255, 0.85);
}

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

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

.service-icon {
 width: 80px;
 height: 80px;
 margin-bottom: 2rem;
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(135deg, rgba(240, 74, 0, 0.1) 0%, rgba(45, 104, 196, 0.05) 100%);
 border-radius: var(--border-radius);
 transition: var(--transition);
 position: relative;
}

.service-icon::before {
 content: '';
 position: absolute;
 inset: -2px;
 background: var(--gradient-accent);
 border-radius: var(--border-radius);
 opacity: 0;
 transition: var(--transition);
 z-index: -1;
}

.service-icon img {
 width: 40px;
 height: 40px;
 filter: invert(44%) sepia(71%) saturate(1686%) hue-rotate(338deg) brightness(97%) contrast(90%);
 transition: var(--transition);
}

.service-card:hover .service-icon {
 transform: scale(1.15) rotate(-5deg);
}

.service-card:hover .service-icon::before {
 opacity: 0.15;
}

.service-card:hover .service-icon img {
 filter: brightness(1.2);
}

.service-card h3 {
 margin-bottom: 1rem;
 color: var(--dark);
}

.service-card p {
 color: var(--secondary);
 margin-bottom: 1.5rem;
 line-height: 1.7;
}

/* Modern Portfolio Section with Gradient Background */
.portfolio-section {
 position: relative;
 overflow: hidden;
 background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.portfolio-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: var(--gradient-mesh);
 opacity: 0.5;
 pointer-events: none;
}

.portfolio-showcase {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
 gap: 3rem;
 padding-bottom: 1rem;
}

.portfolio-card {
 background: var(--glass-bg);
 backdrop-filter: blur(20px);
 border-radius: var(--border-radius-xl);
 overflow: hidden;
 box-shadow: var(--glass-shadow);
 transition: var(--transition-slow);
 border: 1px solid var(--glass-border);
 display: flex;
 flex-direction: column;
 position: relative;
}

.portfolio-card::after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 border-radius: var(--border-radius-xl);
 box-shadow: 0 30px 60px rgba(45, 104, 196, 0.2);
 opacity: 0;
 transition: var(--transition);
 pointer-events: none;
}

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

.portfolio-card:hover {
 transform: translateY(-6px);
 box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
 border-color: rgba(45, 104, 196, 0.28);
 background: rgba(255, 255, 255, 0.95);
}

.portfolio-preview-wrapper {
 position: relative;
 width: 100%;
 height: 320px;
 background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
 overflow: hidden;
}

.portfolio-preview-frame {
 width: 100%;
 height: 100%;
 position: relative;
 overflow: hidden;
}

.portfolio-preview-frame iframe {
 width: 100%;
 height: 100%;
 border: none;
 display: block;
 transform: scale(1);
 transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-preview-frame iframe {
 transform: scale(1.02);
}

.preview-badge {
 position: absolute;
 top: 1rem;
 right: 1rem;
 background: rgba(0, 0, 0, 0.85);
 backdrop-filter: blur(10px);
 color: white;
 padding: 0.5rem 1rem;
 border-radius: 8px;
 font-size: 0.8rem;
 font-weight: 600;
 display: flex;
 align-items: center;
 gap: 0.5rem;
 z-index: 10;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.live-indicator {
 width: 8px;
 height: 8px;
 background: #ef4444;
 border-radius: 50%;
 animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
 0%, 100% {
 opacity: 1;
 box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
 }
 50% {
 opacity: 0.8;
 box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
 }
}

.portfolio-info {
 padding: 2rem;
 display: flex;
 flex-direction: column;
 gap: 1rem;
 flex: 1;
}

.portfolio-meta {
 display: flex;
 align-items: center;
 gap: 1rem;
 margin-bottom: 0.5rem;
}

.portfolio-category {
 background: rgba(237, 98, 50, 0.1);
 color: var(--accent);
 padding: 0.35rem 0.875rem;
 border-radius: 6px;
 font-size: 0.8rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.portfolio-year {
 color: var(--secondary);
 font-size: 0.875rem;
 font-weight: 500;
}

.portfolio-info h3 {
 font-size: 1.5rem;
 margin-bottom: 0.75rem;
 color: var(--dark);
}

.portfolio-info p {
 color: var(--secondary);
 line-height: 1.7;
 margin-bottom: 1.5rem;
 flex: 1;
}

.portfolio-actions {
 display: flex;
 align-items: center;
 gap: 1.5rem;
 padding-top: 1rem;
 border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-link {
 color: var(--accent);
 font-weight: 600;
 display: inline-flex;
 align-items: center;
 transition: var(--transition);
 text-decoration: none;
}

.btn-link:hover {
 color: var(--accent-dark);
 transform: translateX(4px);
}

.btn-link-secondary {
 color: var(--secondary);
 font-weight: 500;
 transition: var(--transition);
 text-decoration: none;
}

.btn-link-secondary:hover {
 color: var(--dark);
}

/* Legacy portfolio grid for other pages */
.portfolio-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 2.5rem;
}

.portfolio-detail {
 transition: var(--transition);
 border-radius: var(--border-radius-lg);
 overflow: hidden;
 background: white;
 box-shadow: var(--shadow);
}

.portfolio-detail:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-xl);
}

.portfolio-image {
 height: 240px;
 background: rgba(237, 98, 50, 0.08);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--accent);
 font-weight: 600;
 font-size: 1.125rem;
 position: relative;
 overflow: hidden;
}

.portfolio-image::before {
 content: '';
 position: absolute;
 top: -50%;
 right: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle, rgba(237, 98, 50, 0.1) 0%, transparent 70%);
 animation: pulse 4s ease-in-out infinite;
 z-index: 1;
}

/* Portfolio iframe preview styles */
.portfolio-image iframe {
 position: relative;
 z-index: 2;
 transform: scale(0.9);
 transition: var(--transition);
}

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

/* Overlay for iframe to indicate it's clickable */
.portfolio-image::after {
 content: 'Click to visit site';
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 padding: 0.75rem;
 background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
 color: white;
 font-size: 0.875rem;
 font-weight: 500;
 text-align: center;
 opacity: 0;
 transition: var(--transition);
 z-index: 3;
 pointer-events: none;
}

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

@keyframes pulse {
 0%, 100% {
 transform: scale(1);
 opacity: 0.5;
 }
 50% {
 transform: scale(1.1);
 opacity: 0.8;
 }
}

.portfolio-header h2 {
 margin-bottom: 0.5rem;
}

.portfolio-features ul {
 margin-left: 1.5rem;
}

.portfolio-features li {
 position: relative;
 padding-left: 0.5rem;
}

.portfolio-features li::before {
 content: '✓';
 position: absolute;
 left: -1rem;
 color: var(--success);
 font-weight: 600;
}

/* Modal styles */
.modal {
 position: fixed;
 inset: 0;
 display: none;
 align-items: center;
 justify-content: center;
 z-index: 3000;
}

.modal[aria-hidden="false"] {
 display: flex;
}

.modal-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.6);
 backdrop-filter: blur(4px);
}

.modal-panel {
 position: relative;
 width: min(1100px, 96%);
 max-height: calc(100vh - 120px);
 background: white;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow-xl);
 overflow: hidden;
 z-index: 3010;
 display: flex;
 flex-direction: column;
}

.modal-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1.5rem;
 border-bottom: 1px solid var(--gray-light);
}

.modal-body {
 padding: 1rem;
 display: flex;
 gap: 1rem;
 flex-direction: column;
 align-items: stretch;
}

.iframe-wrap {
 width: 100%;
 height: 70vh;
 background: var(--light);
 border-radius: 8px;
 overflow: hidden;
}

.iframe-wrap iframe {
 width: 100%;
 height: 100%;
 border: 0;
}

.modal-close {
 background: transparent;
 border: 0;
 font-size: 1.5rem;
 cursor: pointer;
 padding: 0.5rem;
 border-radius: 8px;
 transition: var(--transition);
 color: var(--secondary);
}

.modal-close:hover {
 background: var(--light);
 color: var(--dark);
}

.modal-fallback {
 padding: 1.5rem;
 background: #fff7ed;
 border-radius: 8px;
 border: 1px solid #fed7aa;
}

@media (max-width: 768px) {
 .iframe-wrap { height: 50vh; }
}

.portfolio-content {
 padding: 2rem;
}

.portfolio-content h3 {
 margin-bottom: 0.75rem;
}

.portfolio-content p {
 color: var(--secondary);
 margin-bottom: 1.5rem;
 line-height: 1.7;
}

/* Inline live preview styles */
.inline-preview {
 border-radius: var(--border-radius);
 overflow: hidden;
 background: var(--light);
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 240px;
 position: relative;
}

.inline-preview .preview-placeholder {
 padding: 2rem;
 text-align: center;
}

.inline-preview .preview-placeholder .muted {
 color: var(--secondary);
 margin-top: 1rem;
 font-size: 0.9rem;
}

.inline-preview .preview-iframe {
 width: 100%;
 height: 100%;
}

.inline-preview iframe {
 width: 100%;
 height: 320px;
 border: 0;
 display: block;
}

.inline-preview .preview-fallback {
 padding: 1.5rem;
 text-align: center;
}

.inline-preview .preview-overlay {
 position: absolute;
 inset: 0;
 z-index: 2;
 display: flex;
 align-items: flex-end;
 justify-content: flex-start;
 padding: 1.5rem;
 pointer-events: none;
 background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
 opacity: 0;
 transition: var(--transition);
}

.inline-preview:hover .preview-overlay {
 opacity: 1;
}

.inline-preview .meta {
 color: white;
 pointer-events: auto;
}

.inline-preview .meta-title {
 margin: 0 0 0.5rem 0;
 font-size: 1.125rem;
 font-weight: 600;
}

.inline-preview .meta-desc {
 margin: 0.5rem 0 0 0;
 font-size: 0.9rem;
 color: rgba(255,255,255,0.9);
}

.inline-preview .badges span {
 background: rgba(255,255,255,0.2);
 backdrop-filter: blur(10px);
 color: #fff;
 padding: 0.25rem 0.75rem;
 border-radius: 999px;
 margin-right: 0.5rem;
 font-size: 0.8rem;
 font-weight: 500;
}

/* Auto preview control */
.auto-preview-control { 
 display: flex; 
 align-items: center; 
 gap: 0.75rem; 
}

.auto-preview-control input[type="checkbox"] { 
 width: 20px; 
 height: 20px; 
 cursor: pointer;
}

/* Modern Feature Cards */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 3rem;
}

.feature-card {
 text-align: center;
 padding: 3rem 2.5rem;
 background: var(--glass-bg);
 backdrop-filter: blur(20px);
 border-radius: var(--border-radius-xl);
 box-shadow: var(--glass-shadow);
 transition: var(--transition);
 border: 1px solid var(--glass-border);
 position: relative;
 overflow: hidden;
}

.feature-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: radial-gradient(circle at top, rgba(45, 104, 196, 0.05) 0%, transparent 70%);
 opacity: 0;
 transition: var(--transition);
}

.feature-card:hover::before {
 opacity: 1;
}

.feature-card:hover {
 transform: translateY(-12px);
 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
 border-color: rgba(45, 104, 196, 0.2);
 background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
 width: 100px;
 height: 100px;
 margin: 0 auto 2rem;
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(135deg, rgba(240, 74, 0, 0.1) 0%, rgba(45, 104, 196, 0.1) 100%);
 border-radius: 50%;
 transition: var(--transition);
 position: relative;
}

.feature-icon::before {
 content: '';
 position: absolute;
 inset: -3px;
 background: var(--gradient-primary);
 border-radius: 50%;
 opacity: 0;
 transition: var(--transition);
 z-index: -1;
}

.feature-icon img {
 width: 48px;
 height: 48px;
 filter: invert(44%) sepia(71%) saturate(1686%) hue-rotate(338deg) brightness(97%) contrast(90%);
 transition: var(--transition);
}

.feature-card:hover .feature-icon {
 transform: scale(1.15) rotate(-10deg);
}

.feature-card:hover .feature-icon::before {
 opacity: 0.2;
}

/* Page Hero — default light hero + shared layout (image variants override below) */
.page-hero {
 padding: 10rem 0 4rem;
 background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
 text-align: center;
 position: relative;
 overflow: hidden;
}

.page-hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: var(--gradient-mesh);
 opacity: 0.6;
 pointer-events: none;
}

.page-hero h1 {
 margin-bottom: 1rem;
 position: relative;
 animation: fadeInUp 0.6s ease-out;
}

.page-hero p {
 color: var(--secondary);
 font-size: 1.125rem;
 position: relative;
 animation: fadeInUp 0.6s ease-out 0.2s both;
}

.breadcrumb {
 display: flex;
 justify-content: center;
 margin-bottom: 2rem;
 gap: 0.5rem;
 position: relative;
 animation: fadeInUp 0.6s ease-out 0.1s both;
}

.breadcrumb a {
 color: var(--accent);
 transition: var(--transition);
}

.breadcrumb a:hover {
 color: var(--accent-dark);
}

.breadcrumb span {
 color: var(--gray);
}

/* About Page */
.about-content {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 4rem;
 align-items: center;
 margin-bottom: 4rem;
}

.founder-section {
 background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
 padding: 3rem;
 border-radius: var(--border-radius-lg);
 margin: 4rem 0;
 box-shadow: var(--shadow);
}

.founder-info {
 display: grid;
 grid-template-columns: 180px 1fr;
 gap: 2.5rem;
 align-items: center;
}

.founder-image {
 width: 180px;
 height: 180px;
 border-radius: 50%;
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 border: 4px solid var(--accent);
}

.founder-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}

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

.value-card {
 text-align: center;
 padding: 2.5rem 2rem;
 background: white;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow);
 transition: var(--transition);
}

.value-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-xl);
}

/* Services Page */
.service-detail {
 margin-bottom: 5rem;
 padding-bottom: 3rem;
 border-bottom: 1px solid var(--gray-light);
}

.service-detail:last-of-type {
 border-bottom: none;
}

.service-header {
 display: flex;
 align-items: center;
 gap: 1.5rem;
 margin-bottom: 2rem;
}

.service-icon-large {
 width: 80px;
 height: 80px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: rgba(237, 98, 50, 0.1);
 border-radius: var(--border-radius);
 flex-shrink: 0;
}

.service-icon-large img {
 width: 48px;
 height: 48px;
 filter: invert(44%) sepia(71%) saturate(1686%) hue-rotate(338deg) brightness(97%) contrast(90%);
}

.service-deliverables {
 background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
 padding: 2rem;
 border-radius: var(--border-radius);
 margin-top: 2rem;
 border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-deliverables h4 {
 margin-bottom: 1rem;
 color: var(--dark);
}

.service-deliverables ul {
 list-style-type: none;
 margin-left: 0;
}

.service-deliverables li {
 margin-bottom: 0.75rem;
 padding-left: 1.5rem;
 position: relative;
}

.service-deliverables li::before {
 content: '✓';
 position: absolute;
 left: 0;
 color: var(--accent);
 font-weight: 600;
}

/* Portfolio Page */
.portfolio-detail {
 margin-bottom: 5rem;
}

.portfolio-header {
 margin-bottom: 2.5rem;
}

.portfolio-features {
 margin: 2.5rem 0;
}

.portfolio-features h3 {
 margin-bottom: 1.5rem;
}

.portfolio-features ul {
 list-style-type: none;
 margin-left: 0;
}

.portfolio-features li {
 margin-bottom: 0.75rem;
 padding-left: 1.5rem;
 position: relative;
}

/* Contact Page - Modern Design */
.contact-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 position: relative;
}

.contact-info {
 background: linear-gradient(135deg, rgba(45, 104, 196, 0.05) 0%, rgba(240, 74, 0, 0.03) 100%);
 padding: 3rem;
 border-radius: var(--border-radius-xl);
 box-shadow: var(--shadow-lg);
 border: 1px solid rgba(45, 104, 196, 0.1);
 position: relative;
 overflow: hidden;
}

.contact-info::before {
 content: '';
 position: absolute;
 top: -50%;
 right: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle, rgba(45, 104, 196, 0.08) 0%, transparent 70%);
 opacity: 0.5;
 pointer-events: none;
}

.contact-info > * {
 position: relative;
 z-index: 1;
}

.contact-info h2 {
 background: var(--gradient-primary);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 margin-bottom: 1rem;
}

.contact-info > p {
 color: var(--secondary);
 font-size: 1.0625rem;
 line-height: 1.7;
 margin-bottom: 2.5rem;
}

.contact-item {
 display: flex;
 align-items: flex-start;
 margin-bottom: 2rem;
 gap: 1rem;
}

.contact-icon {
 font-size: 1.5rem;
 color: var(--accent);
 flex-shrink: 0;
}

.contact-form {
 background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
 padding: 3rem;
 border-radius: var(--border-radius-xl);
 box-shadow: var(--shadow-2xl);
 border: 1px solid rgba(45, 104, 196, 0.08);
 position: relative;
 overflow: hidden;
}

.contact-form::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 4px;
 background: var(--gradient-accent);
 opacity: 0.8;
}

.contact-form h2 {
 background: var(--gradient-primary);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 margin-bottom: 0.5rem;
}

.form-group {
 margin-bottom: 1.75rem;
 position: relative;
}

.form-label {
 display: block;
 margin-bottom: 0.625rem;
 font-weight: 600;
 color: var(--dark);
 font-size: 0.95rem;
 transition: var(--transition);
}

.form-control {
 width: 100%;
 padding: 1rem 1.25rem;
 border: 2px solid var(--gray-light);
 border-radius: var(--border-radius);
 font-family: inherit;
 font-size: 1rem;
 transition: var(--transition);
 background: white;
 position: relative;
}

.form-control:hover {
 border-color: var(--primary-light);
 box-shadow: 0 2px 8px rgba(45, 104, 196, 0.08);
}

.form-control:focus {
 outline: none;
 border-color: var(--accent);
 box-shadow: 0 0 0 4px rgba(240, 74, 0, 0.12), 0 4px 12px rgba(240, 74, 0, 0.15);
 transform: translateY(-1px);
}

.form-group:focus-within .form-label {
 color: var(--accent);
 transform: translateX(2px);
}

.form-control.error {
 border-color: #ef4444;
 background-color: #fef2f2;
}

.field-error {
 color: #ef4444;
 font-size: 0.875rem;
 margin-top: 0.25rem;
 display: block;
 animation: fadeIn 0.3s ease;
}

textarea.form-control {
 min-height: 180px;
 resize: vertical;
 line-height: 1.6;
}

/* Map Placeholder - Modern Design */
.map-placeholder {
 margin-top: 4rem;
 height: 400px;
 background: linear-gradient(135deg, rgba(45, 104, 196, 0.08) 0%, rgba(240, 74, 0, 0.05) 100%);
 border-radius: var(--border-radius-xl);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--secondary);
 font-size: 1.125rem;
 font-weight: 500;
 border: 2px dashed rgba(45, 104, 196, 0.2);
 position: relative;
 overflow: hidden;
 box-shadow: var(--shadow-md);
}

.map-placeholder::before {
 content: '📍';
 position: absolute;
 font-size: 4rem;
 opacity: 0.15;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.map-placeholder:hover {
 background: linear-gradient(135deg, rgba(45, 104, 196, 0.12) 0%, rgba(240, 74, 0, 0.08) 100%);
 border-color: rgba(45, 104, 196, 0.3);
}

/* Submit Button Enhancement */
.contact-form .btn {
 width: 100%;
 padding: 1.125rem 2rem;
 font-size: 1.0625rem;
 font-weight: 600;
 position: relative;
 overflow: hidden;
 box-shadow: 0 4px 16px rgba(240, 74, 0, 0.3);
}

.contact-form .btn::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 0;
 height: 0;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.3);
 transform: translate(-50%, -50%);
 transition: width 0.6s, height 0.6s;
}

.contact-form .btn:hover::before {
 width: 300px;
 height: 300px;
}

.contact-form .btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 24px rgba(240, 74, 0, 0.4);
}

.contact-form .btn:active {
 transform: translateY(0);
}

/* Loading Spinner in Button */
#btnLoader {
 display: none;
 font-weight: 600;
}

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

.map-placeholder {
 height: 350px;
 background: var(--gray-light);
 border-radius: var(--border-radius-lg);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--secondary);
 margin-top: 4rem;
 font-weight: 500;
}

/* Modern Footer with Gradient */
footer {
 background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
 color: white;
 padding: 6rem 0 2rem;
 position: relative;
 overflow: hidden;
}

footer::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 2px;
 background: linear-gradient(90deg, transparent 0%, rgba(240, 74, 0, 0.5) 50%, transparent 100%);
}

footer::after {
 content: '';
 position: absolute;
 top: -50%;
 left: -25%;
 width: 600px;
 height: 600px;
 background: radial-gradient(circle, rgba(45, 104, 196, 0.1) 0%, transparent 70%);
 border-radius: 50%;
 pointer-events: none;
}

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

.footer-col h3 {
 color: white;
 margin-bottom: 1.5rem;
 font-size: 1.125rem;
}

.footer-links li {
 margin-bottom: 0.75rem;
}

.footer-links a {
 color: var(--gray-light);
 transition: var(--transition);
}

.footer-links a:hover {
 color: white;
 padding-left: 0.25rem;
}

.copyright {
 text-align: center;
 padding-top: 2rem;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 color: var(--gray-light);
 font-size: 0.9rem;
}

/* Social Links */
.social-links {
 display: flex;
 gap: 1rem;
 margin-top: 1.5rem;
}

.social-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 40px;
 height: 40px;
 background: rgba(255, 255, 255, 0.1);
 border-radius: 8px;
 color: white;
 transition: var(--transition);
 text-decoration: none;
}

.social-icon:hover {
 background: var(--primary);
 transform: translateY(-3px);
 box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.social-icon:active {
 transform: translateY(-1px);
}

/* Responsive Styles */
@media (max-width: 992px) {
 .hero-container,
 .about-content,
 .contact-container {
 grid-template-columns: 1fr;
 }

 .hero-content h1 {
 font-size: 2.75rem;
 }

 .founder-info {
 grid-template-columns: 1fr;
 text-align: center;
 }

 .founder-image {
 margin: 0 auto;
 }
 
 .contact-container {
 gap: 2.5rem;
 }
 
 .contact-form,
 .contact-info {
 padding: 2rem;
 }
 
 .contact-icon {
 width: 60px;
 height: 60px;
 }
 
 .contact-item {
 padding: 1.25rem;
 }
 
 .map-placeholder {
 height: 300px;
 margin-top: 2.5rem;
 }
}

@media (max-width: 768px) {
 .section {
 padding: 4rem 0;
 }

 .hero {
 padding: 10rem 0 4rem;
 }

 .hero-content h1 {
 font-size: 2.25rem;
 }

 .hero-btns {
 flex-direction: column;
 align-items: stretch;
 }

 .service-header {
 flex-direction: column;
 text-align: center;
 }

 .services-grid,
 .portfolio-grid,
 .features-grid {
 grid-template-columns: 1fr;
 }
}

@media (max-width: 576px) {
 .page-hero {
 padding: 8rem 0 3rem;
 }
}

/* Modern Scroll to Top Button */
.scroll-to-top {
 position: fixed;
 bottom: 9rem;
 right: 2rem;
 width: 56px;
 height: 56px;
 background: var(--gradient-accent);
 color: white;
 border: none;
 border-radius: 50%;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 box-shadow: 0 8px 24px rgba(240, 74, 0, 0.3);
 opacity: 0;
 visibility: hidden;
 transform: translateY(20px);
 transition: var(--transition);
 z-index: 999;
}

.scroll-to-top::before {
 content: '';
 position: absolute;
 inset: -3px;
 background: var(--gradient-accent);
 border-radius: 50%;
 opacity: 0;
 transition: var(--transition);
 z-index: -1;
 filter: blur(8px);
}

.scroll-to-top.visible {
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
}

.scroll-to-top:hover {
 transform: translateY(-5px) scale(1.1);
 box-shadow: 0 12px 32px rgba(240, 74, 0, 0.4);
}

.scroll-to-top:hover::before {
 opacity: 0.6;
}

.scroll-to-top:active {
 transform: translateY(-1px) scale(1);
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
 0%, 100% {
 box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.25);
 }
 50% {
 box-shadow: 0 4px 20px 0 rgba(37, 99, 235, 0.45);
 }
}

.hero-btns .btn:first-child {
 animation: pulse 2s ease-in-out infinite 1s;
}

/* Fade in animation for content */
@keyframes fadeInContent {
 from {
 opacity: 0;
 transform: translateY(20px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
}

.service-card,
.portfolio-card,
.feature-card {
 animation: fadeInContent 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth transitions for all interactive elements */
a, button, .btn, .service-card, .portfolio-card, .feature-card {
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add subtle background pattern */
.hero::after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-image: 
 radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
 radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
 pointer-events: none;
 z-index: 0;
 visibility: visible;
 transform: translateY(0);
}

.scroll-to-top:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-xl);
}

.scroll-to-top:active {
 transform: translateY(-2px);
}

/* Loading Animation */
.loading-spinner {
 display: inline-block;
 width: 20px;
 height: 20px;
 border: 3px solid rgba(255, 255, 255, 0.3);
 border-radius: 50%;
 border-top-color: white;
 animation: spin 0.8s linear infinite;
}

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

/* Form Input States */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
 border-color: #ef4444;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
 border-color: var(--success);
}

input:focus,
textarea:focus,
select:focus {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}

/* Smooth Page Transitions */
body {
 animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
 from {
 opacity: 0;
 }
 to {
 opacity: 1;
 }
}

/* Enhanced Focus States for Accessibility */
*:focus-visible {
 outline: 3px solid rgba(37, 99, 235, 0.5);
 outline-offset: 2px;
 border-radius: 4px;
}

/* Selection Color */
::selection {
 background-color: rgba(37, 99, 235, 0.2);
 color: var(--dark);
}

::-moz-selection {
 background-color: rgba(37, 99, 235, 0.2);
 color: var(--dark);
}

/* Reduced Motion Support for Accessibility */
@media (prefers-reduced-motion: reduce) {
 *,
 *::before,
 *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 scroll-behavior: auto !important;
 }
}

/* Print Styles */
@media print {
 header,
 footer,
 .scroll-to-top,
 .mobile-toggle,
 .btn,
 iframe {
 display: none !important;
 }
 
 body {
 background: white;
 color: black;
 }
 
 a {
 text-decoration: underline;
 }
 
 a[href]:after {
 content: " (" attr(href) ")";
 }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
 width: 10px;
 height: 10px;
}

::-webkit-scrollbar-track {
 background: var(--light);
}

::-webkit-scrollbar-thumb {
 background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
 border-radius: 6px;
 border: 2px solid var(--light);
}

::-webkit-scrollbar-thumb:hover {
 background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Testimonials Section */
.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 2rem;
}

.testimonial-card {
 background: white;
 padding: 2rem;
 border-radius: var(--border-radius-lg);
 box-shadow: var(--shadow);
 transition: var(--transition);
 position: relative;
 border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 4px;
 background: var(--accent);
 border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
 opacity: 0;
 transition: var(--transition);
}

.testimonial-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-xl);
}

.testimonial-card:hover::before {
 opacity: 1;
}

/* Contact Icon Styling - Enhanced */
.contact-icon {
 width: 70px;
 height: 70px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(135deg, rgba(240, 74, 0, 0.12) 0%, rgba(45, 104, 196, 0.08) 100%);
 border-radius: 16px;
 color: var(--accent);
 flex-shrink: 0;
 transition: var(--transition);
 position: relative;
 box-shadow: 0 4px 12px rgba(240, 74, 0, 0.15);
}

.contact-icon::before {
 content: '';
 position: absolute;
 inset: -2px;
 background: var(--gradient-accent);
 border-radius: 16px;
 opacity: 0;
 transition: var(--transition);
 z-index: -1;
}

.contact-item:hover .contact-icon {
 transform: scale(1.15) rotate(-5deg);
 background: linear-gradient(135deg, rgba(240, 74, 0, 0.18) 0%, rgba(45, 104, 196, 0.12) 100%);
 box-shadow: 0 8px 20px rgba(240, 74, 0, 0.25);
}

.contact-item:hover .contact-icon::before {
 opacity: 0.2;
}

/* Enhanced Contact Items */
.contact-item {
 display: flex;
 align-items: flex-start;
 gap: 1.5rem;
 margin-bottom: 2rem;
 padding: 1.75rem;
 border-radius: var(--border-radius-lg);
 transition: var(--transition);
 background: rgba(255, 255, 255, 0.6);
 border: 1px solid rgba(45, 104, 196, 0.08);
}

.contact-item:hover {
 background: rgba(255, 255, 255, 0.9);
 transform: translateX(8px);
 box-shadow: var(--shadow-md);
 border-color: rgba(45, 104, 196, 0.15);
}

.contact-item h3 {
 margin-bottom: 0.625rem;
 font-size: 1.25rem;
 color: var(--dark);
}

.contact-item p {
 margin-bottom: 0.375rem;
 line-height: 1.6;
}

/* Form Enhancements */
.form-control::placeholder {
 color: var(--gray);
 opacity: 0.7;
 transition: var(--transition);
}

.form-control:focus::placeholder {
 opacity: 0.5;
 transform: translateX(4px);
}

select.form-control {
 cursor: pointer;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23F04A00' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
 background-repeat: no-repeat;
 background-position: right 1.25rem center;
 padding-right: 3rem;
 appearance: none;
}

select.form-control:focus {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23F04A00' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Input Focus Animation */
@keyframes inputFocus {
 0% {
 box-shadow: 0 0 0 0 rgba(240, 74, 0, 0.4);
 }
 100% {
 box-shadow: 0 0 0 8px rgba(240, 74, 0, 0);
 }
}

.form-control:focus {
 animation: inputFocus 0.6s ease-out;
}

/* Form Success State */
.form-control.success {
 border-color: var(--success);
 background: linear-gradient(to right, rgba(16, 185, 129, 0.02) 0%, white 100%);
}

.form-control.success:focus {
 box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

/* Stats Animation Enhancement */
.stat-item {
 transition: var(--transition);
}

.stat-item:hover {
 transform: scale(1.05);
}

/* WhatsApp Floating Button */
.whatsapp-float {
 position: fixed;
 bottom: 2rem;
 right: 2rem;
 width: 60px;
 height: 60px;
 background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
 color: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
 z-index: 999;
 transition: var(--transition);
 cursor: pointer;
 animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
 width: 32px;
 height: 32px;
 filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.whatsapp-float:hover {
 transform: scale(1.1) translateY(-3px);
 box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
 background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.whatsapp-float:active {
 transform: scale(1.05);
}

@keyframes whatsapp-pulse {
 0%, 100% {
 box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
 }
 50% {
 box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
 }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
 .whatsapp-float {
 bottom: 1.5rem;
 right: 1.5rem;
 width: 56px;
 height: 56px;
 }
 
 .whatsapp-float svg {
 width: 28px;
 height: 28px;
 }
 
 .scroll-to-top {
 bottom: 7.5rem;
 right: 1.5rem;
 width: 50px;
 height: 50px;
 font-size: 1.25rem;
 }
}

/* Page Loader — short fade so first paint feels fast */
.page-loader {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(135deg, #2D68C4 0%, #F04A00 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 9999;
 transition: opacity 0.22s ease, visibility 0.22s ease;
}

.page-loader.hidden {
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
 .page-loader {
 transition-duration: 0.01ms;
 }

 .loader-spinner {
 animation: none;
 border-color: rgba(255, 255, 255, 0.6);
 }
}

.loader-content {
 text-align: center;
 color: white;
}

.loader-spinner {
 width: 60px;
 height: 60px;
 border: 4px solid rgba(255, 255, 255, 0.3);
 border-top-color: white;
 border-radius: 50%;
 animation: spin 1s linear infinite;
 margin: 0 auto 1.5rem;
}

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

.loader-text {
 font-size: 1.125rem;
 font-weight: 600;
 letter-spacing: 0.5px;
}

/* Smooth entrance animations */
.fade-in-up {
 animation: fadeInUp 0.6s ease forwards;
}

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

/* Enhanced button ripple effect */
.btn {
 position: relative;
 overflow: hidden;
}

.btn::after {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 0;
 height: 0;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.5);
 transform: translate(-50%, -50%);
 transition: width 0.6s, height 0.6s;
}

.btn:active::after {
 width: 300px;
 height: 300px;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
 .testimonials-grid {
 grid-template-columns: 1fr;
 }
 
 .portfolio-showcase {
 grid-template-columns: 1fr;
 gap: 1.75rem;
 padding-bottom: 0.5rem;
 }
 
 .portfolio-card {
 min-width: 0;
 max-width: none;
 width: 100%;
 }
 
 .portfolio-preview-wrapper {
 height: 240px;
 }
 
 .portfolio-actions {
 flex-direction: column;
 align-items: flex-start;
 gap: 1rem;
 }
}

/* ============================================
 PROFESSIONAL ENHANCEMENTS
 ============================================ */

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

/* Back to top button styles */
.back-to-top {
 position: fixed;
 bottom: 30px;
 right: 30px;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background: linear-gradient(135deg, #2D68C4 0%, #F04A00 100%);
 color: white;
 border: none;
 font-size: 24px;
 cursor: pointer;
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s ease;
 z-index: 999;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 display: flex;
 align-items: center;
 justify-content: center;
}

.back-to-top:hover {
 transform: scale(1.1);
 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.back-to-top:active {
 transform: scale(0.95);
}

/* Enhanced button hover effects */
.btn {
 transition: all 0.3s ease;
}

.btn:hover {
 transform: translateY(-2px);
}

.btn:active {
 transform: translateY(0);
}

/* Form focus improvements */
.form-control:focus {
 outline: none;
 border-color: var(--primary);
 box-shadow: 0 0 0 3px rgba(45, 104, 196, 0.1);
 transition: all 0.3s ease;
}

/* Loading state for images */
img {
 transition: opacity 0.3s ease;
}

/* Mobile menu animation improvements */
.nav-menu {
 transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Accessibility improvements */
.skip-link:focus {
 clip: auto;
 height: auto;
 width: auto;
 position: absolute;
 top: 10px;
 left: 10px;
 background: var(--primary);
 color: white;
 padding: 10px 20px;
 border-radius: 4px;
 z-index: 10000;
 text-decoration: none;
 font-weight: 600;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
a, button, input, select, textarea {
 transition: all 0.2s ease;
}

/* Enhanced Toast Notification */
.toast {
 transform: translateX(400px) !important;
 backdrop-filter: blur(10px);
 border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.toast.show {
 transform: translateX(0) !important;
 animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInRight {
 from {
 transform: translateX(400px);
 opacity: 0;
 }
 to {
 transform: translateX(0);
 opacity: 1;
 }
}

/* Toast Icon Animation */
.toast::before {
 animation: checkmark 0.6s ease-in-out 0.2s;
}

@keyframes checkmark {
 0% {
 transform: scale(0) rotate(-45deg);
 }
 50% {
 transform: scale(1.2) rotate(10deg);
 }
 100% {
 transform: scale(1) rotate(0deg);
 }
}

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

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

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

.contact-form {
 animation: fadeInRight 0.6s ease-out;
}

.contact-info {
 animation: fadeInLeft 0.6s ease-out;
}

.contact-item {
 animation: fadeInUp 0.6s ease-out;
 animation-fill-mode: both;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.map-placeholder {
 animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* Professional loading spinner */
@keyframes spin {
 to { transform: rotate(360deg); }
}

.loading-spinner {
 display: inline-block;
 width: 20px;
 height: 20px;
 border: 3px solid rgba(255, 255, 255, 0.3);
 border-radius: 50%;
 border-top-color: white;
 animation: spin 0.8s linear infinite;
}

/* Micro-interactions for cards */
.service-card,
.portfolio-card,
.feature-card {
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.portfolio-card:hover,
.feature-card:hover {
 transform: translateY(-8px);
}

/* Professional shadow on scroll */
header.scrolled {
 box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
 transition: box-shadow 0.3s ease;
}

/* Hover effects for stat cards and trust badges */
.stat-card:hover,
div[style*="transition: transform 0.3s ease"]:hover {
 transform: translateY(-5px) !important;
}

/* Testimonial card hover */
div[style*="box-shadow: 0 4px 12px rgba(0,0,0,0.08)"]:hover {
 box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
 transform: translateY(-5px);
}

/* Cookie Consent Banner */
.cookie-consent {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
 backdrop-filter: blur(10px);
 border-top: 1px solid var(--gray-light);
 box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
 padding: 1.5rem 0;
 z-index: 9999;
 animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
 from {
 transform: translateY(100%);
 opacity: 0;
 }
 to {
 transform: translateY(0);
 opacity: 1;
 }
}

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

.cookie-text h4 {
 font-size: 1.125rem;
 font-weight: 600;
 color: var(--dark);
 margin-bottom: 0.5rem;
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.cookie-text p {
 font-size: 0.9375rem;
 color: var(--secondary);
 line-height: 1.6;
 margin: 0;
}

.cookie-actions {
 display: flex;
 gap: 1rem;
 flex-shrink: 0;
}

.cookie-actions .btn {
 white-space: nowrap;
 padding: 0.75rem 1.5rem;
 font-size: 0.9375rem;
}

@media (max-width: 768px) {
 .cookie-content {
 flex-direction: column;
 align-items: flex-start;
 padding: 0 1.5rem;
 }
 
 .cookie-actions {
 width: 100%;
 flex-direction: column;
 }
 
 .cookie-actions .btn {
 width: 100%;
 text-align: center;
 }
}

/* Team Section with Background Image */
.team-section-bg {
 position: relative;
 background-image: url('https://pixabay.com/get/gb68845a465d76f3424723a0a3dc4512087201b54e843a75f16b9fa29ba34901fd2b234a6eda059713ec111607122f89b.jpg');
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
 background-attachment: fixed;
}

.team-section-bg::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: var(--overlay-dark);
 z-index: 1;
}

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

.team-section-bg .section-title h2 {
 background: none;
 -webkit-background-clip: unset;
 -webkit-text-fill-color: white;
 background-clip: unset;
 color: white !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
 .team-section-bg {
 background-attachment: scroll;
 }
 
 .back-to-top {
 bottom: 20px;
 right: 20px;
 width: 45px;
 height: 45px;
 font-size: 20px;
 }
 
 .stats-grid {
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
 }
}

/* ============================================
 HOMEPAGE PREMIUM POLISH
 ============================================ */

.hero-trust {
 margin-top: 1.5rem;
 display: flex;
 flex-wrap: wrap;
 gap: 0.75rem;
}

.trust-chip {
 display: inline-flex;
 align-items: center;
 padding: 0.45rem 0.85rem;
 border-radius: 999px;
 font-size: 0.86rem;
 font-weight: 600;
 color: var(--primary-dark);
 background: rgba(45, 104, 196, 0.08);
 border: 1px solid rgba(45, 104, 196, 0.15);
}

.section-cta {
 margin-top: 3.5rem;
}

.btn-compact {
 padding: 0.85rem 1.4rem;
}

.btn-light {
 background: #ffffff;
 color: var(--primary);
 box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.btn-light:hover {
 color: var(--primary);
}

.btn-outline-light {
 border-color: rgba(255, 255, 255, 0.75);
 color: #ffffff;
 background: rgba(255, 255, 255, 0.07);
}

.btn-outline-light:hover {
 border-color: #ffffff;
 background: rgba(255, 255, 255, 0.18);
 color: #ffffff;
}

.home-stats-section {
 background: linear-gradient(135deg, #1c4ea3 0%, #f04a00 100%);
 color: #ffffff;
}

.home-stats-section .stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 1.5rem;
 text-align: center;
}

.home-stats-section .stat-item {
 padding: 1.6rem 1.2rem;
 border-radius: 18px;
 border: 1px solid rgba(255, 255, 255, 0.2);
 background: rgba(255, 255, 255, 0.11);
 backdrop-filter: blur(6px);
}

.home-stats-section .stat-value {
 font-size: 2.6rem;
 font-weight: 800;
 margin-bottom: 0.35rem;
 color: #ffffff;
}

.home-stats-section .stat-label {
 font-size: 1rem;
 opacity: 0.95;
 color: rgba(255, 255, 255, 0.95);
}

.home-testimonials-section {
 background-color: var(--light);
}

.home-testimonials-section .testimonial-quote {
 color: var(--accent);
 font-size: 3rem;
 line-height: 1;
 margin-bottom: 0.8rem;
}

.home-testimonials-section .testimonial-text {
 font-style: italic;
 color: var(--secondary);
 margin-bottom: 1.5rem;
 line-height: 1.75;
}

.home-testimonials-section .testimonial-author {
 display: flex;
 align-items: center;
 gap: 0.95rem;
}

.home-testimonials-section .testimonial-avatar {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background: var(--gradient-accent);
 display: flex;
 align-items: center;
 justify-content: center;
 color: #ffffff;
 font-weight: 700;
 font-size: 1.15rem;
}

.home-testimonials-section .testimonial-name {
 font-weight: 700;
 color: var(--dark);
}

.home-testimonials-section .testimonial-role {
 font-size: 0.875rem;
 color: var(--secondary);
}

.home-team-section {
 color: #ffffff;
}

.home-team-section .section-title h2 {
 color: #ffffff !important;
}

.home-team-section .section-title p {
 color: rgba(255, 255, 255, 0.9);
}

.home-team-section .feature-card {
 background: rgba(255, 255, 255, 0.1);
 border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-team-section .feature-icon {
 background: rgba(255, 255, 255, 0.15);
}

.home-team-section .feature-card h3 {
 color: #ffffff;
}

.home-team-section .feature-card p {
 color: rgba(255, 255, 255, 0.86);
}

.home-team-section .feature-icon img {
 filter: brightness(0) invert(1);
}

.home-cta-section {
 background: var(--gradient-accent);
 color: #ffffff;
 text-align: center;
}

.home-cta-section h2 {
 color: #ffffff;
 font-size: clamp(2rem, 4vw, 2.6rem);
 margin-bottom: 1rem;
}

.home-cta-section p {
 color: rgba(255, 255, 255, 0.9);
 max-width: 700px;
 margin: 0 auto 2rem;
 font-size: 1.15rem;
}

.home-cta-actions {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
}

@media (max-width: 768px) {
 .hero-trust {
 gap: 0.5rem;
 }

 .trust-chip {
 font-size: 0.8rem;
 }

 .home-stats-section .stat-value {
 font-size: 2.2rem;
 }
}

/* ============================================
 CROSS-PAGE CONSISTENCY HELPERS
 ============================================ */

.section-title-spaced {
 margin-top: 4rem;
}

.section-cta-lg {
 margin-top: 4rem;
}

.w-100 {
 width: 100%;
}

.honeypot-field {
 position: absolute;
 left: -5000px;
}

.muted {
 color: var(--secondary);
}

.about-brand-card {
 height: 400px;
 background-color: #e2e8f0;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 12px;
 box-shadow: var(--shadow);
}

.about-brand-card img {
 max-height: 280px;
 width: auto;
}

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

.team-strength-card {
 text-align: center;
 padding: 2rem;
 background: #fff;
 border-radius: 16px;
 box-shadow: var(--shadow-md);
}

.team-strength-icon {
 margin: 0 auto 1rem;
}

.team-strength-card h3 {
 color: var(--primary);
 margin-bottom: 0.5rem;
}

.checklist {
 list-style: none;
 padding: 0;
}

.checklist li {
 padding: 0.5rem 0;
 display: flex;
 align-items: flex-start;
 gap: 0.5rem;
}

.checklist .check {
 color: var(--accent);
 font-weight: 700;
}

.contact-icon-glyph {
 font-size: 2rem;
}

.contact-main-link {
 color: var(--dark);
 font-weight: 500;
}

.contact-meta {
 color: var(--secondary);
 font-size: 0.9rem;
}

.contact-strong {
 color: var(--dark);
 font-weight: 500;
}

.portfolio-controls {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 1rem;
 gap: 1rem;
}

.portfolio-live-frame {
 position: relative;
 border-radius: 12px;
 overflow: hidden;
 box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
 background: #f1f5f9;
}

.portfolio-live-iframe {
 width: 100%;
 height: 500px;
 border: none;
}

.portfolio-live-badge-wrap {
 position: absolute;
 top: 1rem;
 right: 1rem;
 z-index: 10;
}

.portfolio-live-badge {
 background: rgba(37, 99, 235, 0.9);
 color: #fff;
 padding: 0.5rem 1rem;
 border-radius: 8px;
 font-size: 0.875rem;
 font-weight: 600;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
 .portfolio-controls {
 flex-direction: column;
 align-items: flex-start;
 }
}

/* ============================================
 FINAL PREMIUM TUNING
 ============================================ */

.section-cta-md {
 margin-top: 3rem;
}

.icon-inline-arrow {
 font-size: 1rem;
 margin-left: 0.25rem;
}

.cookie-consent {
 display: none;
}

.section {
 padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-title {
 margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-title p {
 max-width: 680px;
}

.hero-content h1 {
 font-size: clamp(2.3rem, 6vw, 4.5rem);
 line-height: 1.08;
}

.hero-content p {
 font-size: clamp(1rem, 2.3vw, 1.22rem);
}

.feature-icon,
.service-icon {
 border-radius: 20px;
}

.feature-icon img,
.service-icon img {
 width: clamp(34px, 3vw, 48px);
 height: clamp(34px, 3vw, 48px);
}

.contact-icon {
 width: 68px;
 height: 68px;
}

.portfolio-live-iframe {
 height: clamp(320px, 48vw, 500px);
}

@media (max-width: 768px) {
 .container {
 padding: 0 1.1rem;
 }

 .btn {
 padding: 0.85rem 1.3rem;
 }

 .btn.btn-outline,
 .btn.btn-light,
 .btn.btn-outline-light {
 width: 100%;
 }

 .hero-btns .btn {
 width: 100%;
 }

 .portfolio-preview-wrapper {
 height: 230px;
 }

 .portfolio-info {
 padding: 1.25rem;
 }
}

@media (max-width: 480px) {
 .home-stats-section .stats-grid {
 gap: 0.9rem;
 }

 .home-stats-section .stat-item {
 padding: 1.1rem 0.8rem;
 }

 .home-cta-actions {
 width: 100%;
 }

 .home-cta-actions .btn {
 width: 100%;
 }
}

/* Hero refresh */
.hero-eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 0.45rem;
 font-size: 0.84rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--primary-dark);
 background: rgba(45, 104, 196, 0.1);
 border: 1px solid rgba(45, 104, 196, 0.18);
 border-radius: 999px;
 padding: 0.45rem 0.9rem;
 margin-bottom: 1rem;
}

.hero-title-accent {
 color: var(--accent);
}

.hero-image-badge {
 position: absolute;
 left: 1rem;
 right: 1rem;
 bottom: 1rem;
 z-index: 3;
 background: rgba(15, 23, 42, 0.65);
 color: #fff;
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 14px;
 padding: 0.8rem 1rem;
 backdrop-filter: blur(8px);
 display: flex;
 flex-direction: column;
 gap: 0.1rem;
}

.hero-image-badge strong {
 font-size: 0.95rem;
}

.hero-image-badge span {
 font-size: 0.83rem;
 color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 768px) {
 .hero-image-badge {
 left: 0.75rem;
 right: 0.75rem;
 bottom: 0.75rem;
 padding: 0.65rem 0.85rem;
 }

 .hero-image-badge strong {
 font-size: 0.9rem;
 }

 .hero-image-badge span {
 font-size: 0.8rem;
 }
}

/* —— Homepage hero: full-bleed slider + dark overlay —— */
.hero.hero--slides {
 position: relative;
 padding: 0;
 min-height: min(92vh, 880px);
 display: flex;
 align-items: stretch;
 background: #0f172a;
 overflow: hidden;
}

.hero.hero--slides::before,
.hero.hero--slides::after {
 content: none !important;
 display: none !important;
}

.hero.hero--slides .hero__slides {
 position: absolute;
 inset: 0;
 z-index: 0;
}

.hero.hero--slides .hero__slide {
 position: absolute;
 inset: 0;
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
 opacity: 0;
 transition: opacity 1.1s ease-in-out;
}

.hero.hero--slides .hero__slide.is-active {
 opacity: 1;
}

.hero.hero--slides .hero__overlay {
 position: absolute;
 inset: 0;
 z-index: 1;
 pointer-events: none;
 background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0.45) 0%,
  rgba(0, 0, 0, 0.62) 45%,
  rgba(0, 0, 0, 0.75) 100%
 );
}

.hero.hero--slides .hero-container {
 position: relative;
 z-index: 2;
 display: grid;
 grid-template-columns: 1fr;
 justify-items: center;
 align-content: center;
 padding: calc(var(--header-height) + 3rem) 1.5rem 4.5rem;
 gap: 0;
}

.hero.hero--slides .hero-content {
 max-width: 52rem;
 text-align: center;
}

.hero.hero--slides .hero-content h1 {
 color: #ffffff;
 background: none;
 -webkit-text-fill-color: #ffffff;
 background-clip: border-box;
 margin-bottom: 1.25rem;
 text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
 font-size: clamp(1.75rem, 4.2vw + 1rem, 3.35rem);
 line-height: 1.12;
 text-wrap: balance;
}

.hero.hero--slides .hero-content .lead {
 color: rgba(255, 255, 255, 0.9);
 margin-left: auto;
 margin-right: auto;
 max-width: 40rem;
 text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
 font-size: clamp(1rem, 0.35vw + 0.92rem, 1.25rem);
 line-height: 1.65;
 text-wrap: balance;
}

.hero.hero--slides .hero-btns {
 justify-content: center;
}

.hero.hero--slides .hero-btns .btn:focus-visible {
 outline-color: #ffffff;
 outline-offset: 4px;
}

.hero.hero--slides .btn-outline-on-dark,
.hero.hero--slides .hero-btns .btn-outline {
 background: rgba(255, 255, 255, 0.06);
 border: 2px solid rgba(255, 255, 255, 0.85);
 color: #ffffff;
 backdrop-filter: blur(8px);
 box-shadow: none;
}

.hero.hero--slides .btn-outline-on-dark:hover,
.hero.hero--slides .hero-btns .btn-outline:hover {
 background: rgba(255, 255, 255, 0.16);
 border-color: #ffffff;
 color: #ffffff;
}

.hero.hero--slides .hero__dots {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 0.5rem;
 margin-top: 2rem;
}

.hero.hero--slides .hero__dot {
 width: 11px;
 height: 11px;
 padding: 0;
 border-radius: 50%;
 border: 2px solid rgba(255, 255, 255, 0.55);
 background: transparent;
 cursor: pointer;
 transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero.hero--slides .hero__dot:hover {
 border-color: #ffffff;
 transform: scale(1.15);
}

.hero.hero--slides .hero__dot.is-active {
 background: #ffffff;
 border-color: #ffffff;
}

@media (max-width: 768px) {
 .hero.hero--slides {
 min-height: min(88vh, 760px);
 }

 .hero.hero--slides .hero-container {
 padding: calc(var(--header-height) + 2.25rem) 1.1rem 3.5rem;
 }
}

@media (prefers-reduced-motion: reduce) {
 .hero.hero--slides .hero__slide {
 transition-duration: 0.01ms;
 }

 .portfolio-card:hover {
 transform: none;
 }

 .portfolio-card:hover .portfolio-preview-frame iframe {
 transform: none;
 }
}

/* About page hero — brand imagery + dark overlay */
.page-hero.page-hero--about {
 background-color: #0f172a;
 background-image: url("../images/slider4.webp");
 background-size: cover;
 background-position: center center;
 background-repeat: no-repeat;
 text-align: center;
 padding: 11rem 0 4.5rem;
}

.page-hero.page-hero--about::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0.4) 0%,
  rgba(0, 0, 0, 0.55) 40%,
  rgba(0, 0, 0, 0.82) 100%
 );
 opacity: 1;
 pointer-events: none;
}

.page-hero.page-hero--about .container {
 position: relative;
 z-index: 1;
}

.page-hero.page-hero--about h1,
.page-hero.page-hero--portfolio h1,
.page-hero.page-hero--services h1,
.page-hero.page-hero--contact h1 {
 color: #ffffff;
 background: none;
 -webkit-text-fill-color: #ffffff;
 background-clip: border-box;
 text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-hero.page-hero--about p,
.page-hero.page-hero--portfolio p,
.page-hero.page-hero--services p,
.page-hero.page-hero--contact p {
 color: rgba(255, 255, 255, 0.92);
 max-width: 42rem;
 margin-left: auto;
 margin-right: auto;
 text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.page-hero.page-hero--about .breadcrumb a,
.page-hero.page-hero--portfolio .breadcrumb a,
.page-hero.page-hero--services .breadcrumb a,
.page-hero.page-hero--contact .breadcrumb a {
 color: rgba(255, 255, 255, 0.95);
}

.page-hero.page-hero--about .breadcrumb a:hover,
.page-hero.page-hero--portfolio .breadcrumb a:hover,
.page-hero.page-hero--services .breadcrumb a:hover,
.page-hero.page-hero--contact .breadcrumb a:hover {
 color: #ffffff;
}

.page-hero.page-hero--about .breadcrumb span,
.page-hero.page-hero--portfolio .breadcrumb span,
.page-hero.page-hero--services .breadcrumb span,
.page-hero.page-hero--contact .breadcrumb span {
 color: rgba(255, 255, 255, 0.55);
}

/* Portfolio page hero — homepage slider imagery + strong dark overlay */
.page-hero.page-hero--portfolio {
 background-color: #050505;
 background-image: url("../images/slider2.jpg");
 background-size: cover;
 background-position: center center;
 background-repeat: no-repeat;
 text-align: center;
 padding: 11rem 0 4.5rem;
}

.page-hero.page-hero--portfolio::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0.55) 0%,
  rgba(0, 0, 0, 0.72) 45%,
  rgba(0, 0, 0, 0.88) 100%
 );
 opacity: 1;
 pointer-events: none;
}

.page-hero.page-hero--portfolio .container {
 position: relative;
 z-index: 1;
}

/* Services page hero (id raises specificity so base .page-hero backgrounds never win) */
#servicesPageHero.page-hero.page-hero--services {
 background-color: #050505;
 background-image: url("../images/slider5.jpg");
 background-size: cover;
 background-position: center center;
 background-repeat: no-repeat;
 text-align: center;
 padding: 11rem 0 4.5rem;
}

#servicesPageHero.page-hero.page-hero--services::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0.55) 0%,
  rgba(0, 0, 0, 0.72) 45%,
  rgba(0, 0, 0, 0.88) 100%
 );
 opacity: 1;
 pointer-events: none;
}

#servicesPageHero.page-hero.page-hero--services .container {
 position: relative;
 z-index: 1;
}

/* Contact page hero */
#contactPageHero.page-hero.page-hero--contact {
 background-color: #050505;
 background-image: url("../images/slider1.jpg");
 background-size: cover;
 background-position: center center;
 background-repeat: no-repeat;
 text-align: center;
 padding: 11rem 0 4.5rem;
}

#contactPageHero.page-hero.page-hero--contact::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0.55) 0%,
  rgba(0, 0, 0, 0.72) 45%,
  rgba(0, 0, 0, 0.88) 100%
 );
 opacity: 1;
 pointer-events: none;
}

#contactPageHero.page-hero.page-hero--contact .container {
 position: relative;
 z-index: 1;
}

.about-founder-photo {
 border-radius: var(--border-radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 background: var(--gray-light);
}

.about-founder-photo img {
 display: block;
 width: 100%;
 height: auto;
 min-height: 320px;
 max-height: 520px;
 object-fit: cover;
 object-position: center top;
}

/* Reduce scroll jumps when many portfolio iframes load (scroll anchoring) */
.page-portfolio #mainContent {
 overflow-anchor: none;
}

/* Inline previews steal wheel/touch scroll (e.g. long e‑commerce pages like AJ Fashion) — let the page scroll instead */
.page-portfolio iframe.portfolio-live-iframe {
 pointer-events: none;
}

/* Click-to-load overlay (see initPortfolioDeferredEmbeds in script.js) */
.page-portfolio .portfolio-embed-gate {
 position: absolute;
 inset: 0;
 z-index: 8;
 display: flex;
 align-items: center;
 justify-content: center;
 background: rgba(248, 250, 252, 0.97);
 pointer-events: auto;
 cursor: default;
 padding: 1.25rem;
 text-align: center;
}

.page-portfolio .portfolio-embed-gate-inner {
 max-width: 20rem;
 display: flex;
 flex-direction: column;
 gap: 0.75rem;
 align-items: center;
}

.page-portfolio .portfolio-embed-load-btn {
 margin: 0;
}

.page-portfolio .portfolio-embed-hint {
 margin: 0;
 font-size: 0.875rem;
 color: var(--secondary);
 line-height: 1.5;
}

@media (max-width: 768px) {
 .page-hero.page-hero--about,
 .page-hero.page-hero--portfolio,
 .page-hero.page-hero--services,
 .page-hero.page-hero--contact {
 background-position: center center;
 padding: 9.5rem 0 3.5rem;
 }
}

/* Homepage SEO intro + FAQ */
.home-seo-intro {
 background: linear-gradient(180deg, var(--light) 0%, #ffffff 100%);
 padding-top: clamp(2.5rem, 5vw, 3.5rem);
 padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.home-seo-intro__inner {
 max-width: 52rem;
 margin: 0 auto;
 text-align: center;
}

.home-seo-intro__inner h2 {
 font-size: clamp(1.65rem, 4vw, 2.25rem);
 margin-bottom: 1rem;
 color: var(--dark);
 text-wrap: balance;
}

.home-seo-intro__inner p {
 font-size: 1.1rem;
 line-height: 1.85;
 color: var(--secondary);
 margin-bottom: 0;
}

.home-seo-intro__inner a {
 color: var(--primary);
 font-weight: 600;
}

.home-seo-intro__inner a:hover {
 color: var(--primary-dark);
}

.home-faq-section {
 background: var(--white);
}

.home-faq-section .faq-list {
 max-width: 48rem;
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 gap: 1.25rem;
}

.home-faq-section .faq-item {
 padding: 1.35rem 1.5rem;
 border-radius: var(--border-radius);
 border: 1px solid var(--gray-light);
 background: var(--light);
 box-shadow: var(--shadow-sm);
}

.home-faq-section .faq-item h3 {
 font-size: 1.15rem;
 margin-bottom: 0.65rem;
 color: var(--dark);
}

.home-faq-section .faq-item p {
 margin-bottom: 0;
 font-size: 1rem;
 line-height: 1.75;
 color: var(--secondary);
}

/* Homepage testimonials — semantic blockquote styling */
.testimonial-quote {
 margin: 0;
 padding: 0;
 border: none;
 font-style: italic;
 color: var(--secondary);
 line-height: 1.7;
 font-size: 1.05rem;
}