/* --- CSS Variables & Theming --- */
:root {
    /* Color Palette - Premium Modern Blues/Cyans */
    --primary-color: #00A4CC;
    /* Cyan/Blue (from logo) - Action/Buttons */
    --primary-hover: #0088AA;
    --secondary-color: #1E293B;
    /* Charcoal/Navy - Primary Text & Headings */
    --accent-light: #E0F2FE;
    /* Very light cyan for backgrounds/highlights */
    --accent-blue: #0A2540;
    /* Deep Navy for Trust sections/footers */

    --bg-main: #FFFFFF;
    /* White dominant */
    --bg-secondary: #F8FAFC;
    /* Off-white for section alternation */

    --text-dark: #0F172A;
    /* Almost black */
    --text-muted: #64748B;
    /* Slate gray for subtext */

    /* Typography */
    --font-family: 'Inter', sans-serif;

    /* Navigation / Logo */
    --logo-height: 48px;

    /* UI Elements */
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --border-radius-pill: 50px;

    --box-shadow-nav: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    --box-shadow-btn: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --box-shadow-hover: 0 25px 50px -12px rgba(0, 164, 204, 0.15), 0 10px 15px -3px rgba(0, 164, 204, 0.05);

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #E2E8F0;
    /* The light blue/gray framing from the image */
}

body {
    font-family: var(--font-family);
    background-color: #F8FAFC;
    /* Slightly off-white inner background */
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 2rem;
    /* Creating the outer frame effect */
    border-radius: 32px;
    overflow-x: hidden;
    min-height: calc(100vh - 4rem);
    position: relative;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    font-weight: 700;
    color: #111827;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: #111827;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: #111827;
}

p {
    color: #4B5563;
    /* slightly darker text */
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), #00F0FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

img,
svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 164, 204, 0.3);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: var(--accent-light);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: #d1ecfc;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-dark {
    background-color: #111827;
    color: #FFFFFF;
    border-radius: var(--border-radius-pill);
    box-shadow: var(--box-shadow-btn);
}

.btn-dark:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.btn-dark-large {
    background-color: #111827;
    color: #FFFFFF;
    border-radius: var(--border-radius-pill);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    box-shadow: var(--box-shadow-btn);
}

.btn-dark-large:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.btn-light-large {
    background-color: #FFFFFF;
    color: #111827;
    border-radius: var(--border-radius-pill);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Added slight border */
}

.btn-light-large:hover {
    box-shadow: var(--box-shadow-btn);
    transform: translateY(-2px);
    color: #111827;
}

