/* =========================================================================
   Steve Robinson - Digital Marketing Website
   Premium Modern Aesthetic (Glassmorphism, Vibrant Blues, Clean Typography)
   ========================================================================= */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --color-primary: #3366FF;
    --color-primary-rgb: 51, 102, 255; /* RGB version for overlays/glows */
    --color-primary-hover: #254EDB;
    /* Darker Blue */
    --color-white: #FFFFFF;
    --color-light-bg: #F4F7FE;
    /* Very light cool gray/blue background */
    --color-dark-bg: #EAEFFC;
    /* Slightly darker bluish gray */

    --text-main: #1C2331;
    /* Dark Navy/Charcoal for main text */
    --text-muted: #6B7280;
    /* Medium Gray for body text/labels */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(244, 247, 254, 0.8) 0%, rgba(228, 235, 255, 0.4) 100%);
    --gradient-blue: linear-gradient(135deg, #4A7AFA 0%, #254EDB 100%);
    --gradient-text: linear-gradient(135deg, #3B82F6 0%, #DBEAFE 100%);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 20px 40px -10px rgba(51, 102, 255, 0.15);
    /* Tinted subtle shadow */
    --shadow-image: 0 30px 60px -15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text-muted);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h1 span {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 6rem 0;
    scroll-margin-top: 160px; 
}

.bg-light {
    background-color: var(--color-light-bg);
}

.bg-white {
    background: var(--gradient-hero) !important;
}

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

.section-subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    outline: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(51, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(51, 102, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid #E5E7EB;
    background: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: var(--transition-medium);
    background: rgba(255, 255, 255, 0.0);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 110px;
    width: auto;
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    height: 110px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-pic-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Nav Styles */
.mobile-nav {
    position: fixed;
    top: 70px;
    /* Below navbar */
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: 1rem 2rem;
    transform: translateY(-150%);
    transition: var(--transition-medium);
    z-index: 999;
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero) !important;
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.badge-light {
    background: rgba(51, 102, 255, 0.1);
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 100%;
    width: max-content;
    margin-bottom: 0rem;
    color: #4B5563;
}

.hero-p-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-arrow-wrap {
    display: none;
    position: absolute;
    right: -105px;
    top: 10px;
    transform-origin: 25px 5px;
    transform: rotate(25deg);
    pointer-events: none;
}

.hero-arrow-svg {
    width: 115px;
    height: 95px;
    opacity: 0.8;
}

@media (min-width: 1025px) {
    .hero-arrow-wrap {
        display: block;
    }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-image);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-medium);
    max-width: 100%;
    margin: 0 auto;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -40px;
    background: var(--gradient-blue);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 140px;
    height: 140px;
    animation: float 6s ease-in-out infinite;
}

.floating-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.floating-badge .text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(51, 102, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.glow-top-left {
    top: -200px;
    left: -200px;
}

.glow-top-right {
    top: 100px;
    right: -200px;
    background: radial-gradient(circle, rgba(162, 185, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-bottom-left {
    bottom: -200px;
    left: -200px;
}

.glow-bottom-right {
    bottom: -100px;
    right: -200px;
    background: radial-gradient(circle, rgba(162, 185, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- About Section --- */
.about {
    position: relative;
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a2333 100%) !important;
    color: var(--color-white);
    overflow: hidden;
}

.about-container-v3 {
    position: relative;
    z-index: 5;
}

.about-main-row {
    display: grid;
    grid-template-areas: 
        "header bio"
        "testimonials bio";
    grid-template-columns: 1fr 1.2fr;
    gap: 1rem 5rem; /* Reduced vertical gap to move testimonials up */
    align-items: start;
}

/* Header Area */
.about-header {
    grid-area: header;
}

.about-main-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: white;
}

.about-main-heading span {
    display: inline-block;
    color: #93C5FD;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content-v3 {
    grid-area: bio;
}

/* Content Area */
.bio-wrapper {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--radius-xl);
}

.bio-greeting {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.bio-name {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: white;
}

.bio-name span {
    color: #93C5FD;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio-main {
    font-size: 1.3rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.bio-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.bio-testimonials {
    grid-area: testimonials;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.testimonial-box {
    flex: 1;
    min-width: 260px;
    max-width: 310px;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1.25rem 1.25rem; /* Restored bottom spacing */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 0.9rem; /* Reduced ever so slightly */
    font-style: italic; /* Added italics */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-content {
    max-height: 3rem; /* Chopped more aggressively (~2 lines) */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-content.expanded {
    max-height: 500px;
}

.testimonial-read-more {
    background: none;
    border: none;
    color: #93C5FD;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25rem 0;
    cursor: pointer;
    text-align: left;
    margin-bottom: 0.75rem; /* Reduced spacing */
    transition: color 0.3s ease;
}

.testimonial-read-more:hover {
    color: white;
}

.testimonial-author-info {
    margin-top: 1.25rem; /* Added breathing room */
}

.testimonial-author {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.1rem;
}

.testimonial-business {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.15rem; /* Minimal baseline spacing */
}

.testimonial-business a:hover {
    color: white;
}

@media (max-width: 992px) {
    .about-main-row {
        grid-template-areas: 
            "header"
            "bio"
            "testimonials";
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .bio-testimonials {
        justify-content: center;
    }

    .testimonial-read-more {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bio-testimonials {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .testimonial-box {
        max-width: 100%;
    }
}

.read-more-btn {
    display: none; /* Hidden on desktop by default */
}

.btn-text {
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: var(--transition-medium);
}

.btn-text:hover {
    gap: 1.25rem;
    color: white;
}

/* Decorative Spheres */
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    animation: pulse 10s infinite alternate;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: rgba(51, 102, 255, 0.15);
    top: -100px;
    right: -100px;
}

.sphere-2 {
    width: 700px;
    height: 700px;
    background: rgba(147, 197, 253, 0.08);
    bottom: -200px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.2) translate(30px, -30px); opacity: 0.5; }
}

@media (max-width: 1024px) {
    .about-v3 {
        flex-direction: column;
        gap: 3rem;
        text-align: left;
    }
    
    .about-main-heading {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .bio-wrapper {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-v3 {
        gap: 2.5rem;
    }
    
    .about-main-heading {
        font-size: 2rem;
    }

    .bio-wrapper {
        padding: 2.5rem 1.75rem;
    }
    
    .bio-name {
        font-size: 1.75rem;
    }
}

/* --- Services Section --- */
.services {
    position: relative;
    overflow: hidden;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.services-interactive-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Left Column: Service List */
.services-list-container {
    padding-right: 2rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: var(--transition-medium);
}

.service-item:hover, .service-item.active {
    padding-left: 1rem;
}

.service-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-right: 2rem;
    opacity: 0.6;
    transition: var(--transition-medium);
}

.service-item:hover .service-number, .service-item.active .service-number {
    opacity: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    flex-grow: 1;
    transition: var(--transition-medium);
}

.service-item:hover .service-title, .service-item.active .service-title {
    color: var(--color-primary);
}

.service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-medium);
}

.service-item:hover .service-arrow, .service-item.active .service-arrow {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateX(5px);
}

/* Right Column: Service Details Card */
.service-details-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 120px;
    transition: var(--transition-medium);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--color-light-bg);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.service-details-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.service-details-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tag {
    background: var(--color-light-bg);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Fade animation for content swapping */
.fade-out {
    opacity: 0;
    transform: translateY(10px);
}
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* --- Omnichannel Social Section --- */
.social-dominance {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.social-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.social-content h2 {
    color: var(--color-white);
}

.social-content p {
    color: rgba(255, 255, 255, 0.9);
}

.social-platforms {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-white);
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-circle:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-5px);
}

/* --- Contact Section --- */
.contact {
    background: var(--gradient-hero) !important;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--color-white);
    padding: 5rem 4rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-image);
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card h2 {
    color: var(--text-main);
}

.contact-desc {
    margin: 0 auto 2rem;
    max-width: 800px;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--color-light-bg);
    padding: 1rem 2rem 1rem 1rem;
    border-radius: 50px;
    transition: var(--transition-medium);
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-pill a {
    color: inherit;
}

.contact-pill:hover {
    background: var(--color-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}

.contact-pill .icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.contact-pill:hover .icon-wrapper {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Form Styles */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    background: #F9FAFB;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(51, 102, 255, 0.1);
}

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

.form-success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: #D1FAE5;
    color: #065F46;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, #0b1121 0%, #1a2333 100%);
    /* Premium dark blue gradient */
    color: #94A3B8;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 1.5rem;
    margin-top: -24px;
    color: var(--color-white);
}

.footer-bio {
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    width: 100%;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    transition: var(--transition-medium);
    font-size: 1.1rem;
    padding-right: 1rem;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    color: var(--color-white);
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-links,
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact-info li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact-info li {
    color: #94A3B8;
    transition: var(--transition-fast);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-info i {
    color: var(--color-primary);
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.mt-2 {
    margin-top: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.7rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #94A3B8;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* --- Basic Animations for Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* --- Results Section --- */
.results {
    background: linear-gradient(135deg, #0f172a 0%, #1a2333 100%) !important;
    position: relative;
    overflow: hidden;
    color: white;
}

.results .section-header h2 {
    color: white;
}

.results .section-header h2 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.results .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Tabs */
.results-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.results-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.results-tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.results-tab-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(51, 102, 255, 0.4);
}

/* Grid */
.results-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 460px));
    justify-content: center;
    gap: 2.5rem;
    animation: fadeIn 0.4s ease forwards;
}

.results-grid.active {
    display: grid;
}

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

/* Cards */
.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.result-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.result-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.result-card:hover .result-img-wrapper img {
    transform: scale(1.05);
}

.result-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 2;
}

.result-tag {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.result-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.result-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.result-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

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

.metric-value {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 800;
}

.metric-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}



/* --- Why Work With Me Section --- */
.why-work-with-me {
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.why-work-with-me::before {
    display: none;
}

.why-work-with-me .container {
    position: relative;
    z-index: 2;
}

.why-work-with-me .section-header {
    margin-bottom: 2.5rem;
    max-width: 1000px;
}

.why-work-with-me h2 {
    color: #0f172a; /* Dark premium navy */
    margin-bottom: 0.5rem;
}

.why-main-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1400px; /* Widened to allow for the larger photo */
    margin: 0 auto;
}

.why-visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.why-image-container {
    position: relative;
    max-width: 580px; /* Further increased for maximum impact */
    width: 100%;
}

.why-profile-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 6px solid white;
    position: relative;
    z-index: 2;
    background: #fdfdfd;
}

.why-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.why-content-side {
    flex: 1;
}

.why-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: white;
    padding: 1.75rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.why-icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.why-icon {
    width: 40px;
    height: 40px;
    background: var(--color-light-bg);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-card h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-main);
}

.why-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(var(--color-primary-rgb), 0.15);
}

@media (max-width: 1024px) {
    .why-main-content {
        flex-direction: column;
        gap: 3.5rem;
    }
    .why-visual-side, .why-content-side {
        width: 100%;
        flex: none;
    }
    .why-image-container {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .why-points-grid {
        grid-template-columns: 1fr;
    }
}

.why-card:hover .why-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px -5px rgba(51, 102, 255, 0.3);
}

.contact {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1a2333 100%) !important;
    color: white;
}

.process-header {
    text-align: center;
    margin-bottom: 2rem;
}

.process-header h2 {
    color: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.process-step {
    position: relative;
    padding: 2.25rem 1.75rem 1.25rem; /* Tighter bottom padding */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-medium);
    overflow: hidden;
}

.process-step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 15rem;
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.04;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px -5px rgba(51, 102, 255, 0.3);
}

.process-step h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    color: white;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

.mb-10 {
    margin-bottom: 2rem;
}

.contact.section-padding {
    padding: 6rem 0;
}

/* Ensure no reveal-based shifting for contact section targets */
.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

#lets-work-together {
    scroll-margin-top: 120px; /* Fallback for precision JavaScript scroll */
}

.contact-cta-card {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.3em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.contact-cta-card h2 {
    color: white;
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.contact-pills-v3 {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.contact-pill-v3 {
    display: inline-flex; /* Changed to inline-flex to shrink to content */
    justify-content: center;
    padding: 0.85rem 2rem; /* Shrunk padding */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px; /* Tighter radius */
    text-decoration: none;
    transition: var(--transition-medium);
}

.pill-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center alignment for label over text */
}

.pill-subtitle {
    display: block;
    font-size: 0.7rem; /* Slower font */
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    margin-bottom: 0.45rem; /* Tighter gap */
    text-align: center;
}

.pill-main-row {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Tighter gap */
}

.contact-pill-v3:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.pill-icon {
    width: 38px;
    height: 38px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(var(--color-primary-rgb), 0.1);
    border-radius: 8px;
}

.pill-main-row p {
    font-size: 1.05rem; /* Shrunk email font */
    color: white;
    margin: 0;
    font-weight: 600;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.btn-cta {
    padding: 1.5rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(51, 102, 255, 0.4);
}

@media (max-width: 768px) {
    .contact-cta-card {
        padding: 2.5rem 1rem;
    }
    
    /* Mobile Fix for Email Overflow */
    .pill-main-row p {
        font-size: 0.82rem; /* Scaled down for mobile */
    }
    
    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-pills-v3 {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }
    
    .contact-pill-v3 {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        box-sizing: border-box;
    }
    
    .pill-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .pill-text p {
        font-size: clamp(0.6rem, 3.2vw, 0.95rem);
        white-space: nowrap;
    }
}
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info, 
    .contact-form {
        padding: 3rem 2rem;
    }

    .contact-form {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition-medium);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}



@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info, 
    .contact-form {
        padding: 3rem 2rem;
    }

    .contact-form {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

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

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #0f172a;
    font-weight: 700;
}

.why-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {

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

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

/* Mobile responsive */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    .results-tab-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .why-work-with-me h2 {
        font-size: 2.3rem;
    }
    .why-card {
        padding: 2rem 1.5rem;
    }
    .why-icon-wrapper {
        align-items: center;
    }
    .why-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) {

    .hero-container,
    .about-container {
        gap: 3rem;
    }

    .social-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-platforms {
        justify-content: center;
    }

    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 860px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

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

    .logo-img {
        height: 75px;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .services-interactive-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-details-card {
        position: relative; /* remove sticky on mobile to avoid overlapping issues */
        top: 0;
        padding: 2.5rem 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero {
        padding: 8rem 0 3rem;
        text-align: center;
    }

    .hero-content {
        display: contents;
    }

    .hero-content h1 {
        order: 1;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        margin: 0.25rem auto 0.25rem;
        width: auto;
    }

    .hero-p-wrap {
        order: 2;
        display: block;
        margin: 0 auto 0.5rem;
        position: relative;
    }

    .hero-arrow-wrap {
        display: none !important;
    }

    .hero-image-wrapper {
        order: 3;
        max-width: 500px;
        margin: -1.5rem auto 0.5rem;
    }

    .hero-cta {
        order: 5;
        justify-content: center;
    }


    .about-images {
        order: 2;
    }

    .about-content {
        order: 1;
        text-align: center;
    }

    .about-content h2 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: left;
        padding: 0 0.5rem;
    }

    .about-text p {
        margin-bottom: 1rem;
    }

    .about-text p:first-of-type {
        font-size: 1.05rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
        text-align: left;
    }

    .about-text-more {
        display: none;
    }

    .about-text-more.expanded {
        display: block;
    }

    .read-more-btn {
        display: inline-flex;
        align-items: center;
        background: transparent;
        border: none;
        color: #93C5FD;
        font-family: inherit;
        font-weight: 600;
        font-size: 1.05rem;
        cursor: pointer;
        padding: 0.5rem 0;
        margin-top: -0.5rem;
        margin-bottom: 1.5rem;
        transition: var(--transition-fast);
    }

    .partner-badge {
        justify-content: center;
    }

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

    .contact-card {
        padding: 0; /* Handled by internal padding in new design */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

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

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .floating-badge {
        width: 100px;
        height: 100px;
        left: -10px;
        bottom: -10px;
        padding: 1rem;
    }

    .floating-badge .number {
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 0;
    }
}