/* =========================================
   Global Optimization Styles
   ========================================= */

/* Logo Utilities */
.logo-header {
    max-height: 50px;
}

.logo-footer {
    max-width: 200px;
}

.logo-offcanvas {
    max-height: 50px;
}

/* =========================================
   About Page Styles (Extracted)
   ========================================= */

.about-hero {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    animation: pulse 20s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.glow-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.capability-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.capability-card:hover {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.5) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.timeline-item:last-child::after {
    display: none;
}

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    color: #a5b4fc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.section-dark {
    background: #0a0a0a;
}

.text-gradient-subtle {
    color: #e2e8f0;
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.5) 50%, transparent 100%);
}

.philosophy-card {
    transition: all 0.3s ease;
    cursor: default;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Card Accent Border Utilities
   ========================================= */

.card-accent-primary {
    border-left: 4px solid var(--bs-primary) !important;
}

.card-accent-success {
    border-left: 4px solid var(--bs-success) !important;
}

.card-accent-warning {
    border-left: 4px solid var(--bs-warning) !important;
}

.card-accent-info {
    border-left: 4px solid var(--bs-info) !important;
}

/* =========================================
   Owl Carousel Testimonial Styles
   ========================================= */

.testimonial-carousel .owl-stage {
    display: flex;
}

.testimonial-carousel .owl-item {
    display: flex;
}

.testimonial-carousel .item {
    display: flex;
    width: 100%;
}

.testimonial-carousel .item>.card {
    width: 100%;
}

.testimonial-carousel .owl-dots {
    margin-top: 2rem;
    text-align: center;
}

.testimonial-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: #dee2e6;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background 0.3s ease;
}

.testimonial-carousel .owl-dot.active span {
    background: var(--bs-primary);
}

/* =========================================
   Utility Classes (replacing inline styles)
   ========================================= */

.avatar-circle {
    width: 48px;
    height: 48px;
}

.w-fit {
    width: fit-content;
}

/* About Us Image Utilities - Extracted from inline styles */
.about-card-img-masked {
    width: 300px;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

.about-card-img-performance {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transform: translate(50px, -50px);
}

.about-card-img-ai {
    width: 250px;
    height: 250px;
    object-fit: contain;
    transform: translate(60px, -60px);
}

.about-card-img-full {
    object-fit: cover;
}


.about-card-img-masked-lg {
    width: 350px;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}


/* Staggered Grid Adjustment for About Us */
@media (min-width: 992px) {
    .about-stagger-left {
        margin-top: -1.5rem;
        /* Moves left column higher */
    }

    .about-stagger-right {
        margin-top: 3rem;
        /* Moves right column lower */
    }
}


/* Enforce equal size for About Us feature cards */
.about-feature-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================================
   Diagonal Rounding Utility
   ========================================= */

.rounded-diagonal {
    border-radius: 4rem 0 4rem 0; /* Top-Left and Bottom-Right rounded */
}

.rounded-diagonal-inverse {
    border-radius: 0 4rem 0 4rem; /* Top-Right and Bottom-Left rounded */
}
/* =========================================
   Service Page Image Consistency
   ========================================= */

.service-section-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .service-section-img {
        height: 450px;
    }
}

/* =========================================
   Draftr Aesthetics (Modern Tech)
   ========================================= */

:root {
    --draftr-bg: #FFFFFF;
    --draftr-text-main: #101011;
    --draftr-text-sub: #606266;
    --draftr-card-bg: #000000;
    --draftr-radius: 40px;
}

.draftr-h1 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--draftr-text-main);
}

@media (min-width: 992px) {
    .draftr-h1 {
        font-size: 4.5rem;
    }
}

.draftr-h2 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    color: var(--draftr-text-main);
}

.draftr-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: var(--draftr-text-sub);
    font-weight: 450;
    line-height: 1.6;
}

.draftr-rounded {
    border-radius: var(--draftr-radius) !important;
}

.draftr-img-container {
    border-radius: var(--draftr-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

.draftr-glow-container {
    position: relative;
    overflow: hidden;
}

.draftr-glow-container::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(100, 100, 255, 0.08) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.draftr-glow-container::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(160, 100, 255, 0.08) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.draftr-card-dark {
    background-color: #111;
    color: #fff;
    border-radius: var(--draftr-radius);
    padding: 3rem;
}

.draftr-number {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

