/* Modern Design Enhancements for mannsay */

/* ============================================
   GLOBAL MODERN STYLES
   ============================================ */

:root {
    --teal-primary: #14B8A6;
    --teal-dark: #0D9488;
    --teal-light: #5EEAD4;
    --teal-lighter: #E0F2F1;
    /* Logo-inspired accent colors */
    --coral-accent: #F4A78F;
    --magenta-accent: #D946EF;
    --cyan-accent: #06B6D4;
    --gradient-logo: linear-gradient(135deg, #D946EF 0%, #14B8A6 50%, #06B6D4 100%);
    --gradient-logo-soft: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(20, 184, 166, 0.15), rgba(6, 182, 212, 0.15));
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(20, 184, 166, 0.08);
    --shadow-md: 0 4px 20px rgba(20, 184, 166, 0.12);
    --shadow-lg: 0 8px 30px rgba(20, 184, 166, 0.16);
    --shadow-xl: 0 12px 40px rgba(20, 184, 166, 0.2);
    --shadow-glow: 0 0 25px rgba(217, 70, 239, 0.3);
    --border-radius-modern: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* ============================================
   MODERN NAVBAR
   ============================================ */

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-primary), var(--teal-dark));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-light .navbar-nav .nav-link:hover {
    background: rgba(20, 184, 166, 0.08);
    color: var(--teal-primary) !important;
}

/* ============================================
   MODERN BUTTONS
   ============================================ */

.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-dark) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(20, 184, 166, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-rounded {
    border-radius: 50px;
}

/* ============================================
   MODERN CARDS
   ============================================ */

.modern-card {
    background: white;
    border-radius: var(--border-radius-modern);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(20, 184, 166, 0.1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-primary), var(--teal-dark));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(20, 184, 166, 0.2);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.1);
    border-radius: var(--border-radius-modern);
    padding: 2rem;
}

/* ============================================
   MODERN SHADOWS & DEPTH
   ============================================ */

.shadow-modern-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-modern-md {
    box-shadow: var(--shadow-md);
}

.shadow-modern-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-modern-xl {
    box-shadow: var(--shadow-xl);
}

.shadow-teal {
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.2);
}

/* ============================================
   MODERN ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.5s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   MODERN TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.display-1,
.display-2,
.display-3,
.display-4 {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ============================================
   MODERN FORMS
   ============================================ */

.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    transition: var(--transition-smooth);
    font-size: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    outline: none;
}

.form-floating>label {
    padding: 12px 16px;
    color: #666;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--teal-primary);
}

/* ============================================
   MODERN SERVICE CARDS
   ============================================ */

.service-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(217, 70, 239, 0.08);
    height: 100%;
    position: relative;
}

/* Gradient accent bar at top */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-logo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.service-item:hover::before {
    transform: scaleX(1);
}

/* Subtle glow effect on hover */
.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.03), rgba(20, 184, 166, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(217, 70, 239, 0.12), 0 8px 20px rgba(20, 184, 166, 0.08);
    border-color: rgba(217, 70, 239, 0.15);
}

/* Image container */
.service-item .service-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-item .service-img img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.service-item:hover .service-img img {
    transform: scale(1.08);
}

/* Content section */
.service-item .service-content {
    background: white;
    padding: 1.5rem !important;
    position: relative;
    z-index: 5;
}

.service-item .service-content h5 {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-item:hover .service-content h5 {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item .service-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Button styling */
.service-item .btn-primary {
    background: var(--gradient-logo);
    border: none;
    font-size: 0.85rem;
    padding: 10px 24px;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.25);
}

.service-item .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(217, 70, 239, 0.4);
    transform: translateY(-2px);
}

.service-item .service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-logo);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.3);
}

.service-item:hover .service-icon i {
    color: white !important;
}

/* ============================================
   MODERN STATISTICS CARDS
   ============================================ */

.stat-card-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(224, 242, 241, 0.5));
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-modern);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20, 184, 166, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card-modern:hover::before {
    opacity: 0.05;
}

.stat-card-modern:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stat-card-modern .stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* ============================================
   MODERN HERO SECTION
   ============================================ */

.hero-modern {
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05), rgba(13, 148, 136, 0.05));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   MODERN BADGES & TAGS
   ============================================ */

