:root {
    /* Logo-Based Futuristic Color Scheme */
    --primary-color: #6C0D9A;
    /* Main Purple from logo */
    --secondary-color: #EFC54A;
    /* Darker Purple */
    --accent-color: #8E44AD;
    /* Mid-tone Purple */
    --highlight-color: #8A2BE2;
    /* Golden Yellow from logo */
    --logo-gold: #EFC54A;
    /* Exact logo gold color */
    --logo-purple: #6C0D9A;
    /* Exact logo purple color */
    --success-color: #43D39E;
    /* Green for success states */
    --warning-color: #FFB946;
    /* Orange for warnings */
    --danger-color: #FF5C75;
    /* Red for errors */

    /* Text Colors */
    --text-primary: #1A202C;
    /* Dark text */
    --text-secondary: #4A5568;
    /* Gray text */
    --text-light: #ADB5BD;
    /* Light gray text */
    --text-white: #FFFFFF;
    /* White text */

    /* Background Colors */
    --bg-primary: #FFFFFF;
    /* White background */
    --bg-secondary: #f1f5f9;
    /* Light gray background */
    --bg-tertiary: #F3F4F7;
    /* Lighter gray */
    --bg-dark: #2C3E50;
    /* Dark background */
    --bg-purple: #6C0D9A;
    /* Purple background */

    /* UI Component Colors */
    --border-color: #E2E8F0;
    /* Light border */
    --border-dark: #DEE2E6;
    /* Darker border */
    --card-shadow: rgba(108, 13, 154, 0.1);
    /* Purple tinted shadow */

    /* Shadows with purple tint */
    --shadow-sm: 0 2px 4px 0 rgba(108, 13, 154, 0.08);
    --shadow-md: 0 4px 8px 0 rgba(108, 13, 154, 0.12);
    --shadow-lg: 0 8px 16px 0 rgba(108, 13, 154, 0.16);
    --shadow-xl: 0 16px 32px 0 rgba(108, 13, 154, 0.20);

    /* Futuristic Gradients using logo colors */
    --gradient-primary: linear-gradient(135deg, #6C0D9A, #8A2BE2);
    --gradient-secondary: linear-gradient(135deg, #4E096F 0%, #6C0D9A 100%);
    --gradient-accent: linear-gradient(135deg, #EFC54A 0%, #FFB946 100%);
    --gradient-hero: linear-gradient(135deg, #6C0D9A 0%, #8E44AD 50%, #EFC54A 100%);
    --gradient-futuristic: linear-gradient(45deg, #6C0D9A 0%, #EFC54A 25%, #6C0D9A 50%, #EFC54A 75%, #6C0D9A 100%);
    --gradient-holographic: linear-gradient(135deg, rgba(108, 13, 154, 0.8) 0%, rgba(239, 197, 74, 0.8) 50%, rgba(108, 13, 154, 0.8) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Border Radius for modern look */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Color variations for better accessibility */
    --primary-50: #F3E8FF;
    --primary-100: #E9D5FF;
    --primary-200: #DDD6FE;
    --primary-300: #C4B5FD;
    --primary-400: #A78BFA;
    --primary-500: #8B5CF6;
    --primary-600: #7C3AED;
    --primary-700: #6D28D9;
    --primary-800: #5B21B6;
    --primary-900: #4C1D95;

    --primary-font: 'Cairo', sans-serif;
    --secondary-font: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    font-family: 'Cairo', sans-serif !important;
}

/* Global Cairo font enforcement */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button,
input,
textarea,
select,
option {
    font-family: 'Cairo', sans-serif !important;
}

/* Override Bootstrap and framework fonts */
.btn,
.form-control,
.form-label,
.navbar,
.nav-link,
.card,
.card-title,
.card-text,
.list-group,
.list-group-item,
.alert,
.badge,
.modal,
.modal-title,
.modal-body,
.dropdown,
.dropdown-item,
.breadcrumb,
.pagination,
.table,
.table th,
.table td,
.lead,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Cairo', sans-serif !important;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    cursor: url('../images/Pet.svg'), auto !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}



/* Enhanced Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(108, 13, 154, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.hero-split-container {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;

}

.hero-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 2rem;
    position: relative;
    text-align: center;
}

.hero-content-wrapper {
    max-width: 600px;
    width: 100%;
}

/* Enhanced Pet Icon Animation */
.hero-pet-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.pet-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.pet-avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(108, 13, 154, 0.3);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.pulse-ring.ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: 1s;
    border-color: rgba(108, 13, 154, 0.2);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Enhanced Main Content */
.hero-main-content {
    color: var(--text-primary);
}

.hero-tagline {
    margin-bottom: 1rem;
}

.tagline-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-normal);
}

.tagline-text:hover {
    transform: translateY(-1px);
}

.hero-heading {
    margin-bottom: 1.5rem;
}

.heading-line-1,
.heading-line-2,
.heading-line-3 {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

.heading-line-2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Modern Call-to-Action Buttons */
.hero-cta-buttons {
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation-delay: 1s;
    display: flex;
    align-content: center;
    justify-content: center;
}

.hero-btn-primary {
    background: #fbbf24;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: var(--text-white);
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn-primary:hover::before {
    left: 100%;
}

.hero-btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--text-white);
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.hero-btn-secondary:hover i {
    color: var(--text-white);
}

/* Enhanced Trust Badges */
.hero-trust {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    background: rgba(108, 13, 154, 0.08);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    border: 1px solid rgba(108, 13, 154, 0.1);
}

.trust-badge:hover {
    background: rgba(108, 13, 154, 0.15);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(108, 13, 154, 0.2);
    box-shadow: var(--shadow-sm);
}

.trust-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Enhanced Gallery Side */
.hero-gallery-side {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-container {
    width: 100%;
    max-width: 500px;
}

/* Enhanced Pet Stories Carousel */
.pet-stories-carousel {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-card.active {
    opacity: 1;
}

.story-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.story-rating {
    margin-bottom: 0.5rem;
}

.story-rating i {
    color: #ffd700;
    font-size: 0.9rem;
    margin-right: 2px;
}

.story-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.story-author {
    font-style: italic;
    opacity: 0.8;
}

/* Enhanced Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(108, 13, 154, 0.7);
    transform: scale(1.1);
}

/* Modern Card Styles */
.modern-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 13, 154, 0.2);
}

.modern-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.modern-card:hover .modern-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card,
.feature-card,
.facility-card,
.doctor-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.service-card::before,
.feature-card::before,
.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before,
.feature-card:hover::before,
.facility-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover,
.feature-card:hover,
.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 13, 154, 0.2);
}

/* Modern Button Styles */
.btn-modern {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Bootstrap Color Overrides */
.btn-primary {
    background: transparent !important;
    border: 2px solid #fbbf24 !important;
    color: #fbbf24 !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    transition: var(--transition-normal) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: transparent !important;
    border: 2px solid #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
    color: #fbbf24 !important;
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    transition: var(--transition-normal) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-white) !important;
    transform: translateY(-2px) !important;
}

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

.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Enhanced Live Status */
.live-status {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

.next-appointment {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.emergency-contact {
    margin-top: 1rem;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    transform: translateY(-2px);
}

/* Enhanced Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-paw,
.floating-heart,
.floating-star {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.floating-paw::before {
    content: "🐾";
}

.floating-heart::before {
    content: "❤️";
}

.paw-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.paw-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.paw-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.heart-1 {
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.heart-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.star-1 {
    top: 40%;
    left: 5%;
    animation-delay: 1.5s;
}

.star-2 {
    bottom: 10%;
    right: 25%;
    animation-delay: 2.5s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Enhanced Scroll Indicator */
.scroll-indicator-new {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {

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

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

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

/* Enhanced Animation classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal Utilities (lightweight AOS) */
.reveal-up,
.reveal-right,
.reveal-left,
.reveal-zoom {
    opacity: 1;
    will-change: transform, opacity;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease-out;
}

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

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

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

.reveal-zoom {
    transform: scale(0.98);
}

.in-view {
    opacity: 1;
    transform: none;
}

/* Hover animation helpers */
.hover-float {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-float:hover {
    transform: translateY(-6px) scale(1.02);
}

.hover-glow:hover {
    box-shadow: 0 14px 34px rgba(108, 13, 154, 0.18), 0 6px 16px rgba(239, 197, 74, 0.12);
}

.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

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

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

/* Responsive Design Enhancements */
@media (max-width: 1200px) {
    .hero-split-container {
        flex-direction: column;
    }

    .hero-content-side {
        padding: 3rem 2rem;
    }

    .hero-gallery-side {
        padding: 2rem;
        min-height: 500px;
    }

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

@media (max-width: 768px) {
    .hero-content-side {
        padding: 2rem 1.5rem;
    }

    .heading-line-1,
    .heading-line-2,
    .heading-line-3 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }

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

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .pet-stories-carousel {
        height: 300px;
    }

    .story-overlay {
        padding: 1.5rem;
    }

    .story-content h4 {
        font-size: 1.3rem;
    }

    .story-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content-side {
        padding: 1.5rem 1rem;
    }

    .heading-line-1,
    .heading-line-2,
    .heading-line-3 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .pet-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .pulse-ring {
        width: 90px;
        height: 90px;
    }

    .pulse-ring.ring-2 {
        width: 120px;
        height: 120px;
    }
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridPulse 10s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 107, 168, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite, drift 12s ease-in-out infinite;
}

@keyframes float {

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

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

@keyframes drift {

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

    25% {
        transform: translateX(-15px) translateY(-10px);
    }

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

    75% {
        transform: translateX(15px) translateY(-5px);
    }
}

@keyframes gridPulse {

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

    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

@keyframes heroImageFloat {

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

    25% {
        transform: translateY(-8px) translateX(-5px);
    }

    50% {
        transform: translateY(-12px) translateX(3px);
    }

    75% {
        transform: translateY(-6px) translateX(8px);
    }
}

.hero-image-float {
    animation: heroImageFloat 15s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-normal);
}

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

.btn-primary {
    background: transparent !important;
    border: 2px solid #fbbf24 !important;
    color: #fbbf24 !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: transparent !important;
    border: 2px solid #fbbf24 !important;
    color: #fbbf24 !important;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.service-card .card-body {
    padding: 2rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Doctor Cards */
.doctor-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.doctor-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.doctor-card:hover img {
    transform: scale(1.05);
}

.doctor-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.doctor-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.doctor-card .specialty {
    color: var(--highlight-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all var(--transition-normal);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--highlight-color);
    opacity: 0.3;
    font-family: 'Cairo', sans-serif;
}

.testimonial p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author small {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-control {
    border-radius: 12px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
}

.form-control:focus {
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(155, 107, 168, 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Background sections */
.bg-light {
    background: var(--bg-secondary) !important;
}

/* Apple-Style Liquid Glass Navigation */
.header-navbar,
.navbar.header-navbar,
nav.navbar.header-navbar,
#glassHeader {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.header-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0.01) 100%);
    pointer-events: none;
    border-radius: 0 0 20px 20px;
}

.header-navbar.scrolled,
.navbar.header-navbar.scrolled,
nav.navbar.header-navbar.scrolled,
#glassHeader.scrolled {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(35px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Brand Logo */
.brand-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-image {
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.brand-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(155, 107, 168, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-normal);
}

.brand-logo:hover .brand-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.brand-logo:hover .brand-image {
    transform: scale(1.1);
}

.brand-text {
    color: rgba(0, 0, 0, 0.85) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    font-size: 1.1rem !important;
}

/* Apple-Style Navigation Links */
.glass-nav-link,
.nav-link.glass-nav-link {
    color: rgba(0, 0, 0, 0.8) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    padding: 0.6rem 1rem !important;
    border-radius: 8px !important;
    margin: 0 0.15rem !important;
    overflow: hidden !important;
    text-decoration: none !important;
    letter-spacing: -0.01em !important;
    width: max-content;
}

.glass-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.9);
}

.glass-nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.glass-nav-link:hover,
.nav-link.glass-nav-link:hover {
    color: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 0.75px;
}

.glass-nav-link:hover .nav-underline {
    width: 70%;
}

/* Glass Toggle Button */
.glass-toggle {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    transition: all var(--transition-normal);
}

.glass-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}





/* Centered Header Styles */
.categories-title-main {
    font-weight: 700;
    font-size: 2rem;
    color: #2c3e50;
    /* Dark slate color for title */
    vertical-align: middle;
}

.view-all-link-main {
    text-decoration: none;
    color: #8A2BE2;
    /* Purple color */
    font-weight: 600;
    font-size: 1rem;
    vertical-align: middle;
}



/* --- Card-Specific Colors --- */

/* Styling for the Section Header */
.categories-title-right {
    font-size: 2.5rem;
    /* حجم كبير وواضح */
    font-weight: 700;
    /* خط عريض */
    color: #333;
    text-align: right;
    /* محاذاة لليمين */
}

.view-all-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8A2BE2;
    /* اللون الأرجواني */
    text-decoration: none;
}

/* Base style for the category card with popping image */
.category-card-pop {
    position: relative;
    /* مهم جداً لتحديد موضع الصورة */
    height: 150px;
    /* ارتفاع موحد للبطاقات */
    border-radius: 1.25rem;
    /* زوايا دائرية */
    display: flex;
    justify-content: center;
    /* توسيط النص أفقيًا */
    align-items: flex-end;
    /* وضع النص في الأسفل */
    padding-bottom: 1.25rem;
    /* مسافة للنص من الحافة السفلية */
    margin-top: 45px;
    /* مسافة علوية للسماح ببروز الصورة */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Style for the circular popping image */
.category-image-pop {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;

}

.category-text-pop {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* --- Card-Specific Background Colors --- */
.category-birds {
    background-color: #004AAD;
}

/* أزرق */
.category-fish {
    background-color: #16AF4E;
}

/* أخضر */
.category-dogs {
    background-color: #63B4D1;
}

/* أزرق فاتح */
.category-cats {
    background-color: #FFC107;
}

/* أصفر */

/* Responsive adjustments for the header on small screens */
@media (max-width: 576px) {
    .categories-title-right {
        text-align: center;
        /* توسيط العنوان في الشاشات الصغيرة */
    }
}


/* Modern Badge Styles */
.badge {
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Enhanced Modern Card Hover Effects */
.modern-card:hover .modern-card-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-5deg);
    }

    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Best Products Section Styles */
.best-products-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.products-title {
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.categories-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.product-card-small {
    height: 200px;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 13, 154, 0.8) 0%, rgba(78, 9, 111, 0.9) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

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

.product-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-title-small {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.product-features {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 193, 7, 0.9);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Special styling for different product types */
.product-card-food .product-overlay {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.9) 0%, rgba(176, 224, 230, 0.9) 100%);
}

.product-card-toys .product-overlay {
    background: linear-gradient(135deg, rgba(152, 251, 152, 0.9) 0%, rgba(144, 238, 144, 0.9) 100%);
}

.product-card-care .product-overlay {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.9) 0%, rgba(255, 167, 38, 0.9) 100%);
}

.product-card-accessories .product-overlay {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.9) 0%, rgba(66, 165, 245, 0.9) 100%);
}

.product-card-health .product-overlay {
    background: linear-gradient(135deg, rgba(240, 98, 146, 0.9) 0%, rgba(236, 64, 122, 0.9) 100%);
}

/* Shop All Button */
.btn-shop-all {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-shop-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-shop-all:hover::before {
    left: 100%;
}

.btn-shop-all:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Mobile App Style Category Cards */
.categories-title-right {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    text-align: right;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.view-all-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Mobile App Category Cards - Using Actual Images
.category-card-mobile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    height: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.category-card-mobile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-normal);
}

.category-card-mobile:hover .category-image {
    transform: scale(1.05);
}

.category-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    padding: 0.75rem;
    margin: 0;
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Responsive adjustments for mobile categories */
@media (max-width: 768px) {
    .category-card-mobile {
        height: 140px;
    }

    .category-text {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .categories-title-right {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-card-mobile {
        height: 120px;
    }

    .category-text {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}


/* Responsive Design for Products */
@media (max-width: 768px) {
    .products-title {
        font-size: 2rem;
    }

    .product-card {
        height: 250px;
    }

    .product-card-small {
        height: 180px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-subtitle {
        font-size: 1.2rem;
    }

    .product-title-small {
        font-size: 1.2rem;
    }

    .product-features {
        gap: 0.5rem;
    }

    .feature-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-card {
        height: 200px;
    }

    .product-card-small {
        height: 150px;
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-subtitle {
        font-size: 1rem;
    }

    .product-title-small {
        font-size: 1rem;
    }
}

/* Modern About Section Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.feature-item:hover {
    background: rgba(108, 13, 154, 0.05);
    transform: translateX(5px);
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.feature-item:hover .feature-icon-small {
    transform: scale(1.1) rotate(10deg);
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.about-image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.about-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-card:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
}

.overlay-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modern Call to Action Styles */
.cta-content {
    position: relative;
    z-index: 2;
}

.modern-submit-btn {
    background: #632194 !important;
    /* موف أساسي */
    color: #fff !important;
    /* النص أبيض */
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-submit-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: var(--shadow-lg) !important;
}


.cta-icon {
    width: 80px;
    height: 80px;
    background: rgb(201, 201, 201);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--highlight-color);
    animation: float 3s ease-in-out infinite;
}

.cta-btn-primary {
    background: var(--text-white) !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    transition: var(--transition-normal) !important;
    box-shadow: var(--shadow-md) !important;
}

.cta-btn-primary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--primary-color) !important;
}

.cta-btn-secondary {
    border: 2px solid var(--text-white) !important;
    color: var(--text-white) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    transition: var(--transition-normal) !important;
}

.cta-btn-secondary:hover {
    background: var(--text-white) !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px) scale(1.05) !important;
    border-color: var(--text-white) !important;
}

.quick-stats {
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--highlight-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-card p {
    margin: 0;
    color: var(--text-white);
    font-weight: 600;
    opacity: 0.9;
}

/* Responsive adjustments for features grid */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .overlay-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }
}

/* Modern Contact Form Styles */
.modern-contact-form {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.modern-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.form-container {
    position: relative;
    z-index: 2;
}

.modern-input {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--bg-primary);
}

.modern-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 13, 154, 0.15);
    background: var(--bg-primary);
}

.modern-input::placeholder {
    color: var(--text-light);
    font-style: italic;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.form-label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.modern-submit-btn {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 1rem 3rem !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: var(--transition-normal) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Form Field Animations */
.modern-input:focus+.form-label,
.modern-input:not(:placeholder-shown)+.form-label {
    transform: translateY(-8px);
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Success/Error States */
.modern-input.is-valid {
    border-color: var(--success-color);
}

.modern-input.is-invalid {
    border-color: var(--danger-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        text-align: center;
    }

    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
}

.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-slow);
}

/* Enhanced visual effects */
.bg-gradient-accent {
    background: var(--gradient-accent) !important;
}

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

/* Service icon animations */
.service-icon {
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Doctor card enhancements */
.doctor-card .position-relative {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.doctor-card .position-absolute {
    transition: all var(--transition-normal);
}

.doctor-card:hover .position-absolute {
    transform: scale(1.1);
}

/* Testimonial enhancements */
.testimonial-avatar {
    transition: all var(--transition-normal);
}

.testimonial:hover .testimonial-avatar {
    transform: scale(1.1);
}

/* Form enhancements */
.form-control:focus {
    transform: translateY(-2px);
}

/* Floating action button */
.position-fixed .btn {
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.position-fixed .btn:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Progress bar */
.progress {
    background: transparent !important;
}

.progress-bar {
    background: var(--gradient-accent) !important;
}

/* Section spacing improvements */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Responsive improvements */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .glass-nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.25rem 0;
    }

    .brand-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header-navbar {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px);
    }

    .glass-dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Footer Gradient Styles */
.footer-gradient {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.footer-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 107, 168, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite, drift 12s ease-in-out infinite;
}

.footer-gradient .container {
    position: relative;
    z-index: 2;
}

.footer-link {
    transition: all var(--transition-normal);
    position: relative;
}

.footer-link:hover {
    color: white !important;
    transform: translateX(5px);
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-normal);
}

.footer-link:hover::before {
    width: 100%;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(155, 107, 168, 0.3);
}

.border-white-25 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Bootstrap Primary Color Override */
.text-primary {
    color: #635276 !important;
}

.bg-primary {
    background-color: #635276 !important;
}

.btn-primary {
    background-color: #fbbf24 !important;
    border-color: #fbbf24 !important;
}

.btn-primary:hover {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
}

.btn-outline-primary {
    color: #635276 !important;
    border-color: #635276 !important;
}

.btn-outline-primary:hover {
    background-color: #635276 !important;
    border-color: #635276 !important;
    color: white !important;
}

.border-primary {
    border-color: #635276 !important;
}

.bg-primary.bg-opacity-10 {
    background-color: rgba(99, 82, 118, 0.1) !important;
}

.bg-primary.bg-opacity-25 {
    background-color: rgba(99, 82, 118, 0.25) !important;
}

.bg-primary.bg-opacity-50 {
    background-color: rgba(99, 82, 118, 0.5) !important;
}

.bg-primary.bg-opacity-75 {
    background-color: rgba(108, 13, 154, 0.75) !important;
}

/* Mobile-First Responsive Design Updates */
@media (max-width: 768px) {
    .hero-split-container {
        flex-direction: column;
    }

    .hero-content-side,
    .hero-gallery-side {
        flex: none;
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .heading-line-1,
    .heading-line-2,
    .heading-line-3 {
        font-size: 2.5rem !important;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-content-side {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }

    .heading-line-1,
    .heading-line-2,
    .heading-line-3 {
        font-size: 2rem !important;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Focus States for Accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--highlight-color);
    outline-offset: 2px;
}

/* Modern Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

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

.loading-shimmer {
    background: linear-gradient(90deg, rgba(108, 13, 154, 0.1) 25%, rgba(108, 13, 154, 0.2) 50%, rgba(108, 13, 154, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Enhanced Card Animations */
.card-hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

/* Modern Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 13, 154, 0.25);
}

.form-control {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Games Section Styles */
.games-section {
    background: linear-gradient(180deg, #f8f3ff 0%, #ffffff 100%);
    position: relative;
}

.games-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Game Card Styles to match the design */
.game-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(108, 13, 154, 0.1);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 13, 154, 0.03) 0%, rgba(78, 9, 111, 0.05) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(108, 13, 154, 0.15);
    border-color: rgba(108, 13, 154, 0.2);
}

.game-image {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.game-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    /* border-radius: 50%; */
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
    /* border: 3px solid rgba(108, 13, 154, 0.1); */
}

.game-card:hover .game-image img {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(108, 13, 154, 0.3);
}

.game-content {
    position: relative;
    z-index: 2;
}

.game-rating {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: right;
    gap: 0.25rem;
}

.game-rating i {
    font-size: 1.2rem;
    color: #ffc107;
    transition: transform 0.2s ease;
}

.game-card:hover .game-rating i {
    transform: scale(1.2);
}

.game-rating i.bi-star {
    color: #e0e0e0;
}

.game-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    text-align: right;
}

.game-card:hover .game-name {
    color: var(--primary-color);
}

.game-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-direction: row;
    direction: ltr;
}

.price-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(108, 13, 154, 0.3);
}

.price-circle i {
    color: white;
    font-size: 1.3rem;
}

.game-card:hover .price-circle {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 16px rgba(108, 13, 154, 0.4);
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.game-card:hover .price {
    color: var(--primary-color);
}

/* View All Games Button */
.btn-view-all-games {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #8b5fbf 0%, #6c0d9a 100%);
    border: none;
    color: white;
}

.btn-view-all-games::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-view-all-games:hover::before {
    left: 100%;
}

.btn-view-all-games:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(108, 13, 154, 0.4);
    color: white;
}

/* Responsive Design for Games */
@media (max-width: 768px) {
    .games-title {
        font-size: 2rem;
    }

    .game-card {
        padding: 1.25rem;
    }

    .game-image img {
        width: 100px;
        height: 100px;
    }

    .game-name {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.2rem;
    }

    .price-circle {
        width: 45px;
        height: 45px;
    }

    .price-circle i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .games-title {
        font-size: 1.8rem;
    }

    .game-card {
        padding: 1rem;
    }

    .game-image img {
        width: 80px;
        height: 80px;
    }

    .game-name {
        font-size: 1rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .price-circle {
        width: 40px;
        height: 40px;
    }

    .price-circle i {
        font-size: 1rem;
    }

    .btn-view-all-games {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Animation for game cards on scroll */
.game-card {
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.game-card.animate {
    opacity: 1;
    transform: translateY(0);
    animation: gameCardFadeIn 0.6s ease forwards;
}

@keyframes gameCardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

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

/* Stagger animation delay for game cards */
.game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.game-card:nth-child(3) {
    animation-delay: 0.3s;
}

.game-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Pet Categories Section Styles */
.pet-categories-section {
    background: #ffffff;
}

.pet-categories-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.pet-category-card {
    background: #e8d5f2;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pet-category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    margin-bottom: 1.5rem;
}

.category-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.category-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Responsive Design for Pet Categories */
@media (max-width: 768px) {
    .pet-categories-title {
        font-size: 2rem;
    }

    .pet-category-card {
        padding: 1.5rem 1rem;
        height: 160px;
    }

    .category-icon img {
        width: 60px;
        height: 60px;
    }

    .category-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .pet-categories-title {
        font-size: 1.8rem;
    }

    .pet-category-card {
        padding: 1rem;
        height: 140px;
    }

    .category-icon img {
        width: 50px;
        height: 50px;
    }

    .category-name {
        font-size: 1rem;
    }
}

/* View All Categories Button */
.btn-view-all-categories {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-view-all-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-view-all-categories:hover::before {
    left: 100%;
}

.btn-view-all-categories:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}

/* Active navigation styles */
.navbar-nav .nav-link.active {
    color: var(--highlight-color) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active .nav-underline {
    width: 100%;
    opacity: 1;
}

.navbar-nav .nav-link.active .nav-text {
    color: var(--highlight-color);
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Section scroll offset for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
    section[id] {
        scroll-margin-top: 80px;
    }

    .navbar-nav .nav-link.active {
        background-color: rgba(var(--highlight-color-rgb), 0.1);
        border-radius: 8px;
    }
}

/* Enhanced navigation link hover effects */
.navbar-nav .nav-link:hover {
    color: var(--highlight-color) !important;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover .nav-underline {
    width: 100%;
    opacity: 0.7;
}

/* Revolutionary Immersive Hero Experience */
.immersive-hero-experience {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* 3D Morphing Canvas Background */
.morphing-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.morphing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.color-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Particle Animation */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Story Interface */
.story-interface {
    position: relative;
    height: 100vh;
    z-index: 5;
    display: flex;
    align-items: center;
}

.story-panels {
    position: relative;
    width: 100%;
    height: 100%;
}

.story-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transform: scale(0.9) rotate(5deg);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.story-panel.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    z-index: 2;
}

/* Visual Layers */
.story-visual {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.visual-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.layer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-size: cover;
    transform: scale(1.1);
    transition: all 2s ease;
}

.layer-interactive {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pet Silhouette with Heartbeat */
.pet-silhouette {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: breathe 4s ease-in-out infinite;
}

.heartbeat-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px #ff6b6b;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes breathe {

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

    50% {
        transform: scale(1.05);
    }
}

/* Care Icons */
.care-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.care-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64ffda;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.care-icon:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.care-icon:nth-child(2) {
    top: 70%;
    left: 30%;
    animation-delay: 0.5s;
}

.care-icon:nth-child(3) {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.care-icon:hover {
    transform: scale(1.2);
    background: rgba(100, 255, 218, 0.2);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
}

@keyframes iconPulse {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Product Constellation */
.product-constellation {
    position: relative;
    width: 300px;
    height: 300px;
}

.product-star {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd54f;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.product-star:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.product-star:nth-child(2) {
    bottom: 20%;
    left: 10%;
}

.product-star:nth-child(3) {
    bottom: 20%;
    right: 10%;
}

.star-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-star:hover .star-glow {
    opacity: 1;
    animation: starGlow 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

@keyframes starGlow {

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

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Team Galaxy */
.team-galaxy {
    position: relative;
    width: 250px;
    height: 250px;
}

.doctor-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9800;
    font-size: 3rem;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.3) 0%, transparent 70%);
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {

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

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.expertise-orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotateOrbit 10s linear infinite;
}

.orbit-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    left: -75px;
    animation-duration: 8s;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
    animation-duration: 12s;
}

.orbit-3 {
    width: 250px;
    height: 250px;
    top: -125px;
    left: -125px;
    animation-duration: 15s;
}

.expertise-node {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4fc3f7;
    font-size: 1.2rem;
}

@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitPulse {
    0% {
        transform: translateX(-50%) scale(0);
    }

    50% {
        transform: translateX(-50%) scale(1.2);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

/* Story Narrative */
.story-narrative {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    color: white;
}

.narrative-container {
    max-width: 500px;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #64ffda;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.story-title {
    margin-bottom: 24px;
}

.title-animated {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(45deg, #64ffda, #ff6b6b, #ffd54f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease-in-out infinite;
    margin-bottom: 8px;
}

@keyframes titleShimmer {

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

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

.subtitle-flow {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

.story-description {
    margin-bottom: 32px;
}

.text-reveal {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    animation: textReveal 1.5s ease-out;
}

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

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

/* Interactive Stats */
.interactive-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-bubble {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 16px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.stat-bubble:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #64ffda;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Product Magic List & Team Powers */
.product-magic-list,
.team-powers {
    margin-bottom: 32px;
}

.magic-item,
.power-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.magic-item:hover,
.power-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.magic-item i,
.power-badge i {
    color: #ffd54f;
    font-size: 1.2rem;
}

/* Action Orbs */
.action-orbs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.orb-primary,
.orb-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.orb-primary {
    background: linear-gradient(45deg, #64ffda, #4fc3f7);
    color: #0a0a0a;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.orb-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.orb-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.orb-primary:hover .orb-ripple {
    transform: scale(1);
}

/* Immersive Navigation */
.immersive-navigation {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-constellation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.nav-star {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
}

.star-core {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-star.active .star-core {
    background: rgba(100, 255, 218, 0.3);
    border-color: #64ffda;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
}

.star-rings {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {

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

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.constellation-connection {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    z-index: -1;
}

.time-flow-indicator {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

.flow-wave {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, #64ffda 50%, transparent 100%);
    margin: 0 auto 10px;
    animation: flowWave 2s ease-in-out infinite;
}

@keyframes flowWave {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1.5);
        opacity: 1;
    }
}

.flow-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Floating Interactions */
.floating-interactions {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.interaction-bubble {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64ffda;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bubbleFloat 4s ease-in-out infinite;
}

.interaction-bubble:nth-child(2) {
    animation-delay: 1s;
}

.interaction-bubble:nth-child(3) {
    animation-delay: 2s;
}

@keyframes bubbleFloat {

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

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

.bubble-ripple {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(100, 255, 218, 0.5);
    border-radius: 50%;
    animation: bubbleRipple 2s ease-in-out infinite;
}

@keyframes bubbleRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Scroll Portal */
.scroll-portal {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    cursor: pointer;
}

.portal-ring {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
    animation: portalSpin 4s linear infinite;
}

.portal-energy {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #64ffda 0%, transparent 100%);
    transform: translate(-50%, -50%);
    animation: portalEnergy 2s ease-in-out infinite;
}

@keyframes portalSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes portalEnergy {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scaleY(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scaleY(1.5);
    }
}

.portal-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Magical Ripple Effect */
@keyframes magicalRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .floating-interactions {
        right: 20px;
    }

    .story-narrative {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .story-panel {
        grid-template-columns: 1fr;
        grid-template-rows: 0.4fr 0.6fr;
    }

    .story-narrative {
        padding: 30px 20px;
    }

    .interactive-stats {
        justify-content: center;
        gap: 16px;
    }

    .action-orbs {
        justify-content: center;
    }

    .floating-interactions {
        display: none;
    }

    .immersive-navigation {
        left: 20px;
    }

    .nav-constellation {
        gap: 15px;
    }

    .nav-star {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .story-narrative {
        padding: 20px 15px;
    }

    .orb-primary,
    .orb-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .interactive-stats {
        flex-direction: column;
        align-items: center;
    }

    .action-orbs {
        flex-direction: column;
        align-items: center;
    }
}

/* Futuristic Hero Section */
.hero-new {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    opacity: 0;
    animation: fadeInHero 1s ease-out forwards;
    display: flex;
    flex-direction: column;
}

/* Futuristic Background Effects */
.hero-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(108, 13, 154, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(239, 197, 74, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(108, 13, 154, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Animated Grid Pattern */
.hero-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(108, 13, 154, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 13, 154, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes fadeInHero {
    to {
        opacity: 1;
    }
}

/* Enhanced Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 107, 168, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

/* Futuristic Split Screen Layout */
.hero-split-container {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    flex: 1;
}

.hero-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
    background: transparent;
    position: relative;
    z-index: 3;
}

.hero-content-wrapper {
    max-width: 600px;
    width: 100%;
}

/* Enhanced Pet Icon Animation */
.hero-pet-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.pet-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9b6ba8, #b47bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(155, 107, 168, 0.3);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(155, 107, 168, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-ring.ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: 1s;
    border-color: rgba(155, 107, 168, 0.2);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Futuristic Main Content */
.hero-main-content {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(108, 13, 154, 0.5);
}

.hero-tagline {
    margin-bottom: 1rem;
}

.tagline-text {
    background: var(--gradient-futuristic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.hero-heading {
    margin-bottom: 1.5rem;
}

.heading-line-1,
.heading-line-2,
.heading-line-3 {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(239, 197, 74, 0.5);
}

.heading-line-2 {
    background: var(--gradient-futuristic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(108, 13, 154, 0.3);
}

/* Enhanced Call-to-Action Buttons */
.hero-cta-buttons {
    margin-bottom: 2.5rem;
}

.hero-btn-primary {
    background: var(--gradient-futuristic);
    border: 2px solid transparent;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 30px rgba(108, 13, 154, 0.4);
    transition: all 0.4s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-holographic);
    transition: left 0.5s ease;
    z-index: -1;
}

.hero-btn-primary:hover::before {
    left: 0;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(239, 197, 74, 0.5);
    color: white;
}

.hero-btn-secondary {
    border: 2px solid var(--logo-gold);
    color: var(--logo-gold);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(239, 197, 74, 0.2);
}

.hero-btn-secondary:hover {
    background: var(--logo-gold);
    color: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(239, 197, 74, 0.5);
    border-color: var(--logo-gold);
}

.hero-btn-secondary:hover i {
    color: white;
}

/* Enhanced Trust Badges */
.hero-trust {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: rgba(155, 107, 168, 0.05);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(155, 107, 168, 0.1);
    transform: translateY(-2px);
}

.trust-badge i {
    color: #9b6ba8;
    font-size: 1.1rem;
}

/* Enhanced Gallery Side */
.hero-gallery-side {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-container {
    width: 100%;
    max-width: 500px;
}

/* Enhanced Pet Stories Carousel */
.pet-stories-carousel {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-card.active {
    opacity: 1;
}

.story-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.story-rating {
    margin-bottom: 0.5rem;
}

.story-rating i {
    color: #ffd700;
    font-size: 0.9rem;
    margin-right: 2px;
}

.story-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.story-author {
    font-style: italic;
    opacity: 0.8;
}

/* Enhanced Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #9b6ba8;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(155, 107, 168, 0.7);
    transform: scale(1.1);
}

/* Enhanced Live Status */
.live-status {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

.next-appointment {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.emergency-contact {
    margin-top: 1rem;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    transform: translateY(-2px);
}

/* Enhanced Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-paw,
.floating-heart,
.floating-star {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.floating-paw::before {
    content: "🐾";
}

.floating-heart::before {
    content: "❤️";
}

.paw-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.paw-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.paw-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.heart-1 {
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.heart-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.star-1 {
    top: 40%;
    left: 5%;
    animation-delay: 1.5s;
}

.star-2 {
    bottom: 10%;
    right: 25%;
    animation-delay: 2.5s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Enhanced Scroll Indicator */
.scroll-indicator-new {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {

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

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

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

/* Enhanced Animation classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

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

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

/* Responsive Design Enhancements */
@media (max-width: 1200px) {
    .hero-split-container {
        flex-direction: column;
    }

    .hero-content-side {
        padding: 3rem 2rem;
    }

    .hero-gallery-side {
        padding: 2rem;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-content-side {
        padding: 2rem 1.5rem;
    }

    .heading-line-1,
    .heading-line-2,
    .heading-line-3 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .pet-stories-carousel {
        height: 300px;
    }

    .story-overlay {
        padding: 1.5rem;
    }

    .story-content h4 {
        font-size: 1.3rem;
    }

    .story-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content-side {
        padding: 1.5rem 1rem;
    }

    .heading-line-1,
    .heading-line-2,
    .heading-line-3 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .pet-stories-carousel {
        height: 250px;
    }

    .story-overlay {
        padding: 1rem;
    }

    .story-content h4 {
        font-size: 1.1rem;
    }

    .story-content p {
        font-size: 0.8rem;
    }
}

.shift-left {
    margin-right: 259px;
}

.text-white-75 {
    margin-right: 14px;
}

.btn-outline-purple {
    background-color: transparent;
    color: #6C0D9A;
    border: 2px solid #6C0D9A;
    padding: 1rem 2.5rem;
    border-radius: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-outline-purple:hover {
    background-color: #6C0D9A;
    color: #fff;
}

/* Emergency Services Section RTL Styles */
.emergency-features {
    direction: rtl;
}

.emergency-features .d-flex {
    direction: rtl;
    justify-content: flex-start;
}

.emergency-features .d-flex .text-end {
    text-align: right;
    margin-right: 1rem;
}

.emergency-features .d-flex i {
    color: var(--primary-color) !important;
    font-size: 1.5rem !important;
    margin-left: 0.75rem;
    margin-right: 0;
}

.emergency-features .d-flex h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.emergency-features .d-flex p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Emergency button styles */
.btn-danger {
    background-color: #ba3b32 !important;
    border-color: #CB544B !important;
    color: white !important;
    transition: all var(--transition-normal);
}

.btn-danger:hover {
    background-color: #CB544B !important;
    border-color: #CB544B !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 92, 117, 0.25);
}

/* Ensure proper RTL alignment for the entire section */
.py-5.bg-light .container .row .col-lg-6 .fade-in {
    direction: rtl;
    text-align: right;
}

.py-5.bg-light .container .row .col-lg-6 .fade-in h2 {
    text-align: right;
    direction: rtl;
}

.py-5.bg-light .container .row .col-lg-6 .fade-in p {
    text-align: right;
    direction: rtl;
}

/* Mobile responsiveness for emergency features */
@media (max-width: 768px) {
    .emergency-features .d-flex {
        flex-direction: row-reverse;
        align-items: flex-start;
    }

    .emergency-features .d-flex i {
        margin-left: 0.5rem;
        margin-right: 0;
        flex-shrink: 0;
    }

    .emergency-features .d-flex .text-end {
        margin-right: 0.5rem;
    }
}

.emergency-row {
    flex-direction: row !important;
}

/* Landscape Photo Section at Hero Bottom */
.hero-landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center bottom/cover;
    z-index: 1;
}

.hero-landscape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(108, 13, 154, 0.2) 50%,
            rgba(108, 13, 154, 0.4) 100%);
}

/* Floating 3D Bit Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-bit {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-futuristic);
    border-radius: 4px;
    animation: float3D 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(108, 13, 154, 0.5);
}

.floating-bit:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-bit:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.floating-bit:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.floating-bit:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 9s;
}

@keyframes float3D {

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

    25% {
        transform: translateY(-20px) rotateX(180deg) rotateY(90deg);
    }

    50% {
        transform: translateY(-40px) rotateX(360deg) rotateY(180deg);
    }

    75% {
        transform: translateY(-20px) rotateX(180deg) rotateY(270deg);
    }
}

/* Parallax Effects */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Futuristic Animations */
@keyframes holographicShimmer {
    0% {
        background-position: -200% center;
    }

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

.holographic-text {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(239, 197, 74, 0.4) 25%,
            rgba(108, 13, 154, 0.4) 50%,
            rgba(239, 197, 74, 0.4) 75%,
            transparent 100%);
    background-size: 200% 100%;
    animation: holographicShimmer 3s ease-in-out infinite;
}

/* Section background themes (subtle, non-intrusive) */
.bg-section-soft {
    background: linear-gradient(180deg, #FFFFFF 0%, #fdecdf 100%);
}

.bg-alt {
    background: linear-gradient(180deg, #FFFFFF 0%, #e0f2fe 100%);
}

/* Categories Section Spacing */
.categories-section {
    padding-top: 10px !important;
    margin-top: 40px;
}

/* 3D Identity Sections */
.identity-section-3d {
    position: relative;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 160px 0;
    min-height: 80vh;
    overflow: hidden;
}

.identity-section-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(108, 13, 154, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(239, 197, 74, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 10s ease-in-out infinite;
}

.identity-3d-object {
    width: 280px;
    height: 280px;
    margin: 40px auto;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3D 12s linear infinite;
    perspective: 1200px;
}

/* Rotating glow ring */
.identity-3d-object::before {
    /* content: ''; */
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(239, 197, 74, 0.0), rgba(239, 197, 74, 0.6), rgba(108, 13, 154, 0.0));
    filter: blur(8px);
    animation: spin 6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.paw-container {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: float 4s ease-in-out infinite;
}

.paw-print {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotateX(30deg) rotateY(0deg) rotateZ(-45deg);
    transform-style: preserve-3d;
}

.paw-pad,
.paw-toe {
    position: absolute;
    width: 80px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
    box-shadow: 0 0 25px rgba(239, 197, 74, 0.35), inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paw-pad {
    width: 100px;
    height: 90px;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.paw-toe {
    width: 50px;
    height: 45px;
}

.paw-toe:nth-child(2) {
    top: 20%;
    left: 15%;
    transform: rotate(20deg);
}

.paw-toe:nth-child(3) {
    top: 10%;
    left: 45%;
    transform: rotate(0deg);
}

.paw-toe:nth-child(4) {
    top: 20%;
    left: 75%;
    transform: rotate(-20deg);
}

.paw-toe:nth-child(5) {
    top: 45%;
    left: 90%;
    transform: rotate(-45deg);
}

.identity-3d-object:hover .paw-pad,
.identity-3d-object:hover .paw-toe {
    transform: translateZ(20px) scale(1.05);
    box-shadow: 0 0 40px rgba(239, 197, 74, 0.45), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes rotate3D {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #6C0D9A 0%, #EFC54A 50%, #6C0D9A 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(108, 13, 154, 0.5);
}

.scroll-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}

/* Ensure elements that use pointer state also use the custom pet cursor */
a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
label,
select,
summary,
.btn,
.nav-link,
.dropdown-item,
[onclick],
[tabindex]:not([tabindex="-1"]),
.cursor-pointer {
    cursor: url('../images/Pet.svg'), pointer !important;
}

@keyframes float {

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

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

/* Hero content enhancements */
.identity-content .hero-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(239, 197, 74, 0.15);
    color: #F9D358;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: right !important;
    font-family: 'Cairo', sans-serif !important;
}

.identity-title {
    color: #FFFFFF !important;
    font-size: 42px;
    line-height: 1.2;
    margin-top: 16px;
    text-align: right !important;
    font-family: 'Cairo', sans-serif !important;
}

.identity-description,
.identity-content .lead {
    color: #E6E6F0;
    font-size: 18px;
    margin-top: 12px;
    text-align: right !important;
    font-family: 'Cairo', sans-serif !important;
}

.identity-bullets {
    list-style: none;
    margin: 16px 0 0 0;
    padding: 0;
    text-align: right !important;
}

.identity-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #EDEDF7;
    margin-top: 10px;
    justify-content: flex-end !important;
    flex-direction: row-reverse !important;
}

.identity-bullets i {
    color: #F9D358;
}

.identity-cta {
    margin-top: 20px;
    margin-bottom: 40px !important;
    text-align: right !important;
}

.identity-cta .btn {
    margin-right: 10px;
    margin-left: 0;
}

.identity-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    justify-content: flex-end !important;
    text-align: right !important;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    direction: rtl;
    flex-direction: row-reverse;
}

.identity-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.identity-stat .value {
    font-size: 28px;
    font-weight: 900;
    color: #F9D358;
    text-shadow: 0 0 15px rgba(249, 211, 88, 0.3);
    margin-bottom: 4px;
    line-height: 1;
    direction: ltr;
}

.identity-stat .label {
    color: #E6E6F0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
    direction: rtl;
}

/* Hover effects for stats */
.identity-stat:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(249, 211, 88, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.identity-stat:hover .value {
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(249, 211, 88, 0.5);
}

/* Responsive design for stats */
@media (max-width: 768px) {
    .identity-stats {
        gap: 16px;
        justify-content: center !important;
        margin-top: 24px;
        padding: 16px 0;
    }

    .identity-stat {
        min-width: 100px;
        padding: 12px 16px;
    }

    .identity-stat .value {
        font-size: 24px;
    }

    .identity-stat .label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .identity-stats {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .identity-stat {
        width: 100%;
        max-width: 200px;
        align-items: center;
        text-align: center;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .identity-section-3d {
        padding: 120px 0;
        min-height: 90vh;
    }

    .identity-3d-object {
        width: 220px;
        height: 220px;
    }

    .identity-title {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .identity-section-3d {
        padding: 100px 0;
        min-height: 85vh;
    }

    .identity-3d-object {
        width: 170px;
        height: 170px;
    }

    .identity-title {
        font-size: 28px;
    }
}

.bg-section-soft {
    background: linear-gradient(180deg, #FFFFFF 0%, #fdecdf 100%);
}

.identity-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: right !important;
}

.identity-title {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF !important;
    text-align: right !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background-clip: initial !important;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(108, 13, 154, 0.5);
    font-family: 'Cairo', sans-serif !important;
}

.identity-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.heart-container {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: beat 1.5s ease-in-out infinite;
}

.heart {
    position: relative;
    width: 100px;
    height: 90px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: var(--gradient-primary);
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 90px;
    border-radius: 50px 50px 0 0;
    background: var(--gradient-primary);
}

.heart::before {
    top: -50px;
    left: 0;
}

.heart::after {
    top: 0;
    left: 50px;
    transform: rotate(90deg);
}

@keyframes beat {

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

    50% {
        transform: scale(1.1);
    }
}

@keyframes rotate3D {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: sticky;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #6C0D9A 0%, #EFC54A 50%, #6C0D9A 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(108, 13, 154, 0.5);
}

.scroll-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}

.hero-title-span {
    margin-top: 22px !important;
    margin-bottom: 42px !important;
    color: rgb(247 196 31) !important;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-rating {
    max-width: 42px;
    max-height: 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.collapse {
    visibility: visible !important;
}

.accordion-body {
    text-align: right !important;
}

.accordion-button::after {
    margin-left: 0 !important;
    margin-right: auto !important;
}