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

:root {
    /*  */
    --dark-blue: #025E73;
    --primary-blue: #037F8C;
    --background-grey: #E9F1F2;
    --text-char: #3F403B;
    --text-black: #0D0D0D;
    --warm-white: #fefffe;
    --connection-color: rgba(0, 200, 150, 0.1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Layout */
    --max-width: 800px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-subtle: 0 2px 8px rgba(0, 200, 150, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 200, 150, 0.12);
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--background-grey) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 200, 150, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 143, 107, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(125, 211, 192, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

/* Animated background representing interconnectedness */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.8;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--background-grey), rgba(82, 164, 71, 0.3));
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(82, 164, 71, 0.2);
}

.circle-1 {
    width: 180px;
    height: 180px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 55%;
    right: 12%;
    animation-delay: -8s;
}

.circle-3 {
    width: 90px;
    height: 90px;
    bottom: 25%;
    left: 65%;
    animation-delay: -16s;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dark-blue), var(--primary-blue), transparent);
    opacity: 0.2;
    animation: pulse 10s ease-in-out infinite;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(82, 164, 71, 0.3);
}

.line-1 {
    width: 280px;
    top: 32%;
    left: 18%;
    transform: rotate(28deg);
    animation-delay: -3s;
}

.line-2 {
    width: 220px;
    bottom: 40%;
    right: 20%;
    transform: rotate(-42deg);
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    33% {
        transform: translateY(-30px) rotate(120deg) scale(1.1);
        opacity: 0.25;
    }
    66% {
        transform: translateY(15px) rotate(240deg) scale(0.9);
        opacity: 0.2;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
        transform: scaleX(1) scaleY(1);
    }
    25% {
        opacity: 0.3;
        transform: scaleX(1.3) scaleY(1.2);
    }
    50% {
        opacity: 0.4;
        transform: scaleX(1.6) scaleY(0.8);
    }
    75% {
        opacity: 0.25;
        transform: scaleX(1.1) scaleY(1.5);
    }
}

/* Main content */
.content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    max-width: var(--max-width);
    width: 100%;
    box-shadow: 
        0 20px 60px rgba(0, 200, 150, 0.15),
        0 8px 25px rgba(0, 200, 150, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 200, 150, 0.2);
    text-align: left;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 70px rgba(0, 200, 150, 0.2),
        0 10px 30px rgba(0, 200, 150, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Business header */
.business-header {
    margin-bottom: var(--space-xl);
}

.business-name {
    font-size: 2.8rem;
    font-weight: var(--font-weight-semibold);
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue), var(--text-char));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    animation: shimmer 3s ease-in-out infinite alternate;
}

.business-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--text-char), var(--dark-blue));
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes shimmer {
    0% {
        filter: brightness(1) contrast(1);
    }
    100% {
        filter: brightness(1.1) contrast(1.05);
    }
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-char);
    font-weight: var(--font-weight-medium);
    max-width: 600px;
    margin: 0 0 var(--space-lg) 0;
    line-height: 1.5;
}

.approach {
    font-size: 0.9rem;
    color: var(--text-char);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    max-width: 650px;
    margin: 0;
    opacity: 0.9;
    text-align: left;
    margin-bottom: var(--space-sm);
}

/* Consultant info */
.consultant-info {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
    position: relative;
}

.consultant-info::before,
.consultant-info::after {
    content: '';
    position: absolute;
    left: 0;
    height: 1px;
    width: 60%;
    background: linear-gradient(90deg, var(--dark-blue), var(--background-grey), transparent);
    opacity: 0.4;
}

.consultant-info::before {
    top: 0;
}

.consultant-info::after {
    bottom: 0;
}

.consultant-name {
    font-size: 1.75rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-char);
    margin-bottom: var(--space-xs);
}

.role {
    font-size: 1rem;
    color: var(--text-char);
    font-weight: var(--font-weight-regular);
}

/* Contact section */
.contact-section {
    margin-bottom: var(--space-lg);
}

.contact-heading {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
}

.contact-links {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    color: var(--text-char);
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.08), rgba(125, 211, 192, 0.12));
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(0, 200, 150, 0.15);
    min-width: 140px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.1);
}

.contact-link::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.6s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 200, 150, 0.25),
        0 4px 15px rgba(0, 200, 150, 0.2);
    border-color: var(--background-grey);
}

/* Specific styling for each contact type with modern colors */
.email-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
}

.linkedin-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
}

.twitter-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: scale(1.1);
}

/* Footer */
.site-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(82, 164, 71, 0.15);
}

.site-footer p {
    font-size: 0.875rem;
    color: var(--dark-blue);
    font-weight: var(--font-weight-regular);
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 768px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
    }
    
    .container {
        padding: var(--space-md);
    }
    
    .content {
        padding: var(--space-xl);
    }
    
    .business-name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .consultant-name {
        font-size: 1.5rem;
    }
    
    .contact-links {
        gap: var(--space-md);
    }
    
    /* Adjust background elements for tablet */
    .circle-1 {
        width: 80px;
        height: 80px;
    }
    
    .circle-2 {
        width: 60px;
        height: 60px;
    }
    
    .circle-3 {
        width: 40px;
        height: 40px;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    :root {
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.25rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
    }
    
    .container {
        padding: var(--space-sm);
        align-items: flex-start;
        padding-top: var(--space-lg);
    }
    
    .content {
        padding: var(--space-lg);
    }
    
    .business-name {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .tagline {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .consultant-name {
        font-size: 1.375rem;
    }
    
    .role {
        font-size: 0.9rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .contact-link {
        width: 100%;
        max-width: 200px;
    }
    
    /* Simplify background on mobile */
    .circle {
        opacity: 0.05;
    }
    
    .connection-line {
        opacity: 0.08;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .circle,
    .connection-line,
    .contact-link {
        animation: none;
    }
    
    .contact-link:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #1a3d16;
        --accent-green: #2d5a27;
        --text-dark: #000000;
        --text-medium: #333333;
    }
    
    .content {
        border: 2px solid var(--primary-green);
    }
    
    .contact-link {
        border: 1px solid var(--primary-green);
    }
}