/* --- Hero Load Animations --- */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate-1 {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-2 {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-animate-3 {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-animate-4 {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* --- Navigation --- */
.navbar {
    position: absolute;
    /* Not fixed, floats near the top */
    top: 2rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* Let clicks pass through outside the island */
}

.nav-island {
    pointer-events: auto;
    /* Re-enable clicks on the island */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    width: 90%;
    max-width: 900px;
    box-shadow: var(--box-shadow-nav);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 24px;
    /* Smaller for this design */
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: #4B5563;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}

.nav-links li:not(:last-child) a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li:not(:last-child) a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #111827;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

/* --- Hero Section --- */
.hero {
    padding-top: 10rem;
    /* Reduced from 15rem to bring it higher */
    padding-bottom: 6rem;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
}

/* Subtle dot matrix pattern for creative modern feel */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    /* Fainter dots matching image */
    background-size: 24px 24px;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.hero-container-centered {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    color: #4B5563;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 2.5rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #3B82F6;
    /* Blue dot */
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-pill.filter-badge {
    background-color: #E0F2FE;
    color: #0284C7;
    border: none;
    box-shadow: none;
    margin-bottom: 2rem;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.badge-highlight {
    color: #3B82F6;
    font-weight: 600;
}

.hero .subtext {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    color: #6B7280;
    line-height: 1.7;
}

.hero-buttons-centered {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Hide old hero graphic */
.hero-graphic {
    display: none;
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Softer, spread shadow matching ref */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.35rem;
    /* Slightly smaller heading */
    font-weight: 700;
    /* Keep bold */
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #111827;
}

.service-card p {
    font-size: 1rem;
    /* Smaller text */
    color: #6B7280;
    /* Lighter gray matching ref */
    line-height: 1.6;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-8px);
    /* less extreme jump */
    box-shadow: 0 20px 40px -10px rgba(0, 164, 204, 0.1);
    /* blue tinted large shadow */
    border-color: rgba(0, 164, 204, 0.05);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.card-icon {
    width: 44px;
    /* slightly smaller */
    height: 44px;
    border-radius: 10px;
    /* slightly squarer pill */
    background-color: #E0F2FE;
    /* Exact soft cyan back from reference */
    color: #0284C7;
    /* the darker blue drawing the svg */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    /* More space before heading */
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

/* --- Featured Projects / Portfolio --- */
.portfolio {
    padding: 6rem 0;
    /* Reduced padding for better 16:9 vertical fit */
    background-color: #FFFFFF;
}

.portfolio-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* 16:9 Browser Mockup styling */
.browser-mockup {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Ensures 16:9 proportion */
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Deep premium shadow */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.browser-header {
    background-color: #F8FAFC;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.mockup-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #FF5F56;
}

.dot.yellow {
    background-color: #FFBD2E;
}

.dot.green {
    background-color: #27C93F;
}

.url-bar {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0 auto;
    width: 50%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.external-link-btn {
    position: absolute;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-color);
    color: #FFF;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.external-link-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.browser-body {
    flex: 1;
    background-color: #000;
    position: relative;
}

.browser-body iframe.showcase-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.browser-body iframe.active-iframe {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Interactive Project Selectors */
.portfolio-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.portfolio-btn {
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 200px;
    max-width: 250px;
}

.portfolio-btn strong {
    font-size: 1rem;
    color: #111827;
    font-family: var(--font-family);
}

.portfolio-btn span {
    font-size: 0.85rem;
    color: #6B7280;
}

.portfolio-btn:hover {
    background: #FFFFFF;
    border-color: #00A4CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 164, 204, 0.1);
}

.portfolio-btn.active {
    background: #EAF4FE;
    border-color: #00A4CC;
    box-shadow: 0 4px 12px rgba(0, 164, 204, 0.15);
}

.portfolio-btn.active strong {
    color: #0284C7;
}

/* --- About Section --- */
.about {
    padding: 8rem 0;
    background-color: #F8FAFC;
    /* slightly off white */
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: #111827;
}

.about-content p {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 3.5rem;
    max-width: 800px;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    width: 100%;
    text-align: left;
    /* Keep features left aligned for readability */
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #00A4CC;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 14px;
    height: 14px;
}

.about-features strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 700;
}

.about-features p {
    margin: 0;
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.5;
}

/* --- Trust & Value Section --- */
.trust {
    background-color: var(--accent-blue);
    color: #FFFFFF;
}

.trust h2,
.trust p,
.trust .stat-number {
    color: #FFFFFF;
}

.trust p {
    opacity: 0.8;
}

.trust-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.trust-content {
    flex: 1;
}

.value-bullets {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.bullet-icon {
    font-size: 1.25rem;
}

.trust-stats {
    flex: 1;
    display: flex;
    gap: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color) !important;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* --- Contact Section --- */
/* --- Contact Section --- */
.contact {
    background-color: #F8FAFC;
    padding: 8rem 0;
}

.contact-container {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: #111827;
}

.contact-info p {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 3rem;
    max-width: 90%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #E0F2FE;
    /* match services icon bg */
    color: #00A4CC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-wrapper {
    flex: 1.2;
    background: #FFFFFF;
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: #F9FAFB;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00A4CC;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 164, 204, 0.1);
}

.form-status {
    margin-top: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* --- Footer --- */
.footer {
    background-color: #0B1120;
    /* Deep premium dark blue */
    color: #94A3B8;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    overflow: hidden;
    /* Ensures child elements don't bleed out of the curve */
}

/* Pre-footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-color), #00F0FF);
    padding: 4rem 0;
    color: #FFFFFF;
}

.footer-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-cta-text h2 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.25rem;
}

.footer-cta .btn-primary {
    background-color: #FFFFFF;
    color: var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-hover);
}

/* Footer Content */
.footer .container {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer h3,
.footer h4 {
    color: #FFFFFF;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 2;
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .brand-text {
    color: #FFFFFF;
}

.footer-links-group {
    flex: 1;
}

.footer-links-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94A3B8;
    position: relative;
    padding-left: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #00F0FF;
    padding-left: 8px;
    /* Slides in slightly on hover */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.powered-by {
    color: #CBD5E1;
    margin: 0;
}

/* --- Responsive Design --- */
/* --- Responsive Adjustments Update --- */
@media (max-width: 992px) {
    body {
        margin: 0;
        border-radius: 0;
    }

    .hero-container-centered,
    .about-container,
    .trust-wrapper,
    .contact-container {
        flex-direction: column;
    }

    h1 {
        font-size: 3rem;
    }

    .nav-island {
        width: 95%;
    }

    .value-bullets {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .featured-portfolio {
        grid-column: 1 / -1;
    }

    .footer-cta-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
        /* simple mobile menu handling */
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--secondary-color);
    }

    h1 {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .trust-stats {
        flex-direction: column;
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Global UX / Scroll Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger-1 {
    transition-delay: 0.1s;
}

.reveal-stagger-2 {
    transition-delay: 0.2s;
}

.reveal-stagger-3 {
    transition-delay: 0.3s;
}

.reveal-stagger-4 {
    transition-delay: 0.4s;
}

/* Micro-interactions */
.btn:active,
.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.97);
}

.hero-badge-pill {
    animation: floatingPill 4s ease-in-out infinite;
}

@keyframes floatingPill {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}