       :root {
            --primary-color: #1a73e8;
            --primary-light: #4285f4;
            --secondary-color: #0d47a1;
            --accent-color: #28a745;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --dark-footer: #212529;
            --light-text-footer: #adb5bd;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }

        body {
            font-size: 1rem;
            line-height: 1.5;
            font-family: 'Tajawal', sans-serif;
            color: var(--text-color);
            background-color: var(--light-bg);
            overflow-x: hidden;
            direction: rtl;
        }

        body.english {
            direction: ltr;
            font-family: 'Open Sans', sans-serif;
        }

        /* تحسينات النصوص */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        h1 { font-size: 2.5rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.75rem; }
        h4 { font-size: 1.5rem; }
        h5 { font-size: 1.25rem; }
        h6 { font-size: 1rem; }

        p, li, a {
            font-size: 1rem;
        }

        small {
            font-size: 0.875rem;
        }

        /* الشريط العلوي */
        .navbar {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            background-color: var(--white);
            transition: all 0.3s ease;
            padding: 0.75rem 1rem;
        }

        .navbar.scrolled {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }

        .navbar-brand {
            font-weight: 800;
            color: var(--primary-color) !important;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
        }

        .navbar-brand svg {
            margin-left: 10px;
        }

        .nav-link {
            font-weight: 500;
            color: var(--text-color) !important;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
            left: 0;
        }

        /* أزرار اللغة */
        .language-switcher {
            display: flex;
            align-items: center;
            margin-left: 15px;
        }
        
        .language-switcher .btn {
            padding: 5px 10px;
            font-size: 0.85rem;
            min-width: 40px;
            text-align: center;
            border-radius: 0 !important;
        }
        
        .language-switcher .btn.active {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* استايل أزرار اللغة للوضع العربي (RTL) */
        body[dir="rtl"] .language-switcher .btn:first-child {
            border-top-right-radius: 0.375rem !important;
            border-bottom-right-radius: 0.375rem !important;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
        }
        
        body[dir="rtl"] .language-switcher .btn:last-child {
            border-top-left-radius: 0.375rem !important;
            border-bottom-left-radius: 0.375rem !important;
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        
        /* استايل أزرار اللغة للوضع الإنجليزي (LTR) */
        body[dir="ltr"] .language-switcher .btn:first-child {
            border-top-left-radius: 0.375rem !important;
            border-bottom-left-radius: 0.375rem !important;
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        
        body[dir="ltr"] .language-switcher .btn:last-child {
            border-top-right-radius: 0.375rem !important;
            border-bottom-right-radius: 0.375rem !important;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
        }

        /* القسم الرئيسي */
        .hero-section {
            background: linear-gradient(135deg, rgba(5, 41, 88, 0.85), rgba(13, 71, 161, 0.85)), 
                        url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 150px 0 100px;
            color: var(--white);
            position: relative;
            overflow: hidden;
            min-height: 90vh;
            display: flex;
            align-items: center;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        }

        .hero-content {
            position: relative;
            z-index: 3;
        }

        .hero-section h1 {
            font-weight: 800;
            font-size: 3.5rem;
            color: var(--white);
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
                    margin-top: 70px;

        }

        .hero-section h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--accent-color);
            border-radius: 5px;
        }

        .hero-section p.lead {
            font-size: 1.25rem;
            color: rgba(255,255,255,0.9);
            max-width: 700px;
            margin: 0 auto 30px;
        }

        .alert-info {
            background-color: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
            color: var(--white);
            font-weight: 500;
            backdrop-filter: blur(5px);
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
        }

        /* SVG Wave Styles */
        .wave-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            z-index: 2;
        }

        .wave-container svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 120px;
        }

        .wave-container .shape-fill {
            fill: var(--light-bg);
        }

        /* SVG Decorations */
        .svg-decorations {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .floating-shapes .shape {
            position: absolute;
            opacity: 0.1;
            animation: float 15s infinite ease-in-out;
        }

        .floating-shapes .shape:nth-child(1) {
            top: 10%;
            right: 5%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
        }

        .floating-shapes .shape:nth-child(2) {
            top: 60%;
            left: 10%;
            width: 100px;
            height: 100px;
            animation-delay: 2s;
        }

        .floating-shapes .shape:nth-child(3) {
            bottom: 20%;
            right: 15%;
            width: 80px;
            height: 80px;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }

        /* Logo SVG */
        .logo-svg {
            width: 60px;
            height: 60px;
            margin-bottom: 30px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        /* Section Styles */
        .section-title {
            font-weight: 700;
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
            text-align: center;
        }

        .section-title::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
            border-radius: 5px;
        }

        .section-padding {
            padding: 80px 0;
        }

        /* Cards Styles */
        .category-card,
        .professional-card,
        .testimonial-card,
        .feature-card {
            border: none;
            border-radius: 15px;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            height: 100%;
            overflow: hidden;
            background-color: var(--white);
            position: relative;
        }

        .category-card:hover,
        .professional-card:hover,
        .testimonial-card:hover,
        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        .category-card .card-body {
            padding: 30px;
            text-align: center;
        }

        .category-card .icon {
            font-size: 3.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .category-card:hover .icon {
            color: var(--secondary-color);
            transform: scale(1.1);
        }

        .professional-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--white);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
            margin: auto;
        }

        .professional-card:hover .professional-img {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .professional-card .card-header {
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            color: var(--white);
            text-align: center;
            padding: 20px 0 60px;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
            position: relative;
            overflow: hidden;
        }

        .professional-card .card-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            transform: rotate(45deg);
        }

        .professional-card .card-header::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 20px solid var(--primary-color);
        }

        .professional-card .card-body {
            padding-top: 0;
            text-align: center;
            position: relative;
            top: -50px;
        }

        .professional-info h6 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .professional-info .text-muted {
            font-size: 0.95rem;
            color: #6c757d !important;
        }

        .rating-badge {
            background: linear-gradient(135deg, var(--accent-color), #34b955);
            color: white;
            padding: 5px 12px;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(13, 71, 161, 0.1));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 32px;
            margin: 0 auto 20px;
            transition: all 0.3s ease;
        }

        .feature-card {
            text-align: center;
            padding: 30px;
        }

        .feature-card:hover .feature-icon {
            transform: rotate(10deg) scale(1.1);
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            color: white;
            box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
        }

        .testimonial-img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--primary-color);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .testimonial-card:hover .testimonial-img {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .testimonial-card {
            padding: 25px;
            text-align: center;
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 60px;
            color: rgba(26, 115, 232, 0.1);
            font-family: serif;
            line-height: 1;
            z-index: 0;
        }

        .testimonial-card .quote-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .testimonial-card p {
            font-style: italic;
            color: #555;
            position: relative;
            z-index: 1;
        }

        .testimonial-card h6 {
            font-weight: 700;
            margin-top: 15px;
            margin-bottom: 0;
        }

        .testimonial-card .text-muted {
            font-size: 0.9rem;
        }

        /* Professional Card Layout */
        .professional-card {
            display: flex;
            flex-direction: column;
        }
        
        .professional-card .card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .professional-info {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .professional-info .name-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .professional-info .name-container h6 {
            margin-bottom: 0;
            flex: 1;
        }
        
        .professional-info .name-container .rating-badge {
            margin-right: 10px;
        }
        
        .professional-info .profession {
            text-align: right;
            margin-bottom: 15px;
            color: #6c757d;
        }
        
        .professional-info .location {
            text-align: right;
            margin-bottom: 15px;
        }
        
        .professional-info .stats {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* English version professional cards */
        /* body.english .professional-info .name-container {
            flex-direction: row;
            justify-content: space-between;
        }

        body.english .professional-info .name-container h6 {
            text-align: left;
            margin-right: 10px;
            margin-left: 0;
        }

        body.english .professional-info .name-container .rating-badge {
            margin-left: 10px;
            margin-right: 0;
        }

        body.english .professional-info .profession,
        body.english .professional-info .location {
            text-align: left;
        }

        body.english .professional-info .stats {
            flex-direction: row;
        } */

        /* Arabic version professional cards */
        body:not(.english) .professional-info .name-container {
            flex-direction: row-reverse;
            justify-content: space-between;
        }

        body:not(.english) .professional-info .name-container h6 {
            text-align: right;
            margin-left: 10px;
            margin-right: 0;
        }

        body:not(.english) .professional-info .name-container .rating-badge {
            margin-right: 10px;
            margin-left: 0;
        }

        body:not(.english) .professional-info .profession,
        body:not(.english) .professional-info .location {
            text-align: right;
        }

        body:not(.english) .professional-info .stats {
            flex-direction: row-reverse;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            color: var(--white);
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .cta-section h2 {
            font-weight: 700;
            font-size: 2.8rem;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }

        .cta-section h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            border-radius: 5px;
        }

        

        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 40px;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        .footer {
            background-color: var(--dark-footer);
            color: var(--light-text-footer);
            padding: 80px 0 30px;
            font-size: 0.95rem;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
        }

        .footer a {
            color: var(--light-text-footer);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer a:hover {
            color: var(--white);
            padding-right: 5px;
        }

        .footer-title {
            color: var(--white);
            font-weight: 700;
            margin-bottom: 25px;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.1);
            font-size: 1.2rem;
            margin-left: 10px;
            color: var(--light-text-footer);
            transition: all 0.3s ease;
        }

        .footer .social-icons a:hover {
            background-color: var(--primary-color);
            color: var(--white);
            transform: translateY(-3px);
        }

        /* English version footer */
        /* body.english .footer a:hover {
            padding-right: 0;
            padding-left: 5px;
        }
        
        body.english .footer-title::after {
            right: auto;
            left: 0;
        } */

        /* Slick slider customization */
        .professionals-slider {
            padding: 20px 0 40px;
            position: relative;
        }
        
        .professionals-slider .slick-slide {
            padding: 0 15px;
        }
        
        .professionals-slider .slick-prev:before,
        .professionals-slider .slick-next:before {
            color: var(--primary-color);
            font-size: 30px;
            opacity: 1;
        }
    
        
        .professionals-slider .slick-dots li button:before {
            font-size: 12px;
            color: var(--primary-color);
        }
        
        .professionals-slider .slick-dots li.slick-active button:before {
            color: var(--secondary-color);
        }

        /* Contact Form */
        .contact-form {
            background-color: var(--white);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 40px;
            position: relative;
            overflow: hidden;
        }

        .contact-form::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
        }

        /* Text alignment for cards */
        /* body.english .category-card,
        body.english .feature-card,
        body.english .testimonial-card {
            text-align: left;
        } */

        body:not(.english) .category-card,
        body:not(.english) .feature-card,
        body:not(.english) .testimonial-card {
            text-align: right;
        }

        /* Form alignment */
        body.english .contact-form .form-label {
            text-align: left;
        }

        body:not(.english) .contact-form .form-label {
            text-align: right;
        }



        body:not(.english) .contact-form input,
        body:not(.english) .contact-form textarea {
            text-align: right;
            direction: rtl;
        }



        body:not(.english) .footer ul {
            padding-right: 0;
            text-align: right;
        }

        /* Icon margins */
        body.english .fa-ul {
            margin-left: 2.5em;
            margin-right: 0;
        }

        body:not(.english) .fa-ul {
            margin-right: 2.5em;
            margin-left: 0;
        }

        body.english .fa-li {
            left: -2em;
            right: auto;
        }

        body:not(.english) .fa-li {
            right: -2em;
            left: auto;
        }

        /* Buttons */
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            transition: all 0.3s ease;
            font-weight: 500;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-primary:hover {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .btn-primary:hover::before {
            opacity: 1;
        }

        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
        }

        .cta-section .btn-light {
            background-color: var(--white);
            color: var(--primary-color);
            font-weight: 600;
            padding: 12px 35px;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .cta-section .btn-light:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .cta-section .btn-light::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .cta-section .btn-light:hover::before {
            opacity: 1;
        }

        /* Cards Grid */
        .section-box {
            text-align: center;
            padding: 40px 20px;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
            margin-top: 30px;
        }

        .card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            color: inherit;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
        }

        .icon {
            font-size: 40px;
            color: #007bff;
            margin-bottom: 15px;
        }

        .card-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .card-description {
            font-size: 14px;
            color: #666;
        }

        .card-body {
            text-align: center;
        }

        /* تحسينات الاستجابة */
        @media (max-width: 768px) {
            html {
                font-size: 14px;
            }
            
            .hero-section {
                padding: 100px 0;
                background-attachment: scroll;
                height: auto;
            }

            .hero-section h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .professional-img {
                width: 80px;
                height: 80px;
            }
            
            .professionals-slider .slick-prev:before,
            .professionals-slider .slick-next:before {
                display: none;
            }

            .cta-section {
                padding: 80px 0;
            }

            .cta-section h2 {
                font-size: 2.2rem;
            }
            
            .language-switcher {
                margin-left: 0;
                margin-right: auto;
                margin-bottom: 10px;
            }
            
            .professional-info .name-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .professional-info .name-container h6 {
                text-align: right;
                margin-bottom: 5px;
            }
            
            .professional-info .name-container .rating-badge {
                margin-right: 0;
                margin-bottom: 10px;
                align-self: flex-end;
            }

            /* Mobile adjustments for English version */
            body.english .professional-info .name-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            body.english .professional-info .name-container h6 {
                text-align: left;
                margin-bottom: 5px;
            }
            
            body.english .professional-info .name-container .rating-badge {
                margin-left: 0;
                margin-bottom: 10px;
                align-self: flex-start;
            }
        }

        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')
                        no-repeat center center/cover;
        }

        .hero-section::before {
            content: "";
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }

        .hero-section .container {
            position: relative;
            z-index: 2;
        }

        /* تنسيقات إضافية للتواصل والتوصيل */
        .contact-info {
            margin: 15px 0;
        }

        .badge {
            font-size: 14px;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: 500;
        }

        .bg-success {
            background: linear-gradient(135deg, #28a745, #20c997) !important;
        }

        .bg-info {
            background: linear-gradient(135deg, #17a2b8, #6f42c1) !important;
        }

        .bg-dark {
            background: linear-gradient(135deg, #343a40, #495057) !important;
        }

        /* تحسين تنسيق الأزرار */
        .btn-success {
            background: linear-gradient(135deg, #28a745, #20c997);
            border: none;
        }

        .btn-success:hover {
            background: linear-gradient(135deg, #218838, #1e7e34);
            transform: translateY(-2px);
        }

        /* تحسين التجاوب */
        @media (max-width: 768px) {
            .contact-info .d-flex {
                flex-direction: column;
                gap: 10px !important;
            }
            
            .badge {
                font-size: 12px;
                padding: 6px 10px;
            }
        }

        .icon-anim {
            animation: float 3s ease-in-out infinite;
        }
        .icon-pulse {
            animation: pulse 2s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        /* تنسيق البطاقة الرئيسية */
        .service-card {
            max-width: 700px;
            border: none;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
        }

        /* قسم الرأس (الخلفية والنص) */
        .card-header-v3 {
            height: 120px;
            background: url('https://images.unsplash.com/photo-1584362917165-526a968579e8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center center / cover no-repeat;
        }

        /* طبقة التدرج اللوني فوق الصورة */
        .overlay-v3 {
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(220, 240, 255, 0.85));
        }

        /* محتوى الرأس (اسم الصيدلية) */
        .card-header-v3 .header-content h1 {
            color: var(--primary-color);
            font-size: 2rem;
            letter-spacing: 0.5px;
        }
        .card-header-v3 .header-content p {
            font-size: 0.9rem;
        }

        /* قسم المحتوى الأساسي */
        .card-body-v3 {
            color: var(--text-dark);
        }

        /* شريط الأيقونات المتحرك */
        .icon-strip-short i {
            font-size: 1.4rem;
            animation: pulse-v3 2s infinite ease-in-out;
        }
        .icon-strip-short i:nth-child(2) {
            animation-delay: 0.3s;
        }
        .icon-strip-short i:nth-child(3) {
            animation-delay: 0.6s;
        }

        @keyframes pulse-v3 {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

        /* زر الاتصال العصري */
        .btn-primary-v2 {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            transition: all 0.3s ease;
            font-weight: bold;
            font-size: 1rem;
        }
        .btn-primary-v2:hover {
            background-color: #2f855a;
            border-color: #2f855a;
            transform: translateY(-1px);
            box-shadow: 0 5px 10px rgba(56, 161, 105, 0.3) !important;
        }

        /* معلومات الاتصال */
        .contact-info p {
            font-size: 0.9rem;
        }

          .floating {
    animation: float 4s ease-in-out infinite;
  }
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
  }


               .career-card {
            border: none;
            border-radius: 18px;
            overflow: hidden;
            transition: transform 0.4s, box-shadow 0.4s;
            margin-bottom: 30px;
            background-color: white;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
        }
        
        .career-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
        }
        
        .career-img {
            height: 220px;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .career-card:hover .career-img {
            transform: scale(1.05);
        }
        
        .card-body {
            padding: 28px;
        }
        
        .card-title {
            color: var(--dark-color);
            font-weight: 800;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .card-text {
            color: #666;
            line-height: 1.7;
            margin-bottom: 22px;
            min-height: 80px;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s;
            width: 100%;
        }
        
        .btn-primary:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(138, 90, 68, 0.25);
        }
        
        /* تحسينات للشريط العلوي */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        }
        
        /* تحسينات للفوتر */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 40px 0 20px;
            margin-top: 50px;
        }
        
        /* تحسينات للاستجابة */
        @media (max-width: 768px) {
            .career-card {
                margin-bottom: 25px;
            }
            
            .card-body {
                padding: 20px;
            }
            
            .card-title {
                font-size: 1.3rem;
            }
        }
        

        #hero-section,
#about-us-section,
#professions-section,
#shops-section,
#contact-us-section {
  scroll-margin-top: 75px; /* عدل الرقم حسب ارتفاع النافبار */
}


/* إظهار الأسهم في كل الشاشات بما فيها الموبايل */
.carousel-control-prev,
.carousel-control-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 8%; /* ممكن تزودها أو تقللها حسب رغبتك */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    width: 2rem;
    height: 2rem;
}

/* تحسين أسهم الكاروسيل */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
    width: 30px;
    height: 30px;
}

/* تحسين النصوص داخل الكروت */
.carousel-item .card h3 {
    font-size: 1.4rem;
    font-weight: bold;
}

.carousel-item .card p.lead {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.carousel-indicators [data-bs-target] {
  width: 30px;   /* خليها أكبر شوية عشان تبقى شرط */
  height: 5px;
  border-radius: 3px;
  background-color: #000; /* اللون */
  opacity: 0.5;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #0d6efd; /* الأزرق الافتراضي للـ Bootstrap */
}

        :root {
            --primary-color: #3498db;
            --secondary-color: #2c3e50;
            --accent-color: #e74c3c;
            --light-color: #f8f9fa;
            --dark-color: #1a1d20;
            --success-color: #27ae60;
            --warning-color: #f39c12;
        }
        
        body {
            font-family: 'Tajawal', 'Segoe UI', sans-serif;
            background-color: #f8f9fa;
            color: #333;
            transition: all 0.3s ease;
        }
        
        /* قسم الإعلان المميز */
        .premium-ad-section {
            padding: 5rem 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            overflow: hidden;
            position: relative;
            scroll-margin-top: 70px;
        }
        
        .premium-ad-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            pointer-events: none;
        }
        
        .premium-ad {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            color: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            position: relative;
            z-index: 2;
        }
        
        .premium-ad::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            width: 120px;
            height: 120px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
        
        .premium-ad::after {
            content: 'مميز';
            position: absolute;
            top: 25px;
            left: 25px;
            background: var(--warning-color);
            color: var(--secondary-color);
            padding: 10px 25px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 1.1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 2;
        }
        
        .premium-ad-content {
            padding: 3rem;
            position: relative;
            z-index: 1;
        }
        
        .premium-ad-image {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 6px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            margin-bottom: 2rem;
            margin: auto;
        }
        
        .premium-ad h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            font-weight: 800;
        }
        
        .premium-ad .premium-category {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }
        
        .premium-ad .premium-features {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 2.5rem;
        }
        
        .premium-ad .premium-feature {
            background: rgba(255, 255, 255, 0.15);
            padding: 12px 22px;
            border-radius: 25px;
            backdrop-filter: blur(5px);
            font-size: 1rem;
            display: flex;
            align-items: center;
        }
        
        .premium-ad .premium-feature i {
            margin-left: 8px;
        }
        
        .premium-ad .premium-description {
            margin-bottom: 2.5rem;
            font-size: 1.2rem;
            line-height: 1.7;
            opacity: 0.9;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .premium-ad .premium-offer {
            background: rgba(255, 255, 255, 0.15);
            padding: 1.5rem;
            border-radius: 15px;
            margin-bottom: 2.5rem;
            text-align: center;
            backdrop-filter: blur(5px);
        }
        
        .premium-ad .premium-offer h4 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: #ffc107;
        }
        
        .premium-ad .premium-offer p {
            margin-bottom: 0;
            font-size: 1.1rem;
        }
        
        .premium-ad .premium-countdown {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 2.5rem;
        }
        
        .premium-ad .countdown-item {
            background: rgba(255, 255, 255, 0.2);
            padding: 15px;
            border-radius: 12px;
            min-width: 80px;
            text-align: center;
            backdrop-filter: blur(5px);
        }
        
        .premium-ad .countdown-value {
            font-size: 2rem;
            font-weight: 700;
            display: block;
            line-height: 1;
        }
        
        .premium-ad .countdown-label {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-top: 5px;
            display: block;
        }
        
        .premium-ad .btn-light {
            background: rgba(255, 255, 255, 0.9);
            color: var(--secondary-color);
            border: none;
            font-weight: bold;
            padding: 15px 35px;
            border-radius: 30px;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }
        
        .premium-ad .btn-light:hover {
            background: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .premium-ad .btn-light i {
            margin-right: 8px;
        }
        
        /* تصميم متجاوب */
        @media (max-width: 992px) {
            .premium-ad-content {
                padding: 2.5rem;
            }
            
            .premium-ad h2 {
                font-size: 2.2rem;
            }
            
            .premium-ad .premium-feature {
                padding: 10px 18px;
            }
        }
        
        @media (max-width: 768px) {
            .premium-ad-section {
                padding: 4rem 0;
            }
            
            .premium-ad-content {
                padding: 2rem;
            }
            
            .premium-ad h2 {
                font-size: 1.9rem;
            }
            
            .premium-ad .premium-category {
                font-size: 1.1rem;
            }
            
            .premium-ad .premium-description {
                font-size: 1rem;
            }
            
            .premium-ad .premium-features {
                gap: 10px;
            }
            
            .premium-ad .premium-feature {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
            
            .premium-ad .countdown-item {
                min-width: 65px;
                padding: 12px;
            }
            
            .premium-ad .countdown-value {
                font-size: 1.7rem;
            }
            
        }
        
        @media (max-width: 576px) {
            .premium-ad-content {
                padding: 1.5rem;
            }
            
            .premium-ad h2 {
                font-size: 1.7rem;
            }
            
            .premium-ad::after {
                top: 45px;
                /* right: 15px; */
                left: 15px;
                padding: 8px 18px;
                font-size: 1rem;
                opacity: 0.8;
            }
            
            .premium-ad .premium-features {
                flex-direction: column;
                align-items: center;
            }
            
            .premium-ad .premium-countdown {
                flex-wrap: wrap;
            }
            
            .premium-ad .countdown-item {
                min-width: 60px;
                padding: 10px;
            }
            
            .premium-ad .countdown-value {
                font-size: 1.5rem;
            }
            
            .premium-ad .btn-light {
                padding: 12px 25px;
                font-size: 1rem;
            }
        }
        
        /* تأثيرات الظهور */
        .fade-in {
            animation: fadeIn 0.8s ease forwards;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* تأثيرات التمرير السلس */
        html {
            scroll-behavior: smooth;
        }

          *{margin:0;padding:0;box-sizing:border-box}
    body{font-family:'Tajawal',sans-serif;color:#fff;overflow-x:hidden}
    .slider-container{position:relative;width:100%;height:100vh;overflow:hidden}

    .slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;opacity:0;transform:translateX(100%);transition:opacity .8s ease,transform .8s ease}
    .slide.active{opacity:1;transform:translateX(0)}
    .slide-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(0.6);z-index:-2}
    .overlay{position:absolute;inset:0;z-index:-1}

    .slide-content{max-width:1200px;width:90%;display:flex;flex-direction:column;align-items:center}
    .slide-image-container{width:100%;max-width:600px;height:300px;margin:20px 0;border-radius:15px;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.5);position:relative}
    .slide-image{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
    .slide:hover .slide-image{transform:scale(1.05)}
    .slide-title{font-size:32px;font-weight:800;margin-bottom:15px;text-shadow:0 2px 6px rgba(0,0,0,.5)}
    .slide-description{font-size:18px;line-height:1.7;margin-bottom:20px;max-width:800px;text-shadow:0 1px 3px rgba(0,0,0,.5)}
    .slide-features{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin-bottom:25px}
    .feature{background:rgba(255,255,255,0.1);padding:8px 15px;border-radius:20px;font-size:14px;backdrop-filter:blur(5px)}
    .slide-button{padding:12px 30px;background:#2a7cc7;border-radius:30px;color:#fff;text-decoration:none;font-weight:700;transition:.3s;box-shadow:0 4px 10px rgba(0,0,0,.3);font-size:16px;display:inline-flex;align-items:center;gap:8px}
    .slide-button:hover{background:#1e5f9e;transform:translateY(-3px);box-shadow:0 6px 15px rgba(0,0,0,.4)}

    /* شريحة الموقع الخاصة */
    .site-slide .slide-bg{filter:brightness(0.4)}
    .site-slide .slide-content{max-width:1000px}
    .site-slide .logo{font-size:48px;margin-bottom:20px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.5)}
    .site-slide .site-title{font-size:42px;font-weight:800;margin-bottom:20px;background:linear-gradient(45deg, #2a7cc7, #1e5f9e);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
    .site-slide .site-description{font-size:20px;line-height:1.8;margin-bottom:30px;max-width:900px}
    .site-slide .site-features{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:30px;max-width:800px}
    .site-feature{display:flex;align-items:center;gap:15px;background:rgba(255,255,255,0.05);padding:15px;border-radius:10px;backdrop-filter:blur(5px);text-align:right}
    .site-feature i{font-size:24px;color:#2a7cc7}
    .site-slide .slide-buttons{display:flex;gap:15px;flex-wrap:wrap;justify-content:center}
    .site-slide .slide-button.secondary{background:transparent;border:2px solid #2a7cc7}

    .slider-controls{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:10}
    .dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,0.5);cursor:pointer;transition:.3s}
    .dot.active{background:#2a7cc7;transform:scale(1.2)}

    .slider-arrows{position:absolute;top:50%;transform:translateY(-50%);width:100%;display:flex;justify-content:space-between;padding:0 20px;z-index:10}
    .arrow{width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,0.2);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s;backdrop-filter:blur(5px);font-size:20px}
    .arrow:hover{background:rgba(255,255,255,0.3);transform:scale(1.1)}
    .arrow-left i{transform:rotate(180deg)}

    @media(max-width:768px){
      .slide-title{font-size:26px}
      .slide-description{font-size:16px}
      .slide-image-container{height:250px;max-width:90%}
      .slide-features{gap:10px}
      .feature{font-size:13px;padding:6px 12px}
      .arrow{width:40px;height:40px;font-size:16px}
      
      .site-slide .site-title{font-size:32px}
      .site-slide .site-description{font-size:18px}
      .site-slide .site-features{grid-template-columns:1fr;gap:15px}
      .site-slide .logo{font-size:36px}
    .slider-controls{bottom:100px;}
      
    }
    
    /* @media(max-width:480px){
      .slide-title{font-size:30px}
      .slide-description{font-size:14px}
      .slide-image-container{height:150px}
      .slide-button{padding:10px 20px;font-size:14px}
      
      .site-slide .site-title{font-size:28px}
      .site-slide .site-description{font-size:16px}
      .site-slide .slide-buttons{flex-direction:column;align-items:center}
      .site-slide .slide-buttons .slide-button{width:100%;max-width:250px;justify-content:center}
    }   */


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 30px;
    color: var(--white);
}

.site-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.site-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Floating Background */
.floating-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 5%;
    animation-delay: 5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 15%;
    animation-delay: 10s;
}

/* Search Bar */
.search-bar-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    background: var(--white);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    z-index: 3;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 60px 15px 20px;
    border-radius: 50px;
    font-size: 1rem;
    background: transparent;
    text-align: right;
}

.search-button {
    background: var(--primary-light);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #5a0db3;
    transform: translateY(-2px);
}

/* Specialties */
.specialties-title {
    margin-bottom: 20px;
    font-size: 1.3rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.specialties-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.specialties {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    gap: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.specialties::-webkit-scrollbar {
    display: none;
}

.specialty-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.specialty-btn i {
    margin-left: 8px;
    font-size: 1.1rem;
}

.specialty-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-left {
    right: -20px;
}

.nav-right {
    left: -20px;
}

/* Explore Container */
.explore-container {
    text-align: center;
    margin: 30px 0;
}

.explore-btn {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.explore-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;
}

.explore-btn:hover::before {
    left: 100%;
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.4);
}

.explore-btn:active {
    transform: translateY(0);
}

.explore-hint {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* Animations */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.2rem;
    }

    .site-description {
        font-size: 1.1rem;
    }

    .search-bar-container {
        flex-direction: column;
        border-radius: 15px;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .search-input {
        border-radius: 15px;
        margin-bottom: 10px;
        padding: 15px 20px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .search-button {
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .search-icon {
        display: none;
    }

    .specialties-title {
        font-size: 1.1rem;
    }

    .nav-btn {
        display: none;
    }

    .specialties {
        padding: 5px 0;
    }

    .specialty-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .explore-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .explore-hint {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.8rem;
    }

    .site-description {
        font-size: 1rem;
    }

    .hero-content {
        padding: 15px;
    }

    .specialty-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}


