@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    /* Premium Palette - McKinsey Inspired */
    --primary-navy: #051C2C;
    /* Deep Navy - Strong, authoritative */
    --primary-white: #FFFFFF;
    /* Crisp White */
    --primary-black: #000000;
    /* Pure Black for text */
    --accent-blue: #005EB8;
    /* Professional Blue for primary actions */
    --bg-light: #F4F4F4;
    /* Subtle Light Gray for section contrast */
    --text-main: #333333;
    /* Dark Gray for readability */
    --text-light: #555555;
    /* Medium Gray for secondary text */
    --border-color: #E0E0E0;
    /* Light border */

    /* Typography */
    --font-heading: 'Fira Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing & Layout */
    --container-width: 1400px;
    --section-spacing: 120px;
    --element-spacing: 40px;

    /* Components */
    --border-radius: 0px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* ============================================
   PREMIUM ANIMATIONS
   ============================================ */

/* Button shine sweep effect */
@keyframes btnShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Floating animation */
@keyframes float {

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

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

/* Pulse glow for CTAs */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    }

    50% {
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.6);
    }
}

/* Gradient border animation */
@keyframes borderGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Scroll reveal - fade up */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale in with fade */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shimmer text effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Icon bounce */
@keyframes iconBounce {

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

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

/* Gradient pulse background */
@keyframes gradientPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Rotate in */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Line expand */
@keyframes lineExpand {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 24px;
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    color: var(--primary-navy);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--primary-navy);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

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

.btn:hover {
    background: var(--primary-navy);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 28, 44, 0.2);
}

.btn-schedule {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-white);
    border: 1px solid var(--accent-blue);
    padding: 10px 20px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    /* Slight background for visibility */
}

/* Ensure button is visible when header is white */
.site-header.scrolled .btn-schedule,
body.light-header .site-header .btn-schedule {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
    background: transparent;
}

.btn-schedule:hover {
    background: var(--accent-blue);
    color: var(--primary-white);
    border-color: var(--accent-blue);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #0066cc);
    color: var(--primary-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    font-weight: 600;
    animation: pulseGlow 3s ease infinite;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0066cc, #004a94);
    border-color: transparent;
    color: var(--primary-white);
    box-shadow: 0 10px 35px rgba(0, 102, 204, 0.5);
    transform: translateY(-4px) scale(1.02);
    animation: none;
}

/* Header - Sticky & Transparent Logic */
.site-header {
    background: rgba(255, 255, 255, 0.15);
    /* Light neutral transparent glass */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

/* Sticky State */
.site-header.scrolled {
    background: var(--primary-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    /* Shrink slightly */
}

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

/* Logo Styling */
.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Make logo white for dark header */
    transition: filter 0.3s ease;
}

.site-header.scrolled .logo img,
body.light-header .site-header .logo img {
    filter: none;
    /* Revert to original dark logo when header is white or on light pages */
}

/* Nav Links Color Transition */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 40px;
    margin: 0;
    /* Ensure no default margin interferes */
}

.nav-list a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    /* Medium weight like the image */
    color: var(--primary-white) !important;
    /* White text for dark background */
    position: relative;
    text-transform: capitalize;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 10px 0;
}

.site-header.scrolled .nav-list a {
    color: var(--primary-navy) !important;
    /* Force Navy text when header is white */
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-white);
    /* White for glassmorphism */
}

.site-header.scrolled .mobile-menu-toggle {
    color: var(--primary-navy);
}

/* Mobile Menu Contrast Fix */
@media (max-width: 768px) {
    .nav-list a {
        color: var(--primary-white) !important;
        /* Always white on mobile menu (Navy background) */
    }
}

/* Hero Section - Padding for fixed header */
.hero-section {
    position: relative;
    height: 100vh;
    /* Full screen impact */
    min-height: 600px;
    background-color: var(--primary-navy);
    overflow: hidden;
    color: var(--primary-white);
}

.hero-slider,
.slide {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 28, 44, 0.85) 0%, rgba(5, 28, 44, 0.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    margin-left: 80px;
    padding-top: 80px;
    /* Offset for fixed header */
}

.slide-content h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-shadow: none;
    color: white;
}

/* Tabs Interface (New) */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-light);
    padding-bottom: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-navy);
}

.tab-btn.active {
    color: var(--primary-navy);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-blue);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid (within tabs) */
