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

:root {
    /* ============================================
       ASCERN UNIFIED COLOR SYSTEM (3 Colors)
       Easy to modify for CMS integration
       ============================================ */

    /* === CORE BRAND COLORS (Edit these 3 to change entire site) === */
    --color-primary: 24 85% 55%;
    /* Warm Orange - Main brand color */
    /* Deep Forest Green - Text & headings (Replaced Dark Slate) */
    --color-dark: 155 40% 12%;
    /* Cream White - Backgrounds */
    --color-light: 36 50% 98%;

    /* === DERIVED COLORS (Auto-calculated from core colors) === */
    --color-primary-light: 30 90% 94%;
    /* Light orange tint */
    --color-primary-dark: 20 80% 35%;
    /* Darker orange for hover */
    --color-muted: 155 20% 35%;
    /* Muted Green-Grey text color */

    /* === SEMANTIC MAPPING (Uses core colors) === */
    --background: var(--color-light);
    --foreground: var(--color-dark);

    --card: 36 40% 99%;
    --card-foreground: var(--color-dark);

    --popover: 36 40% 99%;
    --popover-foreground: var(--color-dark);

    --primary: var(--color-primary);
    --primary-foreground: 0 0% 100%;

    --secondary: var(--color-primary-light);
    --secondary-foreground: var(--color-dark);

    --accent: var(--color-primary);
    --accent-foreground: 0 0% 100%;

    --muted: 30 30% 92%;
    --muted-foreground: var(--color-muted);

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 30 40% 90%;
    --input: 30 40% 90%;
    --ring: var(--color-primary);

    --radius: 0.25rem;

    /* === UNIFIED FONT FAMILY === */
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    /* === SHADOWS === */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.06);

    /* === CHART COLOR VARIATIONS (Orange palette for interactive elements) === */
    --chart-color-1: 24 85% 55%;
    /* Primary Orange */
    --chart-color-2: 20 70% 35%;
    /* Dark Brown-Orange */
    --chart-color-3: 30 90% 60%;
    /* Light Orange */
    --chart-color-4: 36 95% 65%;
    /* Golden Orange */

    /* === LEGACY COMPATIBILITY (Maps to unified colors) === */
    --ascern-dark: var(--color-dark);
    --ascern-orange: var(--color-primary);
    --ascern-cream: var(--color-light);
}

.dark {
    --background: 20 100% 10%;
    /* Very Dark Burnt Orange */
    --foreground: 30 30% 98%;

    --card: 20 100% 10%;
    --card-foreground: 30 30% 98%;

    --popover: 20 100% 10%;
    --popover-foreground: 30 30% 98%;

    --primary: 24 100% 50%;
    --primary-foreground: 0 0% 100%;

    --secondary: 20 80% 20%;
    --secondary-foreground: 30 30% 98%;

    --muted: 20 80% 20%;
    --muted-foreground: 24 50% 70%;

    --accent: 24 100% 50%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;

    --border: 20 80% 25%;
    --input: 20 80% 25%;
    --ring: 24 100% 50%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: hsl(var(--foreground));
    line-height: 1.3;
    margin-bottom: 0.5em;
    font-weight: 400 !important;
    overflow: visible;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

/* Utilities */
.section-padding {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .section-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.container-max {
    max-width: 80rem;
    /* 7xl */
    margin-left: auto;
    margin-right: auto;
}

.bg-gradient-overlay {
    background: var(--gradient-overlay);
}

.text-gradient-accent {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: var(--gradient-accent);
}

/* Premium Link Hover Effect */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: hsl(var(--primary));
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* Noise Overlay for Depth */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-play-state: paused;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-play-state: paused;
}

.animate-slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-play-state: paused;
}

.animate-slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-play-state: paused;
}

.animate-active {
    animation-play-state: running;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* Force Header Fixed Position - Override JS/GSAP interference */
#main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: translate3d(0, 0, 0) !important;
    /* Force GPU layer - prevents mobile browser reflow issues */
    -webkit-transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    /* Hint browser to optimize for transforms */
    border-bottom: 1px solid hsla(var(--primary), 0.1) !important;
}

/* Prevent header jump on Android when virtual keyboard or address bar changes */
@supports (-webkit-touch-callout: none) or (pointer: coarse) {
    #main-header {
        /* Use env() for safe area inset if available (notched devices) */
        top: env(safe-area-inset-top, 0) !important;
    }
}

