@tailwind base;
@tailwind components;
@tailwind utilities;

:where([class^="ri-"])::before {
    content: "\f3c2";
}

.clip-path-slider {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@media (max-width: 640px) {
    .container {
        max-width: 100%;
    }
}

.hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.95) 100%);
}

@media (min-width: 768px) {
    .hero-bg::before {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    }
}

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
}

input:focus {
    outline: none;
}

.client-logo {
    opacity: 0.7;
    filter: grayscale(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

.pain-point-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.pain-point-container:hover {
    border-color: #0093DD;
    background: linear-gradient(to right, rgba(0, 147, 221, 0.05), transparent);
    transform: translateX(10px);
}

.pain-point-container:hover .pain-point-icon {
    transform: scale(1.1) rotate(10deg);
}

.value-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 147, 221, 0.1);
    border-color: #0093DD;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0093DD;
    transition: width 0.3s ease;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.error{
    font-size: 14px;
    color: #ff4500;
    padding: 10px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}



.services-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.services-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 147, 221, 0.1);
    border-color: #0093DD;
}

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

.feature-item:hover {
    transform: translateX(5px);
}

.case-studies-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-studies-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.case-study-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.industry-filter-button {
    transition: all 0.2s ease;
}

.industry-filter-button.active {
    background-color: #0093DD;
    color: white;
}

.blog-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.blog-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 147, 221, 0.1);
    border-color: #0093DD;
}

.featured-blog-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.featured-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 147, 221, 0.15);
    border-color: #0093DD;
}

.category-badge {
    transition: all 0.3s ease;
}

.category-badge:hover {
    background-color: #0093DD;
    color: white;
}


.pagination-item {
    transition: all 0.2s ease;
}

.pagination-item:hover:not(.active) {
    background-color: #f3f4f6;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    position: relative;
}

.custom-checkbox:hover input~.checkmark {
    border-color: #0093DD;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #0093DD;
    border-color: #0093DD;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select-selected {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 4px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.custom-select-option {
    padding: 10px 14px;
    cursor: pointer;
}

.custom-select-option:hover {
    background-color: #f3f4f6;
}



.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: #0093DD;
    width: 0%;
}

pre {
    border-radius: 8px;
    margin: 1.5rem 0;
}

code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
}

.table-of-contents {
    border-left: 2px solid #e5e7eb;
}

.table-of-contents a {
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
    color: #6b7280;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    margin-left: -2px;
    font-size: 0.9rem;
}

.table-of-contents a:hover,
.table-of-contents a.active {
    color: #0093DD;
    border-left-color: #0093DD;
}

.table-of-contents a.level-2 {
    padding-left: 2rem;
}

.table-of-contents a.level-3 {
    padding-left: 3rem;
    font-size: 0.85rem;
}

.blog-content h2 {
    scroll-margin-top: 20px;
}

.blog-content h3 {
    scroll-margin-top: 20px;
}

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

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

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content img {
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-content blockquote {
    border-left: 4px solid #0093DD;
    padding-left: 1rem;
    font-style: italic;
    margin: 2rem 0;
    color: #4b5563;
}

.blog-content a {
    color: #0093DD;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.blog-content a:hover {
    text-decoration-thickness: 2px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #0093DD;
    box-shadow: 0 0 0 1px rgba(0, 147, 221, 0.2);
}
.blog-post-hero {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 100%), url('https://readdy.ai/api/search-image?query=Futuristic%2520AI%2520visualization%2520with%2520neural%2520networks%2520and%2520digital%2520connections%252C%2520dark%2520blue%2520background%2520with%2520glowing%2520white%2520and%2520blue%2520elements%252C%2520clean%2520minimalist%2520design%252C%2520professional%2520tech%2520aesthetic%252C%2520high-quality%2520digital%2520art%2520showing%2520artificial%2520intelligence%2520concept%2520in%2520business%2520context%252C%2520left%2520side%2520darker%2520for%2520text%2520readability&width=1920&height=800&seq=blog_post_hero_v2&orientation=landscape');
    background-size: cover;
    background-position: center;
    position: relative;
}


.case-study-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-study-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.case-study-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.industry-filter-button {
    transition: all 0.2s ease;
}

.industry-filter-button.active {
    background-color: #0093DD;
    color: white;
}


.gallery-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border: 2px solid #0093DD;
}

.progress-bar {
    height: 8px;
    border-radius: 4px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    background-color: #0093DD;
    transition: width 1s ease-in-out;
}

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

.tech-stack-item:hover {
    transform: translateY(-5px);
}

.image-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-gallery-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.image-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-gallery-dot.active {
    background-color: #0093DD;
    transform: scale(1.2);
}

.about-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.value-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 147, 221, 0.1);
    border-color: #0093DD;
}

.impact-card {
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: scale(1.03);
}

.contact-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.contact-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 147, 221, 0.1);
    border-color: #0093DD;
}

.office-card {
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 25px rgba(0, 147, 221, 0.1);
}

.service-hero-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 147, 221, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 147, 221, 0.1);
    border-color: #0093DD;
}

.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.tech-partner {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.tech-partner:hover {
    transform: scale(1.05);
    opacity: 1;
}

.outcome-card {
    transition: all 0.3s ease;
}

.outcome-card:hover {
    transform: translateX(5px);
}



.toc-link {
    position: relative;
    transition: all 0.2s ease;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: #0093DD;
    transition: all 0.2s ease;
}

.toc-link.active {
    color: #0093DD;
    font-weight: 500;
}

.toc-link.active::before {
    width: 6px;
    height: 6px;
}

.toc-link:hover {
    color: #0093DD;
}

.toc-link:hover::before {
    width: 4px;
    height: 4px;
}

.policy-section {
    scroll-margin-top: 100px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.open {
    max-height: 1000px;
}

@media print {
    .no-print {
        display: none !important;
    }

    .print-break-inside-avoid {
        break-inside: avoid;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        break-after: avoid;
    }

    .policy-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}


.ql-editor {
    font-size: 16px;
    font-family: 'Inter';
    height: inherit!important;
}

.ql-editor blockquote{
    border-left: 4px solid #0093dde6;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 16px;
    font-style: italic;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}