.badge-modern {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.badge-teal {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    color: white;
}

/* ============================================
   MODERN SECTION SPACING
   ============================================ */

.section-modern {
    padding: 100px 0;
    position: relative;
}

.section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
}

/* ============================================
   MODERN APPOINTMENT FORM
   ============================================ */

.appointment-form-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 241, 0.3));
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-modern);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

/* ============================================
   MODERN DASHBOARD ELEMENTS
   ============================================ */

.dashboard-card {
    background: white;
    border-radius: var(--border-radius-modern);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--teal-primary);
}

.dashboard-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   MODERN LOADING STATES
   ============================================ */

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   MODERN TOPBAR
   ============================================ */

.topbar {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.95), rgba(13, 148, 136, 0.95)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(20, 184, 166, 0.1);
}

/* ============================================
   MODERN FEATURE CARDS
   ============================================ */

.feature-item {
    background: white;
    border-radius: var(--border-radius-modern);
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(20, 184, 166, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-primary), var(--teal-dark));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   MODERN TESTIMONIAL CARDS
   ============================================ */

.testimonial-item {
    background: white;
    border-radius: var(--border-radius-modern);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(20, 184, 166, 0.1);
    position: relative;
}

.testimonial-item::after {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 120px;
    color: rgba(20, 184, 166, 0.1);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Override gradient text for testimonial section title */
.testimonial .section-title h1,
.testimonial .section-title .display-3 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
}

/* ============================================
   MODERN BLOG CARDS
   ============================================ */

.blog-item {
    background: white;
    border-radius: var(--border-radius-modern);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-item:hover .blog-img img {
    transform: scale(1.1);
}

.blog-item .blog-img {
    overflow: hidden;
}

.blog-item .blog-img img {
    transition: var(--transition-smooth);
}

/* ============================================
   MODERN TEAM CARDS
   ============================================ */

.team-item {
    background: white;
    border-radius: var(--border-radius-modern);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.team-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-item .team-img {
    overflow: hidden;
}

.team-item:hover .team-img img {
    transform: scale(1.1);
}

.team-item .team-img img {
    transition: var(--transition-smooth);
}

/* ============================================
   MODERN RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 768px) {
    .modern-card {
        padding: 1.5rem;
    }

    .section-modern {
        padding: 60px 0;
    }

    .stat-card-modern .stat-number {
        font-size: 2rem;
    }

    .navbar {
        padding: 0.5rem 0 !important;
    }
}

/* ============================================
   MODERN SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-dark);
}

/* ============================================
   MODERN FOCUS STATES
   ============================================ */

*:focus-visible {
    outline: 2px solid var(--teal-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   MODERN GRADIENT TEXT
   ============================================ */

.gradient-text {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   MODERN HOVER EFFECTS
   ============================================ */

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: var(--transition-smooth);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: var(--transition-smooth);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

/* ============================================
   FLOATING WELLNESS CHECK CTA
   ============================================ */

.wellness-floating-cta {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wellness-floating-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wellness-floating-cta a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--gradient-logo);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    animation: pulse-glow 2s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.wellness-floating-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(217, 70, 239, 0.5), var(--shadow-xl);
    color: white;
}

.wellness-floating-cta a i {
    font-size: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: var(--shadow-glow), var(--shadow-lg);
    }

    50% {
        box-shadow: 0 0 35px rgba(217, 70, 239, 0.5), var(--shadow-xl);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.15);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    70% {
        transform: scale(1);
    }
}

/* ============================================
   WELLNESS CHECK SECTION ENHANCEMENT
   ============================================ */

.mental-test {
    position: relative;
    overflow: hidden;
}

.mental-test::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-logo);
    animation: shimmer-gradient 3s ease-in-out infinite;
}

@keyframes shimmer-gradient {

    0%,
    100% {
        opacity: 1;
        background-position: 0% 50%;
    }

    50% {
        opacity: 0.8;
        background-position: 100% 50%;
    }
}

.mental-test .section-title {
    text-align: center;
}

.mental-test .section-title::after {
    margin: 1rem auto;
}

.mental-test .section-title h1 {
    position: relative;
    display: inline-block;
    animation: float-gentle 4s ease-in-out infinite;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.mental-test .section-title h4 {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.wellness-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    background: var(--gradient-logo);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    animation: badge-float 3s ease-in-out infinite, fadeInScale 0.6s ease-out;
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: var(--shadow-glow);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 0 35px rgba(217, 70, 239, 0.5);
    }
}

.wellness-badge i {
    font-size: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

/* ============================================
   NAVBAR LOGO TRANSPARENCY
   ============================================ */

.navbar-brand img,
.navbar .img-1,
.footer img.img {
    background-color: transparent !important;
    background: transparent !important;
}

/* ============================================
   GRADIENT ACCENT UTILITIES
   ============================================ */

.gradient-logo-text {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-logo-bg {
    background: var(--gradient-logo);
}

.gradient-logo-border {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-logo) border-box;
}

/* Card accent hover with logo gradient */
.card-accent-hover {
    position: relative;
    overflow: hidden;
}

.card-accent-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-logo);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-accent-hover:hover::after {
    transform: scaleX(1);
}

/* ============================================
   MINIMAL AESTHETIC REFINEMENTS
   ============================================ */

/* Softer section backgrounds */
.bg-light {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%) !important;
}