/* Additional stability for mobile touch interactions */
@media (max-width: 1024px) {
    #main-header {
        /* Prevent any transform animations that could cause jumping */
        transition: background-color 0.3s ease, border-color 0.3s ease !important;
    }

    /* Prevent body scroll issues during touch interactions */
    html {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

/* Utility Colors */
.bg-primary {
    background-color: hsl(var(--primary));
}

.bg-secondary {
    background-color: hsl(var(--secondary));
}

.bg-ascern-dark {
    background-color: hsl(var(--ascern-dark));
}

.bg-ascern-cream {
    background-color: hsl(var(--ascern-cream));
}

.text-primary {
    color: hsl(var(--primary));
}

.text-ascern-dark {
    color: hsl(var(--ascern-dark));
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

/* Page Enhancements */

/* Common Page Hero */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, hsl(var(--color-light)) 0%, hsl(30, 50%, 96%) 100%);
    /* Removed overflow:hidden to prevent heading descender clipping */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, hsla(var(--color-primary), 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, hsla(var(--color-primary), 0.03) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}

/* Unified Hero Pattern - Decorative SVG Background */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.hero-pattern svg {
    width: 100%;
    height: auto;
    color: hsl(var(--primary));
}

/* Premium Card - Glass/Depth feel */
.premium-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: rgba(229, 82, 11, 0.2);
}

/* --- NEW IMPRESSIVE SUBPAGE DESIGNS --- */

/* 1. Interactive Hero Reveal */
.hero-reveal-text {
    /* Extended clip-path to 120% height to accommodate descenders (g, y, p, q) */
    clip-path: polygon(0 -20%, 100% -20%, 100% 120%, 0% 120%);
    transform: translateY(100%);
    opacity: 0;
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

/* 2. Editorial Layout (Services) */
.editorial-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 900px) {
    .editorial-row {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
        padding: 6rem 0;
    }

    .editorial-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    .editorial-content {
        flex: 1;
    }

    .editorial-visual {
        flex: 1;
        position: relative;
    }
}

