/* ===== Import Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== Global Styles ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    --dark-color: #0f172a;
    --dark-secondary: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ===== Navigation ===== */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar.shadow-lg {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.15;
    filter: blur(40px);
}

.hero-image-wrapper img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
}

/* ===== Feature Cards ===== */
.feature-card {
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    transition: all 0.4s ease;
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.icon-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .icon-box::after {
    opacity: 1;
}

.icon-box i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ===== Service Cards ===== */
.service-card {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.service-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.4s ease;
}

.service-card:hover .card-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.service-card .card-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-secondary);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.service-card .card-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 150px;
    color: rgba(37, 99, 235, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-style: italic;
    line-height: 1.8;
}

.avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
}

.testimonial-card:hover .avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: moveBackground 25s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(40px, 40px) rotate(360deg);
    }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    letter-spacing: 0.025em;
    border-radius: var(--border-radius-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    color: white;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-outline-primary:hover {
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
footer {
    background: var(--gradient-dark) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

footer a {
    transition: all 0.3s ease;
    color: #94a3b8 !important;
}

footer a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    line-height: 44px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    border-color: transparent;
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto !important;
    }
    
    .hero-image-wrapper {
        max-width: 450px;
        margin: 0 auto 2rem;
        overflow: hidden;
        animation: none !important;
    }
    
    .hero-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 30px;
        min-height: auto !important;
    }
    
    .hero-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section .row {
        margin-top: 0 !important;
        padding-top: 20px;
    }
    
    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 2rem;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2) !important;
        animation: none !important;
        overflow: hidden;
        position: relative;
    }
    
    .hero-image-wrapper::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 105%;
        height: 105%;
        background: var(--gradient-primary);
        border-radius: 16px;
        z-index: -1;
        opacity: 0.1;
        filter: blur(20px);
    }
    
    .hero-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        border-radius: 16px !important;
        border: 3px solid white;
    }
    
    .hero-section .col-lg-6:not(.order-1) {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 110px 0 20px;
    }
    
    .hero-section .row {
        padding-top: 15px;
    }
    
    .hero-image-wrapper {
        border-radius: 12px !important;
    }
    
    .hero-image-wrapper img {
        height: auto;
        border-radius: 12px !important;
        border: 2px solid white;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ===== About Page Styles ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 60px;
    color: white;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--border-radius);
}

.info-box {
    background: white;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.3rem;
    color: white;
}

.experience-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.experience-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.experience-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.experience-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.current-position {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid var(--primary-color);
    padding: 2rem;
}

.current-position .experience-icon {
    background: var(--gradient-primary);
}

.current-position .experience-icon i {
    color: white;
}

.international-experience {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 2px solid #f59e0b;
    padding: 2rem;
}

.international-experience .experience-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.international-experience .experience-icon i {
    color: white;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.expertise-icon i {
    font-size: 2rem;
    color: white;
}

/* ===== Contact Page Styles ===== */
.contact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

/* ===== Appointment Page Styles ===== */
.appointment-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

/* ===== Map Container ===== */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Loading Animation ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

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

/* ===== Selection ===== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ===== Floating Contact Buttons ===== */
.floating-contact {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.floating-btn::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.4s ease, height 0.4s ease;
}

.floating-btn:hover::before {
    width: 100%;
    height: 100%;
}

.floating-btn i {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.btn-phone {
    background: var(--gradient-primary);
}

.btn-location {
    background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
}

.floating-btn .tooltip-text {
    position: absolute;
    left: 75px;
    background: var(--dark-color);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.floating-btn .tooltip-text::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid var(--dark-color);
}

.floating-btn:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    left: 80px;
}

@media (max-width: 768px) {
    .floating-contact {
        left: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn i {
        font-size: 1.25rem;
    }
    
    .floating-btn .tooltip-text {
        display: none;
    }
}

/* ===== Floating WhatsApp & Phone Buttons ===== */
.floating-whatsapp-btn,
.floating-phone-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-float 2s ease-in-out infinite;
}

.floating-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    bottom: 20px;
}

.floating-phone-btn {
    background: var(--gradient-primary);
    bottom: 90px;
}

.floating-whatsapp-btn:hover,
.floating-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    color: white;
}

@keyframes pulse-float {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }
}

/* ===== Footer Styles ===== */
footer {
    background: var(--dark-color) !important;
}