/* Cleaner card borders */
.service-item,
.feature-item,
.testimonial-item,
.team-item {
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Subtle hover glow effect with logo colors */
.service-item:hover,
.feature-item:hover {
    box-shadow: 0 12px 40px rgba(217, 70, 239, 0.08), var(--shadow-lg);
}

/* More whitespace in sections */
.container-fluid.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Smoother transitions globally */
a,
button,
.btn {
    transition: all 0.25s ease;
}

/* Accent line for section headers */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-logo);
    margin: 1rem 0;
    border-radius: 2px;
}

/* ============================================
   ENHANCED ANIMATIONS
   ============================================ */

/* Staggered fade-in for cards */
.service-item,
.feature-item,
.testimonial-item,
.team-item {
    animation: card-appear 0.6s ease-out backwards;
}

.service-item:nth-child(1),
.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2),
.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3),
.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4),
.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Icon hover animations */
.service-item i,
.feature-item i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover i,
.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--magenta-accent) !important;
}

/* Smooth image zoom on hover */
.service-item img,
.team-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button ripple effect enhancement */
.btn-primary:active {
    transform: scale(0.98);
}

/* Progress bar animation for wellness check */
.mental-test .progress-fill {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-logo) !important;
    background-size: 200% 100%;
    animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Option card hover in wellness check */
.mental-test .option-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mental-test .option-card:hover {
    transform: translateX(8px);
    border-color: var(--magenta-accent);
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.15);
}

.mental-test .option-card.selected {
    border-color: var(--magenta-accent);
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.08), rgba(20, 184, 166, 0.08));
}

/* Hero text animations */
.hero-main-title .title-line-1,
.hero-main-title .title-line-2 {
    animation: text-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-main-title .title-line-2 {
    animation-delay: 0.2s;
}

@keyframes text-reveal {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Back to top button animation */
.back-to-top {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Mode Badge in Hero */
.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-left: 10px;
    animation: fadeInMode 1s ease-out forwards;
}

.mode-badge i {
    color: #5eead4;
    font-size: 0.9rem;
}

@keyframes fadeInMode {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .mode-badge {
        display: flex;
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Our Centre Section */
.centre-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.centre-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.centre-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 400px;
    /* Fixed height for consistency */
}

.centre-image-card:hover {
    transform: translateY(-5px);
}

.centre-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.centre-image-card:hover img {
    transform: scale(1.05);
}

.centre-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
    border-radius: 20px;
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.centre-info h3 {
    color: #134e4a;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.centre-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.centre-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d9488;
    font-weight: 600;
}

.centre-feature i {
    background: rgba(20, 184, 166, 0.1);
    padding: 8px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .centre-grid {
        grid-template-columns: 1fr;
    }

    .centre-image-card {
        height: 300px;
    }
}

/* Mode Badge in Hero (Redesigned - Teal Theme) */
.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(13, 148, 136, 0.15) 100%);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #ccfbf1;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    margin-left: 10px;
    animation: fadeInMode 1s ease-out forwards;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.1);
}