.services-section {
    padding: var(--section-spacing) 0;
    background: var(--primary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-card {
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-image {
    margin-bottom: 30px;
    overflow: hidden;
    height: 250px;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 102, 204, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent-blue);
}

/* About, Stats, Footer etc (Unchanged but ensuring compatibility) */
.about-section {
    padding: var(--section-spacing) 0;
    background: var(--primary-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.sub-heading {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 30px;
    display: block;
    font-weight: 600;
}

.stats-section {
    background: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 10px;
}

.site-footer {
    background: var(--primary-navy);
    color: var(--primary-white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h3 {
    color: var(--primary-white);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-col a,
.footer-col p {
    color: #aab2b7;
    font-size: 0.95rem;
}

/* Contact Page Specifics (Non-transparent header logic handled via additional class potentially, or generic check) */
/* Contact Page Specifics */
/* Body with light header needs padding so content isn't hidden behind the fixed header */
body.light-header {
    padding-top: 160px;
    /* Increased from 100px to ensure ample clearance */
}

/* Contact Page Specifics */
body.light-header .site-header {
    background: rgba(255, 255, 255, 0.2);
    /* Light neutral transparent glass */
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Old light-header nav rules removed - moved to end of file for specificity */

/* Force black nav text on light-header pages */
body.light-header .site-header .nav-list a,
body.light-header .site-header .nav-list a:link,
body.light-header .site-header .nav-list a:visited,
body.light-header .site-header .nav-list a:hover,
body.light-header .site-header .nav-list a:active {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.light-header .mobile-menu-toggle {
    color: #000000;
}

.contact-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: white;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 28, 44, 0.7);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    color: white;
}

.breadcrumbs {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Form Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    /* Optional shadow if needed, live site is clean */
}

/* Form Controls matching live site feel */
.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent-blue);
    background: #fff;
    outline: none;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Social Icons */
.social-icon-square {
    width: 40px;
    height: 40px;
    background: #69727d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* Slightly rounded per live request visually, or strictly square if preferred */
    font-size: 1.2rem;
    transition: background 0.3s;
}

.social-icon-square:hover {
    background: var(--primary-navy);
}

/* Contact Info Grid */
.stats-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: #F8F9FA;
    /* Light grey box */
    border-radius: 4px;
    /* Soft radius */
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-top: 3px solid transparent;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
    border-top-color: var(--accent-blue);
}

.stat-item h4,
.stat-title {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-title {
    color: var(--accent-blue);
}

.stat-item p,
.stat-item a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

/* Hover Effect matching live site */
.blue-hover:hover {
    background-color: var(--accent-blue) !important;
}

.blue-hover:hover h4,
.blue-hover:hover .stat-title,
.blue-hover:hover p,
.blue-hover:hover a {
    color: white !important;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 0;
}

.form-control {
    background: #fdfdfd;
    border: 1px solid #ddd;
    color: #495057;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

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

    .about-container,
    .why-choose-section .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

/* Team Section (McKinsey Style) */
.team-section {
    padding: var(--section-spacing) 0;
    background: #f9f9f9;
}

.team-heading {
    text-align: center;
    margin-bottom: 60px;
}

.team-heading h2 {
    font-family: var(--font-body);
    /* McKinsey uses sans-serif for section headers usually, or bold serif. Sticking to current mix */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    color: var(--primary-black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.team-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.team-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.team-card:hover .team-img-wrapper {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(0, 94, 184, 0.2);
}

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

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.team-card:hover h3 {
    color: var(--accent-blue);
}

.team-name {
    font-family: var(--font-heading);
    /* Serif */
    font-size: 1.75rem;
    color: var(--primary-navy);
    /* Or black/dark grey */
    margin-bottom: 8px;
    font-weight: 600;
}

.team-role {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.team-bio {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.team-contact {
    color: var(--accent-blue);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.team-contact:hover {
    color: var(--primary-navy);
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .nav-list {
        display: none;
    }

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

    .slide-content h1 {
        font-size: 3rem;
    }

    .slide-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tabs-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* --- CRITICAL VISIBILITY FIX FOR LIGHT HEADER PAGES (About, Services) --- */
/* Placed at the end to ensure cascade priority */

html body.light-header .site-header .nav-list a,
html body.light-header .site-header .nav-list a:link,
html body.light-header .site-header .nav-list a:visited,
html body.light-header .site-header .nav-list a.active {
    color: #000000 !important;
    /* Solid black text - stable */
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html body.light-header .site-header .nav-list a:hover {
    color: var(--accent-blue) !important;
    /* Blue accent on hover */
}

/* Ensure mobile menu toggle is also visible */
html body.light-header .mobile-menu-toggle {
    color: #000000 !important;
}

/* On mobile menu OPEN, keep dark text */
@media (max-width: 768px) {
    html body.light-header .nav-list a {
        color: #000000 !important;
    }
}

/* 
   --------------------------------------------------
   New (Static) Hero Section for "Demand, Stock, Balance"
   -------------------------------------------------- 
*/

.hero-section {
    position: relative;
    /* Use a rich gradient or solid navy background */
    background: radial-gradient(circle at 70% 50%, #0a2e46 0%, var(--primary-navy) 70%);
    min-height: 85vh;
    /* slightly shorter than full 100vh if desired, or keep 100vh */
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--primary-white);
}

.hero-container-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* Ensure container guidelines are met */
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Left Column: Text --- */
.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    /* above potential background elements */
}

/* Bigger, bolder headline */
.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-white);
    letter-spacing: -0.02em;
}

/* Sub-headline / Description */
.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 540px;
}

.hero-text strong {
    color: var(--primary-white);
    /* make keywords pop properly */
    font-weight: 700;
    border-bottom: 2px solid var(--accent-blue);
    /* subtle underline emphasis */
}

/* --- Right Column: Animated Visual --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 600px;
    /* fixed height area for the animation */
}

/* 
   3 Pillars Concept 
   We'll arrange them on a "platform" or floating.
*/
.pillars-container {
    display: flex;
    align-items: flex-end;
    /* align bottoms */
    gap: 40px;
    /* space between pillars */
    position: relative;
    padding-bottom: 40px;
}

.pillar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* The Pillar Content */
.pillar {
    width: 100px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    box-shadow:
        inset 2px 2px 5px rgba(255, 255, 255, 0.8),
        inset -2px -2px 5px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3);
    /* depth */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
    position: relative;
    transition: all 0.3s ease;
}

/* Pillar Label Text */
.pillar span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    /* fix reading direction */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-navy);
    white-space: nowrap;
    opacity: 0.8;
}

/* Specific Pillar Heights / Animations */
.pillar.demand {
    height: 280px;
    animation: floatPillar 6s ease-in-out infinite;
    background: linear-gradient(135deg, #FF9F43, #FFC078);
}

.pillar.stock {
    height: 380px;
    animation: floatPillar 6s ease-in-out infinite 1s;
    /* delayed */
    background: linear-gradient(135deg, #0ABDE3, #48DBFB);
}

.pillar.balance {
    height: 320px;
    animation: floatPillar 6s ease-in-out infinite 2s;
    /* delayed */
    background: linear-gradient(135deg, #1DD1A1, #55E6C1);
}

/* Base/Shadow beneath pillars for "floating" feel */
.pillar-base {
    width: 80px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    filter: blur(5px);
    animation: shadowScale 6s ease-in-out infinite;
}

.pillar.stock+.pillar-base {
    animation-delay: 1s;
}

.pillar.balance+.pillar-base {
    animation-delay: 2s;
}


/* Keyframes */
@keyframes floatPillar {

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

    50% {
        transform: translateY(-20px);
        /* Move Up */
    }
}

@keyframes shadowScale {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(0.8);
        /* Shadow shrinks when object moves up */
        opacity: 0.1;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-container-new {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-text {
        margin-bottom: 60px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        height: auto;
        /* let it adapt */
        width: 100%;
    }

    .pillars-container {
        gap: 20px;
    }

    .pillar {
        width: 70px;
    }

    .pillar.demand {
        height: 200px;
    }

    .pillar.stock {
        height: 280px;
    }

    .pillar.balance {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .pillar {
        width: 50px;
    }

    .pillar span {
        font-size: 0.9rem;
    }
}

/* 
   --------------------------------------------------
   The Hansei Way Section
   -------------------------------------------------- 
*/

.hansei-way-section {
    padding: var(--section-spacing) 0;
    background-color: #f8f9fa;
    /* Light grey background for contrast */
    position: relative;
    overflow: hidden;
}

.hansei-header {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.hansei-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Japanese Character Styling */
.japanese-char {
    display: inline-block;
    color: var(--accent-blue);
    font-family: "Noto Serif JP", serif;
    /* Fallback to serif if font not loaded */
    font-weight: 700;
    margin-left: 15px;
    opacity: 0.9;
}

/* Optional: Watermark effect behind title if desired
.hansei-way-section::before {
    content: '反省';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20rem;
    color: rgba(0,0,0,0.03);
    z-index: 0;
    font-family: serif;
    pointer-events: none;
}
*/

.divider-center {
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    margin: 0 auto 30px;
}

.hansei-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hansei-header .lead {
    font-size: 1.25rem;
    color: var(--primary-navy);
    font-weight: 500;
}

/* Cards Grid */
.hansei-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hansei-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hansei-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-blue);
}

/* Gradient shine on hover */
.hansei-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 94, 184, 0.05), transparent);
    transition: left 0.6s ease;
}

.hansei-card:hover::before {
    left: 100%;
}

.hansei-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border-top-color: var(--accent-blue);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 94, 184, 0.15), rgba(0, 94, 184, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-blue);
    font-size: 2rem;
    transition: all 0.4s ease;
}

/* Icon pulse on hover */
.hansei-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 94, 184, 0.2);
}

@keyframes iconBounce {

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

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

.hansei-card:hover .icon-circle i {
    animation: iconBounce 0.8s ease infinite;
}

.hansei-card:hover .icon-circle {
    background: var(--accent-blue);
    color: white;
}

.hansei-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.hansei-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hansei-header h2 {
        font-size: 3rem;
    }

    .hansei-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 
   --------------------------------------------------
   Animations & Micro-interactions
   -------------------------------------------------- 
*/

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

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

/* Staggered Delays for Grid Items */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

/* Subtle reveal animation - doesn't hide content, just adds polish */
@keyframes subtleReveal {
    from {
        opacity: 0.7;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-white);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
}

.page-transition-overlay.fade-out {
    opacity: 0;
}

/* Hero Parallax Effect */
.contact-hero,
.hero-section {
    background-attachment: fixed;
    /* Simple parallax for bg images */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Counter Animation Style */
.stat-item .stat-number {
    display: inline-block;
    min-width: 60px;
    /* Prevent jitter during count */
}

/* 
   --------------------------------------------------
   Hero Redesign Styles (Orbit, CTA, Typography)
   -------------------------------------------------- 
*/

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-badge .dot {
    height: 8px;
    width: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--accent-orange);
}

/* Hero Typography Updates */
/* Hero Container Adjustment */
.hero-container {
    padding-top: 220px;
    /* Increased padding to prevent overlap */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Hero Stats Fix */
.hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent white */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    min-width: unset;
    /* Override previous min-width if needed */
}

.hero-stats .stat-item .stat-number {
    font-size: 1.8rem;
    color: var(--primary-white);
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-stats .stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-white);
    /* Fix readability on dark bg */
}

.text-highlight {
    color: var(--accent-orange);
    background: none;
    -webkit-text-fill-color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Orbiting Visual Animation */
.orbit-system {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.central-node {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1a3c5a 0%, #051C2C 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    /* Circle but looks like square with rounded corners in design? Image shows circle */
    /* Wait, image shows "HanSEI" in a circle with Kanji */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.central-node .kanji {
    font-size: 2.5rem;
    color: var(--accent-orange);
    font-weight: 700;
}

.orbit-circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle rings */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-1 {
    width: 200px;
    height: 200px;
}

.circle-2 {
    width: 350px;
    height: 350px;
}

.circle-3 {
    width: 500px;
    height: 500px;
}

/* Orbiting Items */
.orbiting-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(5, 28, 44, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* Squircle shape from image */
    backdrop-filter: blur(10px);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.orbiting-item span {
    font-size: 0.8rem;
    color: #fff;
    margin-top: 10px;
    line-height: 1.2;
}

.orbiting-item .icon-box {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Specific Item Styles */
.item-supply {
    top: 10%;
    /* Adjust positions to match static image layout roughly */
    right: 15%;
    border-color: rgba(65, 105, 225, 0.3);
}

.item-supply .icon-box {
    color: #4169E1;
}

.item-sales {
    bottom: 20%;
    left: 0;
    border-color: rgba(46, 204, 113, 0.3);
}

.item-sales .icon-box {
    color: #2ecc71;
}

.item-service {
    bottom: 10%;
    right: 5%;
    border-color: rgba(243, 156, 18, 0.3);
}

.item-service .icon-box {
    color: #f39c12;
}

/* Optional: Add gentle float animation to items */
@keyframes floatOrbit {

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

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

.orbiting-item {
    animation: floatOrbit 4s ease-in-out infinite;
}

.item-sales {
    animation-delay: 1s;
}

.item-service {
    animation-delay: 2s;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .orbit-system {
        transform: scale(0.8);
        margin-top: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        /* Reduce container padding */
    }

    /* Fixed Feedback Button */
    .feedback-btn {
        position: fixed;
        right: -2px;
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
        transform-origin: right bottom;
        background: #3AB0B9;
        color: white;
        border: none;
        padding: 10px 20px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        cursor: pointer;
        z-index: 999;
        border-radius: 5px 5px 0 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
        .feedback-btn {
            display: none;
            /* Hide on mobile to prevent overlap */
        }
    }

    .logo img {
        height: 32px;
        /* Smaller logo */
    }

    .main-nav {
        gap: 10px;
        /* Reduce gap between items */
    }

    /* Previously hidden, now showing for "continuous visibility" */
    .btn-schedule {
        display: block;
        padding: 8px 12px;
        margin-left: auto;
        margin-right: 10px;
    }

    .desktop-text {
        display: none;
        /* Hide "Discussion" on mobile */
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        margin-left: 0;
        padding: 5px;
        font-size: 1.5rem;
        /* Larger touch target */
        color: var(--primary-navy);
        z-index: 1001;
        /* Above menu */
        position: relative;
    }

    /* Ensure toggle is white on dark header */
    .site-header:not(.scrolled) .mobile-menu-toggle {
        color: white;
    }

    /* Full Screen Mobile Menu */
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 28, 44, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        gap: 30px;
        display: none;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list a {
        color: #ffffff !important;
        font-size: 1.5rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        width: 100%;
        text-align: center;
    }

    /* Adjust Orbit System for mobile */
    .orbit-system {
        width: 300px;
        height: 300px;
        display: none;
    }

    .circle-3 {
        display: none;
    }

    /* Industries Tabs */
    .tabs-nav {
        justify-content: center;
    }

    .tab-btn {
        flex: 1 1 auto;
        text-align: center;
        min-width: 120px;
    }

    /* Hero Section Mobile Fixes */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn-secondary {
        margin-left: 0 !important;
        text-align: center;
        width: 100%;
        display: block;
    }

    .btn-schedule {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .stat-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .stat-number {
        font-size: 2rem !important;
    }
}

/* Extra Small Devices (Phone Portrait) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
        /* Prevent overflow */
        line-height: 1.2;
    }

    /* Scale down pillars container */
    .pillars-container {
        transform: scale(0.7);
        transform-origin: center top;
        margin-bottom: -50px;
    }

    /* Contact Section Mobile Stack */
    .contact-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .contact-form-col,
    .contact-text-col {
        width: 100% !important;
    }

    .contact-form-wrapper,
    .stats-grid {
        padding: 20px !important;
    }

    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        min-width: 100%;
    }

    /* Hero Badge Fix */
    .hero-badge {
        margin-top: 80px;
        /* Push down to avoid header overlap */
        position: relative;
        z-index: 1;
    }

    .hero-visual {
        display: none;
        /* Hide complex visual on very small screens to focus on text */
    }

    /* Hansei Japanese Char Size Fix */
    .hansei-header h2 .japanese-char {
        font-size: 0.8em;
        /* Scale relative to heading */
        display: block;
        margin-top: 10px;
    }
}

/* Background Patterns */
.bg-pattern-japanese {
    background-color: #ffffff;
    background-image: radial-gradient(#e5e7eb 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* Force Contact Section Stacking on ALL Mobile Devices */
@media (max-width: 768px) {
    .contact-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .contact-form-col,
    .contact-text-col {
        width: 100% !important;
    }

    .contact-form-wrapper,
    .stats-grid {
        padding: 20px !important;
    }
}

/* Global Mobile Fixes for Overflow */
@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
        /* Reduce padding from 40px */
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .slide-content {
        margin-left: 0 !important;
        /* Remove large desktop margin */
        padding: 100px 20px 40px !important;
        /* Add top padding for fixed header, reduce side padding */
        text-align: center;
        /* Center align text on mobile */
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        /* Smaller heading */
    }

    /* Fix Footer Grid Overflow */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Fix Services Tabs Overflow */
    .tabs-nav {
        flex-wrap: wrap;
        gap: 15px;
        padding-bottom: 0;
    }

    .tab-btn {
        flex: 1 1 auto;
        padding-bottom: 15px;
        font-size: 1rem;
        width: auto;
        /* Allow auto width */
        min-width: 120px;
    }
}

/* ============================================
   PREMIUM UTILITY ANIMATIONS (New)
   ============================================ */

/* Scroll Reveal Base */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Magnetic Button Base */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Hero Typing Cursor */
.hero-typing::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--accent-blue);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Service Card Lift & Glow (Enhanced) */
.service-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 94, 184, 0.15);
}