footer h5, footer h6 {
    color: white !important;
    font-weight: 600;
}

footer .text-muted {
    color: white !important;
    opacity: 1 !important;
}

footer ul li {
    color: white !important;
}

footer a {
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
    padding-left: 5px;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: white !important;
    padding-left: 0 !important;
}

footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    padding-left: 0 !important;
}

footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white !important;
    transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: white !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
}

footer p {
    color: white !important;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 50px !important;
        width: auto !important;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .floating-whatsapp-btn,
    .floating-phone-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        right: 15px;
    }
    
    .floating-whatsapp-btn {
        bottom: 15px;
    }
    
    .floating-phone-btn {
        bottom: 75px;
    }
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    margin-top: 60px;
}

.page-header h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Service Card Styles ===== */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

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

.service-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.service-card .text-primary {
    font-weight: 600;
}

a .service-card {
    text-decoration: none;
}

a:hover .service-card {
    text-decoration: none;
}

/* Pagination Styles */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== Service Detail Page ===== */
.service-content {
    line-height: 1.8;
    color: var(--text-color);
}

.service-content h1, 
.service-content h2, 
.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-content ul, 
.service-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.service-content ul li, 
.service-content ol li {
    margin-bottom: 0.5rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Card */
.contact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.contact-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-card .text-muted {
    font-size: 0.9rem;
}

.contact-card hr {
    opacity: 0.1;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* List Group */
.list-group-item-action {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.list-group-item-action:hover {
    background-color: rgba(37, 99, 235, 0.05);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
    .sticky-top {
        position: sticky;
    }
}

/* Benefits Section */
.d-flex.align-items-start {
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.d-flex.align-items-start:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

/* ===== Contact Page ===== */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    border-radius: var(--border-radius);
}

.working-hours-content {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
}

/* Quick Action Cards */
.quick-action-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    display: block;
    height: 100%;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.quick-action-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.quick-action-card h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.quick-action-card p {
    color: var(--text-muted);
}

/* Form Styles */
.appointment-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.appointment-form .form-control,
.appointment-form .form-select {
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.appointment-form .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
}

.appointment-form .invalid-feedback {
    font-size: 0.875rem;
}

/* ===== Exercise Cards ===== */
.exercise-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.exercise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.exercise-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.exercise-placeholder {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: var(--primary-color);
}

.exercise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.exercise-overlay i {
    font-size: 4rem;
    color: white;
}

.exercise-content {
    padding: 1.5rem;
}

.exercise-content h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.exercise-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Exercise Detail Page */
.exercise-detail-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.exercise-detail-content {
    line-height: 1.8;
    color: var(--text-color);
}

.exercise-detail-content h1, 
.exercise-detail-content h2, 
.exercise-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.exercise-detail-content p {
    margin-bottom: 1.5rem;
}

.exercise-detail-content ul, 
.exercise-detail-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* Exercise Steps */
.steps-container {
    background: white;
}

.step-item {
    display: flex;
    align-items: start;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    background: rgba(37, 99, 235, 0.03);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(37, 99, 235, 0.08);
    transform: translateX(5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.step-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    margin-bottom: 0;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .exercise-image {
        height: 200px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }
    
    .step-item {
        padding: 1rem;
    }
}

/* ===== Blog Page Styles ===== */
.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
}

.blog-image img {
    transition: transform 0.4s ease;
}

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

.blog-meta small {
    font-weight: 500;
}

.service-card h5 a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card h5 a:hover {
    color: var(--primary-color) !important;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination li {
    list-style: none;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .active a,
.pagination a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

/* ===== RTL Support (Arapça için) ===== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-2,
[dir="rtl"] .ms-3,
[dir="rtl"] .ms-lg-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-2,
[dir="rtl"] .me-3 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .floating-whatsapp-btn,
[dir="rtl"] .floating-phone-btn {
    right: auto;
    left: 20px;
}

[dir="rtl"] .dropdown-menu-end {
    left: 0 !important;
    right: auto !important;
}

/* Language Dropdown Styles */
.dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-item {
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(37, 99, 235, 0.1);
    padding-left: 1.5rem;
}

[dir="rtl"] .dropdown-item:hover {
    padding-right: 1.5rem;
    padding-left: 1rem;
}