.mode-badge i {
    color: #5eead4;
    font-size: 0.9rem;
}

@keyframes fadeInMode {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .mode-badge {
        display: flex;
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Our Centre Section (Redesigned - Overlapping Layout) */
.centre-section-new {
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.centre-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.c-feature-item .icon-box {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.1);
    flex-shrink: 0;
}

.c-feature-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #134e4a;
    margin-bottom: 4px;
}

/* Visual Composition */
.centre-visual-composition {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.composition-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.05);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-main {
    position: absolute;
    width: 65%;
    /* Constrained width */
    height: 320px;
    /* Constrained height */
    top: 0;
    left: 10%;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlap {
    position: absolute;
    width: 50%;
    /* Smaller overlapping image */
    height: 220px;
    bottom: 20px;
    right: 5%;
    z-index: 3;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.image-overlap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge-centre {
    position: absolute;
    bottom: 60px;
    left: 5%;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 4;
    font-weight: 600;
    color: #0d9488;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 991px) {
    .centre-visual-composition {
        height: 400px;
        margin-top: 40px;
    }

    .image-main {
        width: 70%;
        left: 50%;
        transform: translateX(-60%);
    }

    .image-overlap {
        right: 50%;
        transform: translateX(80%);
    }
}

@media (max-width: 576px) {
    .centre-visual-composition {
        height: auto;
        min-height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 20px 0;
    }

    .image-main {
        position: relative !important;
        width: 90% !important;
        max-width: 320px !important;
        height: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .image-main img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 16px;
    }

    .image-overlap {
        position: relative !important;
        width: 85% !important;
        max-width: 300px !important;
        height: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .image-overlap img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 16px;
    }

    .composition-circle {
        display: none !important;
    }

    .floating-badge-centre {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin: 5px auto 0 !important;
        background: white;
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Founder Spotlight Centered Layout */
.founder-spotlight-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

.founder-info-centered {
    max-width: 600px;
    margin-top: 30px;
}

.founder-info-centered h3 {
    font-family: 'Playfair Display', serif;
    color: #134e4a;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.founder-info-centered .role {
    color: #a855f7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.founder-info-centered .bio {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 25px;
}

.founder-info-centered .expertise {
    background: #faf5ff;
    padding: 15px;
    border-left: 4px solid #a855f7;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 20px;
}

/* Team Section Styles Restoration */

/* Founder Spotlight Layout */
.founder-spotlight {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.team-blob-card {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-c {
    width: 280px;
    height: 280px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: blobMorph 8s infinite linear;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
    border: 4px solid rgba(168, 85, 247, 0.5);
    position: relative;
}

.blob-c img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Slight zoom to cover edges */
    transition: transform 0.5s ease;
}

.team-blob-card:hover .blob-c {
    border-radius: 50%;
    transform: scale(1.02);
}

.team-blob-card:hover img {
    transform: scale(1.15);
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

.founder-size {
    width: 300px;
    height: 300px;
}

/* Founder Info */
.founder-info {
    flex: 1;
}

.founder-info h3 {
    font-family: 'Playfair Display', serif;
    color: #134e4a;
    font-size: 2rem;
    margin-bottom: 10px;
}

.founder-info .role {
    color: #a855f7;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.founder-info .bio {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 25px;
}

.expertise {
    background: #faf5ff;
    padding: 15px;
    border-left: 4px solid #a855f7;
    border-radius: 4px;
    font-size: 0.95rem;
}

.founder-socials {
    display: flex;
    gap: 15px;
}

.founder-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    transition: all 0.3s ease;
}

.founder-socials a:hover {
    background: linear-gradient(135deg, #a855f7, #d946ef);
    color: white;
    transform: translateY(-3px);
}

/* Interns Grid */
.team-subsection-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-subsection-header h4 {
    font-family: 'Playfair Display', serif;
    color: #1f2937;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.team-subsection-header h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #14b8a6;
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: transparent;
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-10px);
}

.team-member-card .blob-c {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.2);
}

.member-info h5 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-info .role {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .founder-spotlight {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .founder-info h3 {
        font-size: 1.8rem;
    }

    .founder-socials {
        justify-content: center;
    }

    .expertise {
        text-align: left;
    }
}