/* ============================================
   Royal & Classy Recruitment Site Styles
   ============================================ */

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

:root {
    /* Royal Color Palette - Dark Blue & Gold */
    --royal-blue: #1a2b4d;
    --royal-blue-dark: #0f1a2e;
    --royal-blue-light: #2d4a6f;
    --royal-gold: #d4af37;
    --royal-gold-light: #e8c547;
    --royal-gold-dark: #b8941f;
    --accent-blue: #3b6fa8;
    --accent-teal: #2d9cdb;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --text-dark: #1a2b4d;
    --text-light: #6b7280;
    --shadow-sm: 0 2px 8px rgba(26, 43, 77, 0.1);
    --shadow-md: 0 4px 16px rgba(26, 43, 77, 0.15);
    --shadow-lg: 0 8px 32px rgba(26, 43, 77, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* ============================================
   Header & Navigation
   ============================================ */

.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
    animation: headerLine 3s ease-in-out infinite;
}

@keyframes headerLine {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(13%) sepia(28%) saturate(2000%) hue-rotate(195deg) brightness(95%) contrast(90%);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--royal-blue);
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: var(--transition);
}

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

.nav-menu a:hover {
    color: var(--royal-blue);
}

.cta-button {
    background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-gold-dark) 100%);
    background-size: 200% 200%;
    animation: buttonGradient 3s ease infinite;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 200px;
    height: 200px;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--royal-gold-light) 0%, var(--royal-gold) 100%);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--royal-blue);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--royal-blue-dark) 0%, var(--royal-blue) 50%, var(--royal-blue-light) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    animation: heroImageZoom 20s ease-in-out infinite;
}

@keyframes heroImageZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 26, 46, 0.8) 0%, rgba(26, 43, 77, 0.7) 50%, rgba(45, 74, 111, 0.6) 100%);
}

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

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

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-gold-dark) 100%);
    background-size: 200% 200%;
    animation: buttonGradient 3s ease infinite;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--royal-gold-light) 0%, var(--royal-gold) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 40px;
    border: 2px solid var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--royal-blue);
}

/* ============================================
   Medical Professionals Showcase
   ============================================ */

.medical-showcase {
    padding: 100px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.professional-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
    cursor: pointer;
}

.interactive-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.professional-card:nth-child(1) {
    animation-delay: 0s;
}

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

.professional-card:nth-child(3) {
    animation-delay: 4s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.professional-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    animation: none;
}

.professional-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--royal-blue-light) 0%, var(--accent-blue) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 120px;
    position: relative;
    overflow: hidden;
}

.professional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s ease;
    z-index: 0;
}

.professional-card:hover .professional-image img {
    transform: scale(1.2) rotate(2deg);
}

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

.professional-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 43, 77, 0.8) 0%, rgba(59, 111, 168, 0.8) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
}

.professional-image i {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.professional-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.professional-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 15px;
}

.professional-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.professional-features {
    list-style: none;
    margin-bottom: 25px;
    padding-left: 0;
}

/* Add proper padding for lists inside service cards to align with title/description */
.service-card .professional-features {
    padding: 0 40px;
    text-align: left;
}

.professional-features li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 100px;
    line-height: 1.6;
    text-align: left;
}

.professional-features li::before {
    content: '✓';
    position: absolute;
    left: 45px;
    color: var(--royal-gold);
    font-weight: bold;
    font-size: 16px;
}

.professional-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
}

.professional-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: width 0.3s ease;
}

.professional-link:hover {
    color: var(--royal-gold);
    gap: 15px;
}

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

.professional-link i {
    transition: transform 0.3s ease;
}

.professional-link:hover i {
    transform: translateX(5px);
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--light-gray);
    padding: 0;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.2) rotate(2deg);
}

.service-card .service-icon {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

/* Fix icon positioning when there's no image wrapper (services page) */
/* When service card doesn't have image wrapper, add padding and fix icon position */
.service-card:not(:has(.service-image-wrapper)) {
    padding-top: 40px;
    overflow: visible !important;
}

.service-card:not(:has(.service-image-wrapper)) .service-icon {
    margin-top: 0 !important;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--royal-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-gold-dark) 100%);
    background-size: 200% 200%;
    animation: iconGradient 6s ease infinite, iconRotate 20s linear infinite;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
}

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

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--royal-gold-light), var(--royal-gold-dark));
    opacity: 0;
    animation: iconPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.service-card:hover .service-icon {
    animation: iconGradient 2s ease infinite, iconRotate 5s linear infinite;
    transform: scale(1.1);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 15px;
    padding: 0 40px;
    margin-top: 20px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 100%);
    background-size: 200% 200%;
    animation: statsGradient 12s ease infinite;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: statsGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statsGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--royal-gold);
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.4);
    }
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ============================================
   Footer
   ============================================ */

.main-footer {
    background: linear-gradient(135deg, var(--royal-blue-dark) 0%, var(--royal-blue) 100%);
    background-size: 200% 200%;
    animation: footerGradient 15s ease infinite;
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

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

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: footerGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--royal-gold);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--royal-gold);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--royal-gold);
    font-size: 18px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .main-header {
        padding: 15px 0;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text {
        font-size: 24px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin-bottom: 20px;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero-section {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .professionals-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .professional-card,
    .service-card {
        margin-bottom: 0;
    }

    .professional-image {
        height: 250px;
    }

    .professional-title {
        font-size: 24px;
    }

    .professional-description {
        font-size: 15px;
    }

    .service-title {
        font-size: 22px;
        padding: 0 20px;
    }

    .service-description {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .service-card .professional-features {
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 14px;
    }

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

/* ============================================
   Animations
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Additional Dynamic Effects */
.hero-content {
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Continuous subtle movement for professional cards */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-5px) rotate(0.5deg);
    }
    66% {
        transform: translateY(-3px) rotate(-0.5deg);
    }
}

.professional-card {
    animation: subtleFloat 8s ease-in-out infinite;
}

/* Service card hover enhancement */
.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    padding-bottom: 50px;
}

.service-card .service-description {
    padding: 0 40px 20px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: var(--white);
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .medical-showcase,
    .services-section {
        padding: 60px 0;
    }

    .stats-section {
        padding: 60px 0;
    }

    .main-footer {
        padding: 60px 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .professional-features li {
        padding-left: 70px;
        font-size: 14px;
    }

    .professional-features li::before {
        left: 40px;
    }
}

