/* section 1 */

	.agamin-way-section {
		background: #000; /* Fallback */
		background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('path-to-your-purple-abstract-bg.jpg');
		background-size: cover;
		background-position: center;
		color: #ffffff;
		padding: 100px 0;
	}

	.text-cyan {
		color: #26c1c1; /* Matching the teal/cyan color in the screenshot */
	}

	.section-subtitle {
		letter-spacing: 2px;
		font-size: 0.9rem;
		color: white;
	}

	.section-description p {
		font-size: 1.1rem;
		line-height: 1.6;
		max-width: 90%;
	}

	/* Metrics Styling */
	.metric-number {
		font-size: 3.5rem;
	}

	.metric-top-label {
		min-height: 40px;
		line-height: 1.2;
		color: white;
	}

	.metric-bottom-label {
		font-size: 0.9rem;
		text-transform: capitalize;
	}

	/* Know More Button Styling */
	.btn-know-more {
		display: inline-flex;
		align-items: center;
		background: #1a4b5e; /* Dark teal background */
		color: #fff;
		padding: 10px 25px;
		border-radius: 50px;
		text-decoration: none;
		transition: background 0.3s ease;
	}

	.btn-contact-white:hover {
		background-color: #26c1c1 !important;
		color: white !important;
	}

	.btn-know-more:hover .arrow-circle {
	  background: #26c1c1;
	  color: #fff;
	}

	.btn-know-more:hover {
	  background: #fff;
      color: black;
	}

	.btn-know-more-sm:hover .arrow-circle {
	  background: #26c1c1;
	  color: #fff;
	}

	.btn-know-more-sm:hover {
	  background: #fff;
      color: black;
	}


	.know-more:hover .arrow {
	  background: #26c1c1;
	  color: #fff;
	}

	.btn-product-white:hover .btn-arrow {
	  background: #26c1c1;
	  color: #fff;
	}

	.arrow-circle {
		background: #fff;
		color: #1a4b5e;
		width: 25px;
		height: 25px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		margin-left: 10px;
		font-weight: bold;
	}


