﻿:root {
    --brand-red: rgb(227 50 33);
    --brand-dark: rgb(31 51 66);
    --brand-blue: rgb(15 23 42 / var(--tw-bg-opacity, 1));
    --brand-accent: rgb(227 50 33);
    --brand-accent-soft: rgb(31 51 66 / 0.14);
    --brand-accent-soft-2: rgb(31 51 66 / 0.22);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
}
.bg-slate-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(31 51 66)!important;
}

.bg-slate-950\/50 {
    background-color: rgb(26 44 57)!important;
}

.text-slate-900 {
    --tw-text-opacity: 1;
    color: rgb(33 53 67)!important;
}

.bg-slate-800 {
    --tw-bg-opacity: 1;
    background-color: rgb(29 45 57)!important;
}

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: rgb(31 51 66 / 0.06);
        color: var(--brand-blue);
    }

        html { scroll-behavior: smooth; }
        .teklif-al {
            background-color: var(--brand-accent);
            color: white !important;
            padding: 10px 24px;
            border-radius: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px -1px rgb(31 51 66 / 0.2), 0 2px 4px -1px rgb(31 51 66 / 0.12);
        }
        .teklif-al:hover {
            background-color: var(--brand-blue);
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgb(31 51 66 / 0.32);
        }
        /* Mobile menu version */
        .mobile-teklif-al {
            background-color: var(--brand-accent);
            color: white !important;
            padding: 16px 24px;
            border-radius: 12px;
            text-align: center;
            display: block;
            width: 100%;
            margin-top: 16px;
        }

    /* Hero Slider Styles */
    .hero-swiper {
        width: 100%;
        height: 90vh;
    }

    .hero-swiper .swiper-slide {
        background-color: rgb(31 51 66 / 0.06);
        /* Match body bg to prevent transparency overlap */
        opacity: 0 !important;
        transition: opacity 0.5s ease;
    }

    .hero-swiper .swiper-slide-active {
        opacity: 1 !important;
    }

    .hero-slide-content {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    }

    /* Modern Swiper Navigation & Pagination */
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.9);
        /* More opaque for visibility */
        backdrop-filter: blur(10px);
        border: 2px solid var(--slider-theme, rgb(31 51 66));
        /* Dynamic Theme Color */
        border-radius: 50%;
        color: var(--slider-theme, rgb(31 51 66));
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        /* Shadow for depth */
        user-select: none;
        -webkit-user-select: none;
        outline: none;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
        font-weight: bold;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--slider-theme, rgb(31 51 66));
        color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: scale(1.1);
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: rgb(31 51 66 / 0.3);
        opacity: 1;
        transition: all 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
    }

    .swiper-pagination-bullet-active {
        width: 30px;
        background: var(--slider-theme, rgb(31 51 66));
        border-radius: 5px;
    }

    /* Mobile: hide hero slider controls and dots */
    @media (max-width: 768px)     tbody td{
        padding:8px 4px;
        font-size:12px;
    }
        .hero-swiper .swiper-slide {
            height: auto !important;
            min-height: 0 !important;
            padding-bottom: 16px;
        }

        .hero-swiper .clip-path-slant {
            display: none;
        }

        .hero-swiper .hero-slide-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 25px;
}

        .hero-swiper .swiper-button-next,
        .hero-swiper .swiper-button-prev,
        .hero-swiper .swiper-pagination {
            display: none !important;
        }
    }

    .bg-blue-50\/50 {
    background-color: rgb(236 238 241)!important;
}

    /* Glassmorphism Cards */
    .glass-card {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .glass-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 20px 40px -10px rgb(31 51 66 / 0.22);
        border-color: rgb(31 51 66 / 0.3);
    }

    /* Gradient Text */
    .text-gradient {
        background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

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

    ::-webkit-scrollbar-track {
        background: rgb(31 51 66 / 0.08);
    }

    ::-webkit-scrollbar-thumb {
        background: rgb(31 51 66 / 0.35);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgb(31 51 66 / 0.52);
    }

    /* Blob Animation */
    @keyframes blob {
        0% {
            transform: translate(0px, 0px) scale(1);
        }

        33% {
            transform: translate(30px, -50px) scale(1.1);
        }

        66% {
            transform: translate(-20px, 20px) scale(0.9);
        }

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

    .animate-blob {
        animation: blob 4s infinite;
    }

    .animation-delay-2000 {
        animation-delay: 2s;
    }

    .animation-delay-4000 {
        animation-delay: 4s;
    }

    /* Gradient Animation */
    @keyframes gradient-xy {

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

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

    .animate-gradient-xy {
        animation: gradient-xy 3s ease infinite;
        background-size: 400% 400%;
        /* Important for movement */
    }

    @keyframes gradient-x {
        0% {
            background-position: 0% 50%;
        }

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

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

    .animate-gradient-x {
        background-size: 200% 200%;
        animation: gradient-x 3s ease infinite;
    }

    /* Healthcare-themed offer section background */
    .healthcare-gradient-bg {
        background: linear-gradient(140deg, #114e47 0%, #1d7d72 28%, #2b9d8f 52%, #1a7368 74%, #0f4f48 100%);
        background-size: 320% 320%;
        animation: healthcare-gradient-shift 8s ease-in-out infinite;
        isolation: isolate;
    }

    .healthcare-bg-motion {
        position: absolute;
        inset: -30%;
        z-index: 0;
        pointer-events: none;
        opacity: 0.95;
        background:
            radial-gradient(52% 66% at 12% 18%, rgba(62, 213, 193, 0.55) 0%, rgba(62, 213, 193, 0) 72%),
            radial-gradient(48% 62% at 88% 14%, rgba(43, 157, 143, 0.62) 0%, rgba(43, 157, 143, 0) 74%),
            radial-gradient(58% 72% at 78% 86%, rgba(22, 110, 100, 0.68) 0%, rgba(22, 110, 100, 0) 76%),
            linear-gradient(120deg, rgba(221, 255, 247, 0.14) 0%, rgba(221, 255, 247, 0) 42%, rgba(142, 255, 236, 0.2) 100%);
        mix-blend-mode: screen;
        animation: healthcare-wave-flow 10s cubic-bezier(0.45, 0.03, 0.55, 0.95) infinite;
    }

    .healthcare-gradient-bg::before {
        content: "";
        position: absolute;
        inset: -18%;
        z-index: 0;
        pointer-events: none;
        opacity: 0.28;
        background: conic-gradient(from 80deg at 50% 50%, rgba(202, 255, 240, 0.22), rgba(43, 157, 143, 0.08), rgba(202, 255, 240, 0.22));
        animation: healthcare-overlay-tilt 9s linear infinite;
    }



    .healthcare-blob {
        animation: healthcare-blob-float 6s ease-in-out infinite;
    }

    .healthcare-blob-2 {
        animation-delay: 1.4s;
        animation-duration: 7s;
    }

    .healthcare-blob-3 {
        animation-delay: 2.6s;
        animation-duration: 8s;
    }

    @keyframes healthcare-gradient-shift {
        0% {
            background-position: 0% 30%;
        }

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

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

    @keyframes healthcare-wave-flow {
        0% {
            transform: translate3d(-9%, -6%, 0) scale(1.02) rotate(-2deg);
        }

        50% {
            transform: translate3d(10%, 8%, 0) scale(1.15) rotate(2deg);
        }

        100% {
            transform: translate3d(-9%, -6%, 0) scale(1.02) rotate(-2deg);
        }
    }

    @keyframes healthcare-grid-drift {
        0% {
            transform: translate3d(0, 0, 0);
        }

        100% {
            transform: translate3d(24px, 24px, 0);
        }
    }

    @keyframes healthcare-overlay-tilt {
        0% {
            transform: rotate(0deg) scale(1);
        }

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

    @keyframes healthcare-blob-float {
        0% {
            transform: translate3d(-3%, -2%, 0) scale(1);
        }

        50% {
            transform: translate3d(6%, 4%, 0) scale(1.18);
        }

        100% {
            transform: translate3d(-3%, -2%, 0) scale(1);
        }
    }

    /* Offer form attention highlight */
    .offer-form-panel {
        position: relative;
    }

    .offer-form-panel::after {
        content: "";
        position: absolute;
        inset: -10px;
        border-radius: 2.8rem;
        pointer-events: none;
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(176, 255, 229, 0);
    }

    .offer-form-panel.offer-form-highlight::after {
        animation: offer-form-glow 1.6s ease-out forwards;
    }

    @keyframes offer-form-glow {
        0% {
            opacity: 0;
            box-shadow: 0 0 0 0 rgba(176, 255, 229, 0);
        }

        30% {
            opacity: 1;
            box-shadow:
                0 0 0 5px rgba(182, 255, 232, 0.24),
                0 0 55px rgba(131, 255, 220, 0.62),
                0 0 110px rgba(70, 227, 188, 0.4);
        }

        100% {
            opacity: 0;
            box-shadow:
                0 0 0 18px rgba(176, 255, 229, 0),
                0 0 0 rgba(70, 227, 188, 0);
        }
    }

    /* Mobile Menu Animation */
    #mobile-menu {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hidden-menu {
        transform: translateX(100%);
    }

    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: var(--brand-red);
        transition: width 0.3s;
    }

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

    /* Logo Slider Navigation External */
    .logo-nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.05);
    }

    .logo-nav-btn:hover {
        background: #dc2626;
        color: white;
        border-color: #dc2626;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
    }

    .logo-swiper .swiper-button-prev::after {
        font-size: 20px;
        font-weight: bold;
    }

    /* Scroll Animations */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    }

    .reveal-left.active {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    }

    .reveal-right.active {
        opacity: 1;
        transform: translateX(0);
    }

    .delay-100 {
        transition-delay: 0.1s;
    }

    .delay-200 {
        transition-delay: 0.2s;
    }

    .delay-300 {
        transition-delay: 0.3s;
    }

    /* Character Animation */
    .char {
        display: inline-block;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s, transform 0.3s;
    }

    .char.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Fix for gradient text visibility */
    .bg-clip-text .char {
        display: inline !important;
        /* Force inline to preserve gradient */
        transform: none !important;
        /* Disable transform as it doesn't work on inline */
        transition: opacity 0.3s;
    }

    .bg-clip-text .char.active {
        opacity: 1;
    }

    .char-space {
        display: inline-block;
        width: 0.3em;
    }
/* ContentDetails.cshtml styles moved to app.css */
.ecz-modul { font-family: 'Plus Jakarta Sans', sans-serif; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-teal-600 { background-color: #0d9488; }
.bg-teal-600\/20 { background-color: rgba(13, 148, 136, 0.2); }
.bg-teal-100 { background-color: #ccfbf1; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-red-100 { background-color: #fee2e2; }
.text-white { color: #ffffff; }
.text-slate-900 { color: #0f172a; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-teal-500 { color: #14b8a6; }
.text-teal-600 { color: #0d9488; }
.text-blue-600 { color: #2563eb; }
.text-purple-600 { color: #7c3aed; }
.text-red-600 { color: #dc2626; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.1; }
.leading-relaxed { line-height: 1.625; }
.block { display: block; }
.w-full { width: 100%; }
.w-1\/3 { width: 33.333333%; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-64 { height: 16rem; }
.h-full { height: 100%; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.p-8 { padding: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-4 { gap: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-3xl { border-radius: 1.5rem; }
.border { border: 1px solid #e2e8f0; }
.border-slate-100 { border-color: #f1f5f9; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.object-contain { object-fit: contain; }
.blur-3xl { filter: blur(64px); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgba(15, 23, 42, 0.25)); }
.text-center { text-align: center; }
.transition { transition: all 0.2s ease; }
.hover\:bg-teal-700:hover { background-color: #0f766e; }
.md\:w-1\/2 { width: 100%; }
.md\:flex-row { flex-direction: column; }
.md\:grid-cols-2 { grid-template-columns: 1fr; }
.md\:text-6xl { font-size: 2.25rem; }

/* Prose Styling for Content */
.prose {
    color: #334155;
    max-width: 65ch;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
}

.prose h1 { font-size: 2.25em; }
.prose h2 { font-size: 1.875em; }
.prose h3 { font-size: 1.5em; }
.prose h4 { font-size: 1.25em; }

.prose ul,
.prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose ul > li {
    padding-left: 0.375em;
}

.prose ul > li::marker {
    color: #0d9488;
}

.prose ol > li::marker {
    color: #0d9488;
    font-weight: 600;
}

.prose a {
    color: #fffff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.prose a:hover {
    color: #0f766e;
}

.prose strong {
    color: #0f172a;
    font-weight: 600;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.5rem;
}

.prose blockquote {
    font-style: italic;
    border-left: 4px solid #0d9488;
    padding-left: 1em;
    margin: 1.5em 0;
    color: #475569;
}

.prose code {
    background-color: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #dc2626;
}

.prose pre {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

.prose table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
}

.prose th {
    background-color: #f1f5f9;
    padding: 0.75em;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #cbd5e1;
}

.prose td {
    padding: 0.75em;
    border-bottom: 1px solid #e2e8f0;
}

.prose hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 3em 0;
}
