    /* ===== Custom Styles for Animal Medical Center ===== */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Custom selection color */
    ::selection {
        background: rgba(240, 184, 0, 0.3);
        color: #fff;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0a1628;
    }
    ::-webkit-scrollbar-thumb {
        background: #1a3260;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #f0b800;
    }

    /* Nav scroll state */
    nav.scrolled {
        background: rgba(10, 22, 40, 0.95) !important;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Service card hover effect */
    .service-card {
        position: relative;
        overflow: hidden;
    }
    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #f0b800, #d4a017);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }
    .service-card:hover::before {
        transform: scaleX(1);
    }

    /* Testimonial card hover */
    .testimonial-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    /* Floating animation for hero cards */
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
    .float-animation {
        animation: float 4s ease-in-out infinite;
    }
    .float-animation-delay {
        animation: float 4s ease-in-out 1s infinite;
    }

    /* Fade-in on scroll */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Pulse dot animation */
    @keyframes pulse-dot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.5); }
    }

    /* Geometric shape rotation */
    @keyframes slow-rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    .rotate-slow {
        animation: slow-rotate 20s linear infinite;
    }

    /* Mobile menu transition */
    #mobileMenu {
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    #mobileMenu.hidden {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }
    #mobileMenu:not(.hidden) {
        max-height: 500px;
        opacity: 1;
    }

    /* Mobile link hover */
    .mobile-link {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .mobile-link:last-child {
        border-bottom: none;
    }

    /* Image hover zoom */
    .img-zoom {
        transition: transform 0.5s ease;
    }
    .img-zoom:hover {
        transform: scale(1.05);
    }

    /* Gold gradient text utility */
    .text-gold-gradient {
        background: linear-gradient(135deg, #f0b800 0%, #d4a017 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