/* section 2 */
	.agentic-healthcare-v2 {
		background: #000;
		color: #fff;
		overflow: hidden;
		position: relative;
	}

	.text-cyan { color: #31bad8; }

	.interactive-container {
		position: relative;
		max-width: 1000px;
		margin: 80px auto;
		min-height: 500px;
	}

	.center-ai-image {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		width: 300px;
	}

	/* Individual Point Positioning */
	.info-point {
		position: absolute;
		width: 250px;
		z-index: 3;
	}

	/* Left Side Points */
	.point-1 { top: 0; left: 0; text-align: left; }
	.point-2 { top: 40%; left: -50px; text-align: left; }
	.point-3 { bottom: 0; left: 0; text-align: left; }

	/* Right Side Points */
	.point-4 { top: 0; right: 0; text-align: left; }
	.point-5 { top: 40%; right: -50px; text-align: left; }
	.point-6 { bottom: 0; right: 0; text-align: left; }

	.point-title {
		margin-bottom: 15px;
		line-height: 1.4;
	}

	/* Rounded Know More Button */
	.btn-know-more-sm {
		display: inline-flex;
		align-items: center;
		background: #1a4b5e;
		color: #fff;
		padding: 6px 18px;
		border-radius: 50px;
		text-decoration: none;
		font-size: 14px;
		transition: 0.3s ease;
	}

	.arrow-circle {
		background: #fff;
		color: #1a4b5e;
		width: 20px;
		height: 20px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		margin-left: 8px;
		font-size: 12px;
	}

	/* Mobile Responsive */
	@media (max-width: 991px) {
		.interactive-container {
			display: flex;
			flex-direction: column;
			align-items: center;
		}
		.center-ai-image {
			position: relative;
			transform: none;
			left: 0; top: 0;
			margin-bottom: 40px;
		}
		.info-point {
			position: relative;
			width: 100%;
			text-align: center !important;
			margin-bottom: 40px;
			left: 0 !important;
			right: 0 !important;
			top: 0 !important;
			bottom: 0 !important;
		}
	}


/* section 3 */
	/* Section & Background */
	.ag-it-services-section {
		background-color: #000 !important;
		background-image: radial-gradient(circle at top right, rgba(75, 0, 130, 0.4), transparent 60%) !important;
		padding: 80px 0;
	}

	/* Typography Colors */
	.ag-sub-label { color: white !important; }
	.ag-main-title { color: #ffffff !important; }
	.ag-cyan-text { color: #31bad8 !important; }
	.ag-main-description { color: rgba(255, 255, 255, 1) !important; }

	/* Grid Layout */
	.ag-services-grid-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	/* Card Styling */
	.ag-glass-service-card {
		position: relative;
		background: rgba(255, 255, 255, 0.05);
		backdrop-filter: blur(15px);
		-webkit-backdrop-filter: blur(15px);
		border: 1px solid rgba(255, 255, 255, 0.15);
		border-radius: 25px;
		padding: 40px 30px;
		height: 240px;
		overflow: hidden;
		transition: all 0.3s ease;
	}

	/* Specific Card Text Color Fix */
	.ag-card-title {
		color: #ffffff !important; /* Forces title to be white */
	}

	.ag-icon-container {
		width: 55px;
		height: 55px;
	}

	.ag-icon-container img {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
	}

	/* Hover Overlay Fixes */
	.ag-card-hover-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #31BAD8 !important; /* Solid black on hover for readability */
		padding: 30px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		opacity: 0;
		transition: opacity 0.4s ease;
		z-index: 5;
	}

	.ag-glass-service-card:hover .ag-card-hover-overlay {
		opacity: 1;
	}

	.ag-hover-desc {
		color: #ffffff !important; /* Forces description to be white */
		margin-bottom: 10px;
	}

	.ag-hover-link {
		color: black !important; /* Forces link to be cyan */
		text-decoration: none;
		font-weight: bold;
		font-size: 0.95rem;
	}

	/* Responsive Grid */
	@media (max-width: 991px) {
		.ag-services-grid-container {
			grid-template-columns: 1fr;
		}
	}

/* section 4 */
	.agamin-hls-portal {
		background-color: #000 !important;
		padding: 80px 0;
	}

	/* Card Container Styling */
	.ag-sf-grid-card {
		background: rgba(255, 255, 255, 0.08) !important;
		border: 1px solid rgba(255, 255, 255, 0.15) !important;
		border-radius: 40px !important; /* Large rounded corners from screenshot */
		padding: 45px 35px;
		height: 100%;
		min-height: 380px;
		transition: transform 0.3s ease, background 0.3s ease;
		display: flex;
		flex-direction: column;
	}

	.ag-sf-grid-card:hover {
		background: rgba(255, 255, 255, 0.12) !important;
		transform: translateY(-5px);
	}

	/* Text Styling within Cards */
	.ag-sf-card-title {
		color: #ffffff !important;
		font-size: 1.6rem !important;
		font-weight: 700 !important;
		margin-bottom: 25px !important;
		line-height: 1.2;
	}

	.ag-sf-card-text {
		color: rgba(255, 255, 255, 0.8) !important;
		font-size: 1rem !important;
		line-height: 1.6 !important;
		margin-bottom: 0;
	}

	/* Header Text Color Persistence */
	.agamin-hls-title {
		color: #ffffff !important;
		margin-bottom: 20px;
	}

	.agamin-hls-lead {
		color: rgba(255, 255, 255, 1) !important;
		max-width: 800px;
		margin: 0 auto;
	}

	/* Responsive grid behavior */
	@media (max-width: 991px) {
		.ag-sf-grid-card {
			min-height: auto;
			padding: 35px 25px;
		}
	}



/* BODY PARALLAX */
/* Body Background image */
/* Master Wrapper Container */
/* --- 1. Sticky/Fixed Background (Starts after Hero) --- */

/* --- Main Wrapper --- */
/* --- 1. Sticky/Fixed Background (Starts after Hero) --- */
.ag-global-flow-bg {
    position: relative; /* Acts as the anchor point */
    overflow: hidden;
}

.ag-global-flow-bg::before {
    content: "";
    /* 'fixed' keeps it stuck to the viewport */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url('/wp-content/uploads/2026/05/New-Background-Image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
/*     filter: blur(6px);  */
    z-index: -1; /* Sits behind the sections */
    opacity: 1;
    
    /* Performance & Smoothness */
    will-change: transform;
    transform: translateZ(0);
    pointer-events: none; /* Ensures background doesn't block clicks */
}

/* Ensure sections inside this wrapper are transparent */
.ag-global-flow-bg section,
.agamin-way-section, 
.agentic-healthcare-v2, 
.ag-it-services-section {
    background: transparent !important;
    background-image: none !important;
    position: relative;
    z-index: 2;
}

/* --- 2. Portfolio Grid (3 Columns Desktop, 1 Column Mobile) --- */
.agamin-hls-container {
    padding: 0 20px;
    text-align: center;
}

.hc-card-grid {
    display: grid;
    /* Desktop: 3 columns for single row */
    grid-template-columns: 0.1fr 0.1fr 0.1fr; 
    gap: 25px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- 3. Card Base Styling --- */
.hc-card-item {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 40px !important;
    padding: 40px 30px;
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0; /* Hidden for JS animation */
    transition: transform 0.3s ease;
}

/* --- 4. Pills & Tags --- */
.hc-tag-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 8px;
    margin-top: 15px;
}

.hc-pill {
    font-size: 12px;
    padding: 5px 12px;
    white-space: nowrap;
    background-color: rgba(38, 193, 193, 0.15) !important;
    border: 1px solid rgba(38, 193, 193, 0.3) !important;
    border-radius: 20px;
    color: #fff;
}

/* --- 5. Animations & Mobile Responsiveness --- */
.hc-show {
    opacity: 1 !important;
    transform: none !important;
    transition: all 0.8s ease-out;
}

@media (max-width: 991px) {
    .hc-card-grid {
        /* Mobile: 1 column per row */
        grid-template-columns: 1fr; 
    }

    .hc-card-item {
        transform: none !important; 
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 15px;
        width: 100%;
    }

    .hc-animate-left, 
    .hc-animate-right, 
    .hc-animate-fade {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .agamin-hls-title {
        font-size: 1.8rem !important;
    }
    
    .hc-card-item {
        padding: 25px 20px;
    }

    .hc-card-title {
        font-size: 1.4rem;
    }
}
/* BODY BACKGROUND IMAGE END */

/* THE AGAMIN WAY INNEPAGE */

	.mission-section {
		background: #000; /* Dark background */
		color: #fff;
		overflow: hidden;
		position: relative;
	}

	/* Background Glow Effect */
	.mission-section::before {
		content: '';
		position: absolute;
		top: 20%;
		left: -10%;
		width: 60%;
		height: 60%;
		background: radial-gradient(circle, rgba(106, 57, 255, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
		z-index: 0;
	}

	.mission-accordion {
		display: flex;
		flex-direction: column;
		gap: 15px;
		position: relative;
		z-index: 1;
	}

	/* Hide the radio button but keep it functional */
	.mission-radio {
		display: none;
	}

	/* Glass Card Styling */
	.mission-card-glass {
		display: block;
		cursor: pointer;
		padding: 25px;
		border-radius: 20px;
		background: rgba(255, 255, 255, 0.05);
		backdrop-filter: blur(10px);
		border: 1px solid rgba(255, 255, 255, 0.1);
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.mission-card-glass:hover {
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.2);
	}

	/* Details area hidden by default */
	.card-details {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: all 0.4s ease;
	}

	/* Expansion logic when radio is checked */
	.mission-radio:checked + .mission-card-glass {
		background: rgba(255, 255, 255, 0.12);
		border-color: rgba(255, 255, 255, 0.3);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	}

	.mission-radio:checked + .mission-card-glass .card-details {
		max-height: 200px; /* Adjust based on content */
		opacity: 1;
		margin-top: 15px;
	}

	/* Highlight text in Header (optional based on screenshot colors) */
	.mission-section h2 span {
		color: #4ed9ff; /* Cyan highlight for 'Everyday' */
	}

	.tracking-widest {
		letter-spacing: 0.2em;
	}


	.focus-area-section {
		background-color: #000;
		color: #fff;
		position: relative;
		overflow: hidden;
		padding: 100px 0;
	}

	/* Background light beam effect */
	.focus-area-section::before {
		content: '';
		position: absolute;
		top: -10%;
		left: -10%;
		width: 60%;
		height: 120%;
		background: linear-gradient(
			135deg, 
			rgba(99, 102, 241, 0.4) 0%, 
			rgba(168, 85, 247, 0.2) 30%, 
			rgba(0, 0, 0, 0) 70%
		);
		filter: blur(80px);
		z-index: 0;
	}

	.focus-area-section .container {
		position: relative;
		z-index: 1;
	}

	/* Typography */
	.text-highlight {
		color: #31bad8; /* Cyan color from screenshot */
	}

	.tracking-widest {
		letter-spacing: 0.15em;
	}

	.description {
		font-size: 1.1rem;
		line-height: 1.6;
		max-width: 450px;
	}

	/* Focus Cards */
	.focus-card {
		background: rgba(255, 255, 255, 0);
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 20px;
		padding: 40px 30px;
		transition: transform 0.3s ease, border-color 0.3s ease;
	}

	.focus-card:hover {
		border-color: rgba(255, 255, 255, 0);
		background-color: #31BAD8;
		transform: translateY(-5px);
	}

	.focus-card h3 {
		letter-spacing: -0.02em;
	}

	.card-text {
		line-height: 1.6;
	}

	/* Responsive adjustments */
	@media (max-width: 991px) {
		.focus-area-section::before {
			width: 100%;
			height: 50%;
		}
	}


/* =========================================
   HLS PORTAL / CASE STUDIES MOBILE FIX
   ========================================= */

/* 1. Ensure the container has side padding so cards don't touch screen edges */
.agamin-hls-container {
    padding: 0 20px;
    text-align: center;
}

/* 2. Grid Reset: 3 columns on desktop, gap handles spacing */
.hc-card-grid {
    display: grid;
    grid-template-columns: 0.1fr 0.1fr 0.1fr; /* Fixed: 3 columns for single row */
    gap: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 3. Animation Reset: Prevent cards from being stuck off-screen */
@media (max-width: 991px) {
    .hc-card-grid {
        grid-template-columns: 1fr; /* Show each card in each row on mobile */
    }

    .hc-card-item {
        /* Reset any horizontal transforms that might hide cards */
        transform: none !important; 
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 15px;
        width: 100%;
    }

    .hc-animate-left, 
    .hc-animate-right, 
    .hc-animate-fade {
        /* Disable complex desktop animations for better mobile performance */
        animation: none !important;
        transition: none !important;
    }
}

/* 4. Pill/Tag Wrapping: Ensure tags don't force the card to be too wide */
.hc-tag-container {
    display: flex;
    flex-wrap: wrap; /* Allows pills to go to next line */
    gap: 8px;
    margin-top: 15px;
}

.hc-pill {
    font-size: 12px;
    padding: 5px 12px;
    white-space: nowrap; /* Keeps text inside pill on one line */
}

/* 5. Typography scaling for mobile */
@media (max-width: 767px) {
    .agamin-hls-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .hc-card-item {
        padding: 25px 20px; /* Adjust internal padding for smaller screens */
    }

    .hc-card-title {
        font-size: 1.4rem;
    }
}


/* =========================================
   REFINED MOBILE CLICK FIX (SECTION 3)
   ========================================= */

/* 1. Hide the overlay content from the "touch" path initially */
.ag-card-hover-overlay {
    opacity: 0;
    visibility: hidden; /* This prevents the browser from registering a click on hidden elements */
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: #31BAD8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

/* 2. When hovered (Desktop) or focused/active (Mobile) */
.ag-glass-service-card:hover .ag-card-hover-overlay,
.ag-glass-service-card:active .ag-card-hover-overlay,
.ag-glass-service-card:focus .ag-card-hover-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
	background-color: #31BAD8;
}

/* 3. The "Double Guard": Delay the button's clickability */
.ag-hover-link {
    display: inline-block;
    margin-top: 10px;
    /* This makes the link wait 100ms before becoming "clickable" 
       to avoid the initial tap burst */
    transition: opacity 0.2s ease 0.1s; 
}

/* 4. Mobile Screen Specific Adjustments */
@media (max-width: 991px) {
    .ag-glass-service-card {
        /* Remove fixed height so content doesn't overflow */
        height: auto !important;
        min-height: 250px;
        /* Adds a subtle delay to mobile hover to separate tap from click */
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }

    /* Force the card to stay open once tapped (Standard mobile behavior) */
    .ag-glass-service-card:active .ag-card-hover-overlay {
        opacity: 1;
        visibility: visible;
    }
}


/* =========================================
   KNOW MORE BUTTON - ICON FIX & CLICK DELAY
   ========================================= */

.focus-card .know-more {
    /* Use flex to keep text and arrow on the same line */
    display: inline-flex !important;
    align-items: center;
    gap: 8px; /* Space between text and arrow */
    white-space: nowrap; /* Forces text to stay on one line */
    
    text-decoration: none;
/*     color: white; */
    
    /* The Safety Delay Fix */
    /* This waits 0.2s before becoming 'clickable' to avoid accidental mobile taps */
    transition: opacity 0.3s ease 0.2s, visibility 0.3s ease 0.2s, transform 0.2s ease;
}

/* Ensure the arrow doesn't inherit weird line-heights */
.focus-card .know-more .arrow {
/*     display: inline-block; */
    line-height: 1;
}

/* Base state for the hover container */
.card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Slightly transparent so bg is visible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    
    /* MODIFIED: Always visible */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5;
}

/* Hide the default background title if it overlaps with the new visible content */
.card-default {
    display: none !important;
}

/* Reveal State */
.focus-card:hover .card-hover,
.focus-card:active .card-hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .focus-card {
        min-height: 300px;
        margin-bottom: 20px;
        /* Removes blue highlight on tap for a cleaner feel */
        -webkit-tap-highlight-color: transparent;
    }
}



/* ==========================================================================
   Healthcare IT Services - Uniform & Narrower Card Sizing
   ========================================================================= */

/* 1. Track columns evenly but limit the container's max width */
.ag-services-grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 540px !important; /* Constrains total width to keep cards narrow */
    margin-left: auto;          /* Aligns the grid beautifully to the right side area */
    margin-right: 0;
}

/* 2. Lock identical, narrower dimensions for every card */
.ag-glass-service-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 260px !important;  /* Strict width reduction per card */
    
    /* Kept your comfortable height baseline */
    height: 190px !important;      
    min-height: 190px !important;  
    
    padding: 24px 20px !important; 
    border-radius: 20px !important; 
    position: relative;
    overflow: hidden;
    margin: 0 auto !important;     /* Centers them nicely within their equal grid splits */
}

/* 3. Adjust Internal Elements */
.ag-glass-service-card .ag-icon-container {
    margin-bottom: 12px !important;
}

.ag-glass-service-card .ag-icon-container img {
    max-height: 64px !important;   
    width: auto;
}

.ag-glass-service-card .ag-card-title {
    font-size: 1rem !important;    
    line-height: 1.35 !important;
}

/* 4. Match the Hover Overlays Exactly */
.ag-glass-service-card .ag-card-hover-overlay {
    padding: 24px 20px !important; 
    height: 100% !important;
    width: 100% !important;
}

.ag-glass-service-card .ag-hover-desc {
    font-size: 0.85rem !important; 
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

.ag-glass-service-card .ag-hover-link {
    font-size: 0.82rem !important;
}

/* 5. Clean Mobile Stack Behavior */
@media (max-width: 767px) {
    .ag-services-grid-container {
        grid-template-columns: 1fr !important;
        max-width: 280px !important; /* Tight boundary wrap for mobile alignment */
        margin: 0 auto !important;  /* Center the mobile grid column */
    }
    
    .ag-glass-service-card {
        max-width: 100% !important;
        height: 180px !important; 
        min-height: 180px !important;
    }
}



/* PRODUCTS */
/* ==========================================================================
   Products Split Section - Dedicated Image Layout & Premium Zoom
   ========================================================================== */

/* 1. Base Panel Setup */
.product-half {
    position: relative;
    overflow: hidden;
/*     background-color: #000 !important; */
    display: flex;
    align-items: center;
    z-index: 1;
    
    /* Subtle opening transition control */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease !important;
}

/* 2. Position the Image Perfectly on the Far Right Side */
.product-half .product-bg-image {
    position: absolute;
	top: 0;
    right: -200px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Maintains strict focus on the right of the image asset */
    z-index: 0;
    
    /* Hardware accelerated transition layer for seamless zooming */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    pointer-events: none;
}

/* Media Query for Mobile Screens */
@media (max-width: 767px) { 
	.product-half .product-bg-image { 
			top: 0;
    		right: 0;
	}
}

/* 3. Dark Overlay Mask (Sits between text content and the background image) */
.product-half::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
}

/* 4. Text Content Container Layering */
.product-half .product-content {
    position: relative;
    z-index: 2; /* Forces text to float crisp over everything else */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Hover State Animations
   ========================================================================== */

/* Subtle Panel Width Shift (Micro-movement layout tweak) */
.product-half:hover {
    flex: 1.12 !important; /* Kept very subtle and small */
}

/* Smooth GPU Zoom Effect on the Far-Right Image */
.product-half:hover .product-bg-image {
    transform: scale(1.08) !important; /* Perfect smooth zoom */
}

/* Ease out the opposite unhovered card */
.products-split-section:hover .product-half:not(:hover) {
    filter: brightness(0.6) grayscale(0.1);
    flex: 0.88 !important; 
}

/* Subtle Text Shifts */
.healthnable-bg:hover .product-content {
    transform: translateX(20px) !important; /* Gentle push right */
}

.healthnion-bg:hover .product-content {
    transform: translateX(-20px) !important; /* Gentle push left */
}