/* 3. Hover Accordion (About - Values: "Pillars of Success") */
.values-accordion {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .values-accordion {
        flex-direction: row;
        height: 600px;
        /* Taller for grandeur */
        gap: 0;
    }

    .value-panel {
        flex: 1;
        position: relative;
        overflow: hidden;
        transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
        cursor: pointer;
        display: flex;
        align-items: flex-end;
        /* Align content to bottom */
        padding: 3rem;
        background-color: hsl(var(--foreground));
        /* Fallback */
    }

    /* Expand on hover */
    .value-panel:hover {
        flex: 3.5;
    }

    /* Gradients/Themes */
    .value-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        opacity: 0.9;
        transition: opacity 0.5s;
    }

    .value-panel:hover::before {
        opacity: 1;
    }

    /* Panel 1: Integrity (Dark Burnt Orange) */
    .value-integrity {
        background: #7c2d12;
    }

    .value-integrity::before {
        background: linear-gradient(to top right, #7c2d12, #9a3412);
    }

    /* Panel 2: Quality (Primary Brand Orange) */
    .value-quality {
        background: #c2410c;
    }

    .value-quality::before {
        background: linear-gradient(to top right, #c2410c, #ea580c);
    }

    /* Panel 3: Clarity (Golden/Amber Orange) */
    .value-clarity {
        background: #ea580c;
    }

    .value-clarity::before {
        background: linear-gradient(to top right, #ea580c, #f97316);
    }

    /* Panel 4: Growth (Deep Red-Orange) */
    .value-growth {
        background: #9a3412;
    }

    .value-growth::before {
        background: linear-gradient(to top right, #9a3412, #c2410c);
    }


    /* Content Styling */
    .value-panel-content {
        position: relative;
        z-index: 10;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s 0.1s;
        text-align: left;
    }

    .value-panel:hover .value-panel-content {
        opacity: 1;
        transform: translateY(0);
    }

    /* Large Watermark Icon */
    .value-watermark {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8) rotate(-10deg);
        font-size: 0;
        /* Container for svg */
        opacity: 0.1;
        transition: all 0.7s ease;
        z-index: 1;
        color: white;
    }

    .value-panel:hover .value-watermark {
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
        opacity: 0.15;
    }

    .value-watermark svg {
        width: 300px;
        height: 300px;
    }

    /* Vertical Title (Collapsed State) */
    .value-vertical-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
        white-space: nowrap;
        font-family: 'Georgia', serif;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.2em;
        color: rgba(255, 255, 255, 0.7);
        z-index: 10;
        transition: opacity 0.3s, transform 0.5s;
        text-transform: uppercase;
    }

    .value-panel:hover .value-vertical-title {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(-90deg);
    }

    /* EXPANDED CONTENT TYPOGRAPHY */
    .value-full-title {
        font-family: 'Georgia', serif;
        font-size: 3rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1.5rem;
        line-height: 1;
    }

    .value-desc {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.125rem;
        line-height: 1.6;
        max-width: 450px;
    }

    .value-small-icon {
        color: white;
        margin-bottom: 1.5rem;
        width: 3rem;
        height: 3rem;
    }
}

/* Mobile Styling Fallback */
@media (max-width: 1023px) {
    .value-panel {
        padding: 2.5rem;
        border-radius: 0.75rem;
        color: white;
        overflow: hidden;
        position: relative;
    }

    .value-integrity {
        background: linear-gradient(to right, #7c2d12, #9a3412);
    }

    .value-quality {
        background: linear-gradient(to right, #c2410c, #ea580c);
    }

    .value-clarity {
        background: linear-gradient(to right, #ea580c, #f97316);
    }

    .value-growth {
        background: linear-gradient(to right, #9a3412, #c2410c);
    }

    .value-vertical-title {
        display: none;
    }

    .value-watermark {
        position: absolute;
        right: -2rem;
        bottom: -2rem;
        opacity: 0.1;
        transform: rotate(-15deg);
    }

    .value-watermark svg {
        width: 150px;
        height: 150px;
    }

    .value-panel-content {
        opacity: 1;
        transform: none;
    }

    .value-full-title {
        font-size: 2rem;
        font-family: 'Georgia', serif;
        font-weight: bold;
        margin-bottom: 0.75rem;
    }

    .value-desc {
        font-size: 1rem;
        opacity: 0.9;
    }

    .value-small-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-bottom: 1rem;
        display: block;
    }
}

/* 4. Team Portrait Hover (People) */
.team-card-premium {
    position: relative;
    overflow: hidden;
}

.team-card-premium img {
    /* filter: grayscale(100%);  REMOVED per user request */
    transition: filter 0.5s ease, transform 0.7s ease;
}

.team-card-premium:hover img {
    /* filter: grayscale(0%); */
    transform: scale(1.05);
}

.team-card-overlay {
    background: linear-gradient(to top, hsl(var(--primary)) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card-premium:hover .team-card-overlay {
    opacity: 0.9;
}

/* 5. Badges & Tags (People Page) */
.badge-pill {
    background-color: hsl(var(--secondary));
    color: hsl(var(--foreground));
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge-tag {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.375rem;
    /* 6px */
    display: inline-block;
    transition: all 0.2s ease;
}

.badge-tag:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    background-color: hsl(var(--secondary));
}

/* ============================================
   SERVICE CARDS - HOVER EXPAND
   ============================================ */

.service-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* ============================================
   UNIFIED STARTUP ANIMATION (Simple Fade In)
   ============================================ */
/* Ensures the entire page fades in smoothly upon load */

body {
    animation: pageFadeIn 1.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

/* ============================================
   DATE INPUT - CROSS-BROWSER FIX
   ============================================ */

/* Base styling for date inputs */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    min-height: 50px;
    color: hsl(var(--foreground));
    text-align: left;
}

/* Calendar icon styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 8px;
    background-size: 20px;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Firefox fix */
input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0.6;
}

/* Webkit inner buttons fix */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Ensure text aligns left */
input[type="date"]::-webkit-datetime-edit {
    padding: 0;
    text-align: left;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
    text-align: left;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    padding: 2px;
    text-align: left;
}

/* ============================================
   CUSTOM DATE INPUT (Overlay approach for iOS compatibility)
   ============================================ */

/* Date wrapper positioning */
.date-wrapper {
    position: relative;
}

/* The actual date input is invisible but clickable */
.date-input {
    cursor: pointer;
}

/* Focus state - highlight the visible container when input is focused */
.date-input:focus+div,
.date-wrapper:focus-within>div:last-child {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 1px hsl(var(--primary));
}

/* Date display styling */
.date-display {
    text-align: left;
}

/* Placeholder styling */
.date-placeholder {
    text-align: left;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    .date-input {
        min-height: 52px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }
}

/* ============================================
   FOOTER COPYRIGHT SECTION
   ============================================ */

.footer-copyright {
    font-size: 0.75rem;
    /* Smaller font size */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Desktop: same line */
@media (min-width: 768px) {
    .footer-copyright {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-copyright-separator {
        display: inline;
    }
}

/* Mobile: new line, hide separator */
@media (max-width: 767px) {
    .footer-copyright-separator {
        display: none;
    }
}

/* Footer legal links - smaller font */
.footer-legal-links {
    font-size: 0.75rem;
}

/* ============================================
   CUSTOM TAILWIND UTILITIES (BACKFILL)
   ============================================ */

/* Text Colors */
.text-primary {
    color: hsl(var(--primary));
}

.text-primary\/20 {
    color: hsl(var(--primary) / 0.2);
}

.text-primary\/5 {
    color: hsl(var(--primary) / 0.05);
}

.text-secondary {
    color: hsl(var(--secondary));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.text-foreground\/80 {
    color: hsl(var(--foreground) / 0.8);
}

.text-foreground\/70 {
    color: hsl(var(--foreground) / 0.7);
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground));
}

.text-card-foreground {
    color: hsl(var(--card-foreground));
}

.hover\:text-primary:hover {
    color: hsl(var(--primary));
}

.hover\:text-foreground:hover {
    color: hsl(var(--foreground));
}

.group:hover .group-hover\:text-primary {
    color: hsl(var(--primary));
}

.group:hover .group-hover\:text-foreground {
    color: hsl(var(--foreground));
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

/* Backgrounds */
.bg-background {
    background-color: hsl(var(--background));
}

.bg-foreground {
    background-color: hsl(var(--foreground));
}

.bg-primary {
    background-color: hsl(var(--primary));
}

.bg-primary\/95 {
    background-color: hsl(var(--primary) / 0.95);
}

.bg-primary\/90 {
    background-color: hsl(var(--primary) / 0.90);
}

.bg-primary\/20 {
    background-color: hsl(var(--primary) / 0.2);
}

.bg-primary\/10 {
    background-color: hsl(var(--primary) / 0.1);
}

.bg-primary\/5 {
    background-color: hsl(var(--primary) / 0.05);
}

.bg-secondary {
    background-color: hsl(var(--secondary));
}

.bg-secondary\/30 {
    background-color: hsl(var(--secondary) / 0.3);
}

.bg-secondary\/10 {
    background-color: hsl(var(--secondary) / 0.1);
}

.bg-card {
    background-color: hsl(var(--card));
}

.hover\:bg-primary:hover {
    background-color: hsl(var(--primary));
}

.hover\:bg-primary\/95:hover {
    background-color: hsl(var(--primary) / 0.95);
}

.hover\:bg-primary\/90:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.hover\:bg-secondary:hover {
    background-color: hsl(var(--secondary));
}

.group:hover .group-hover\:bg-primary {
    background-color: hsl(var(--primary));
}

/* Borders */
.border-border {
    border-color: hsl(var(--border));
}

.border-border\/50 {
    border-color: hsl(var(--border) / 0.5);
}

.border-border\/40 {
    border-color: hsl(var(--border) / 0.4);
}

.border-border\/30 {
    border-color: hsl(var(--border) / 0.3);
}

.border-border\/20 {
    border-color: hsl(var(--border) / 0.2);
}

.border-primary {
    border-color: hsl(var(--primary));
}

.border-primary\/50 {
    border-color: hsl(var(--primary) / 0.5);
}

.border-primary\/20 {
    border-color: hsl(var(--primary) / 0.2);
}

.border-primary\/10 {
    border-color: hsl(var(--primary) / 0.1);
}

.hover\:border-primary:hover {
    border-color: hsl(var(--primary));
}

.hover\:border-primary\/50:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.hover\:border-primary\/30:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.focus\:border-primary:focus {
    border-color: hsl(var(--primary));
}

.focus\:ring-1:focus {
    box-shadow: 0 0 0 1px var(--tw-ring-color);
}

.focus\:ring-primary:focus {
    --tw-ring-color: hsl(var(--primary));
}

/* Rings */
.ring-primary {
    --tw-ring-color: hsl(var(--primary));
}

/* Other */
.divide-border\/40> :not([hidden])~ :not([hidden]) {
    border-color: hsl(var(--border) / 0.4);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    padding: 0 16px;
    width: 60px;
    /* Base width for just the icon */
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float::after {
    content: "Contact Us";
    font-size: 16px;
    font-weight: 700;
    margin-left: 0;
    opacity: 0;
    max-width: 0;
    transition: all 0.4s ease;
    font-family: var(--font-body);
}

.whatsapp-float:hover {
    width: 180px;
    /* Expanded width on hover */
    background-color: #128c7e;
    color: #FFF !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover::after {
    margin-left: 12px;
    opacity: 1;
    max-width: 100px;
}

.whatsapp-float i,
.whatsapp-float svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        height: 50px;
        width: 50px;
        padding: 0 12px;
    }

    .whatsapp-float:hover {
        width: 150px;
    }
}

/* --- FAQ Accordion --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-trigger h3 {
    font-weight: 700 !important;
}

.new-hero-title {
    font-weight: 700 !important;
}