/* Custom Styles for Nuance Vie Consult */

/* Color Palette */
:root {
    --primary-color: #1e3a8a; /* Deep Blue */
    --secondary-color: #059669; /* Green */
    --accent-color: #f59e0b; /* Amber */
    --light-bg: #f8fafc;
    --dark-bg: #1f2937;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navbar */
.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.85)),
                url('assets/images/hero-bg.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 360px;
    height: 360px;
    background: rgba(59, 130, 246, 0.25);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 320px;
    height: 320px;
    background: rgba(14, 165, 233, 0.2);
    filter: blur(90px);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-section .btn-outline-primary:hover,
.hero-section .btn-outline-primary:focus {
    color: var(--primary-color);
    background: #fff;
    border-color: #fff;
}

.hero-image img {
    max-width: 100%;
    display: block;
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #d3d3d3;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #d3d3d3;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
    background: linear-gradient(135deg, #1d3c7b, #0e7a60);
    color: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(25, 43, 80, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255,255,255,0.18), transparent 35%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(25, 43, 80, 0.22);
}

.team-card-top {
    height: 140px;
    background: linear-gradient(130deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    position: relative;
}

.team-avatar-wrap {
    position: relative;
    margin-top: -70px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.team-avatar,
.team-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.95);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar {
    display: block;
}

.team-placeholder {
    color: #1d3c7b;
    font-size: 2.25rem;
    background: #ffffff;
}

.team-info {
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-name {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.position {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 1rem;
}

.bio {
    min-height: 75px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.team-social {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 0.85rem;
}

.team-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.team-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.team-card:nth-child(4n+1) {
    background: linear-gradient(135deg, #304ffe, #1e88e5);
}

.team-card:nth-child(4n+2) {
    background: linear-gradient(135deg, #d81b60, #8e24aa);
}

.team-card:nth-child(4n+3) {
    background: linear-gradient(135deg, #ff9100, #ff5722);
}

.team-card:nth-child(4n+4) {
    background: linear-gradient(135deg, #7b1fa2, #4527a0);
}

/* Client Logos */
.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .glass-card {
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}