/* VIP Professional Styling - Defendere LLC */

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

:root {
    /* Professional Color Palette */
    --primary-blue: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --accent-blue: #93c5fd;
    --accent-gold: #f59e0b;
    --accent-light: #fbbf24;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --background-white: #ffffff;
    --background-gray: #f8fafc;
    --background-dark: #1f2937;
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --shadow-soft: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--background-white);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Premium Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px var(--shadow-soft);
}

.navbar {
    padding: 1.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo i {
    margin-right: 12px;
    font-size: 2.25rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-logo {
    max-height: 48px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px var(--shadow-soft));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.75rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* VIP Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Premium Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-dark);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.3);
}

.feature i {
    font-size: 4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Premium Services Section */
.services {
    padding: 120px 0;
    background: var(--background-gray);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.8;
}

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

.service-card {
    background: var(--background-white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 40px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

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

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.service-card i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Premium About Section */
.about {
    padding: 120px 0;
    background: var(--background-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.about-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.125rem;
    font-weight: 500;
}

.about-features i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.about-highlights {
    background: linear-gradient(135deg, #f1f5f9 0%, var(--background-gray) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 40px var(--shadow-soft);
}

.about-highlights h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.highlight {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.highlight:hover {
    transform: translateX(8px);
    border-left-color: var(--accent-gold);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.highlight h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.highlight p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Premium Contact Section */
.contact {
    padding: 120px 0;
    background: var(--background-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 40px var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.contact-item i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 1.5rem;
    margin-top: 0.25rem;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
}

.emergency-support {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.emergency-support h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.emergency-support p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Premium Contact Form */
.contact-form {
    background: var(--background-ivory);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 40px var(--shadow-soft);
    border: 1px solid var(--border-crystal);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-obsidian);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-crystal);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--background-ivory);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-royal);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
    background: var(--background-ivory);
}

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

/* reCAPTCHA Styling */
.recaptcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

.form-message {
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 2px solid #22c55e;
}

.form-message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #dc2626;
    border: 2px solid #ef4444;
}

/* Premium Client Logos Section */
.client-logos {
    padding: 100px 0;
    background: white;
    border-top: 1px solid var(--border-silver);
}

.logos-slider {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    background: var(--background-mist);
    border-radius: 20px;
    padding: 2rem 0;
}

.logos-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item {
    flex: 0 0 25%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-silver);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.client-cta {
    text-align: center;
    margin-top: 3rem;
}

.client-cta a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.client-cta a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Premium Chat Button */
.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 3px solid white;
}

.chat-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}

.chat-button i {
    color: var(--primary-navy);
    font-size: 1.75rem;
    font-weight: 600;
}

.chat-window {
    position: fixed;
    bottom: 110px;
    right: 2rem;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-strong);
    display: none;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid var(--border-silver);
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    padding: 2rem;
    background: var(--background-mist);
}

.chat-message p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.chat-note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.chat-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-silver);
    text-align: center;
    background: white;
}

.chat-footer small {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Premium Footer */
.footer {
    background: var(--footer-bg-primary);
    color: var(--footer-text-primary);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--footer-border-accent);
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--footer-text-accent);
    font-size: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--footer-text-primary);
}

.footer-logo i {
    margin-right: 12px;
    font-size: 2.25rem;
    background: linear-gradient(135deg, var(--footer-text-accent) 0%, var(--footer-link-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--footer-text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.7;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--footer-text-secondary);
    transition: all 0.3s ease;
}

.footer-contact .contact-item:hover {
    color: var(--footer-link-hover);
}

.footer-contact .contact-item i {
    margin-right: 0.75rem;
    color: var(--footer-icon-default);
    width: 20px;
    font-size: 1.125rem;
}

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

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

.footer-section ul li a {
    color: var(--footer-link-default);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--footer-link-hover);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-link-default);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-link:hover {
    background: var(--footer-link-hover);
    color: var(--footer-bg-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--footer-text-muted);
    margin: 0;
    font-size: 0.875rem;
}

/* Team Page Styles */
.team-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.team-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.team-hero h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.team-hero p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.team-members {
    padding: 120px 0;
    background: var(--background-smoke);
}

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

.team-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 8px 40px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-silver);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 8px 32px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-mist) 0%, var(--background-smoke) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 4rem;
}

.team-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.team-position {
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: var(--text-slate);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

.team-social a:hover {
    background: var(--gradient-accent);
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.team-projects {
    padding: 120px 0;
    background: white;
}

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

.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-silver);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-mist) 0%, var(--background-smoke) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 4rem;
}

.project-content {
    padding: 2.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.project-content p {
    color: var(--text-slate);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px var(--shadow-soft);
        padding: 3rem 0;
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .logo-item {
        flex: 0 0 50%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        right: 1rem;
        left: 1rem;
        width: auto;
    }
    
    .chat-button {
        right: 1rem;
        bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .services,
    .about,
    .contact,
    .team-members,
    .team-projects {
        padding: 80px 0;
    }
    
    .logo-item {
        flex: 0 0 100%;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
    
    .team-card {
        padding: 2rem 1.5rem;
    }
    
    .project-content {
        padding: 2rem;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .chat-button,
    .chat-window,
    .footer {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
        padding: 2rem 0;
    }
    
    .services,
    .about,
    .contact {
        padding: 2rem 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-navy: #000000;
        --text-charcoal: #000000;
        --border-silver: #000000;
        --shadow-soft: rgba(0, 0, 0, 0.5);
    }
}

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

/* Focus Styles for Accessibility */
*:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}