:root {
    --primary: #005aa1;
    --primary-light: #0073cc;
    --secondary: #0d9488;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

/* -------------------------------------
   CSS Grid System for Responsiveness
-------------------------------------- */
.css-grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {

    /* Bootstrap lg breakpoint */
    .grid-lg-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-lg-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-lg-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* -------------------------------------
   Custom Design Utilities
-------------------------------------- */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.saas-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.saas-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 90, 161, 0.2);
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary-custom {
    color: var(--primary);
}

.text-secondary-custom {
    color: var(--secondary);
}

.text-color-svg {
    color: var(--light);
}

.bg-primary-custom {
    background-color: var(--primary);
}

.bg-primary-light-custom {
    background-color: var(--primary-light);
}

.bg-dark-custom {
    background-color: var(--dark);
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

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

.btn-custom-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: var(--primary-light);
    color: white;
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

@keyframes float {

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

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

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
}

.animate-marquee {
    display: flex;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* Typing Char */
.type-char {
    display: inline-block;
}

/* -------------------------------------
   Artistic Testimonials
-------------------------------------- */
.testimonial-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) !important;
}

.orb-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    top: -50px;
    left: -50px;
    pointer-events: none;
}

.orb-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

/* -------------------------------------
   Catalog 3D Slider
-------------------------------------- */
.catalog-slider-wrapper {
    overflow: hidden;
}

.product-slide {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transform: translateX(0) scale(0.8);
    left: 50%;
    margin-left: -200px;
    /* Half of width to center */
}

@media (max-width: 768px) {
    .product-slide {
        width: 300px !important;
        margin-left: -150px;
    }
}

.product-slide.slide-center {
    opacity: 1;
    visibility: visible;
    z-index: 3;
    transform: translateX(0) scale(1);
}

.product-slide.slide-center .product-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.product-slide.slide-left {
    opacity: 0.7;
    visibility: visible;
    z-index: 2;
    transform: translateX(-105%) translateY(15%) scale(0.85);
    cursor: pointer;
}

.product-slide.slide-right {
    opacity: 0.7;
    visibility: visible;
    z-index: 2;
    transform: translateX(105%) translateY(15%) scale(0.85);
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-slide.slide-left {
        transform: translateX(-40%) translateY(10%) scale(0.85);
    }

    .product-slide.slide-right {
        transform: translateX(40%) translateY(10%) scale(0.85);
    }
}

/* Hide text for non-center slides */
.product-slide .card-text-content {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 500px;
    opacity: 1;
}

.product-slide:not(.slide-center) .card-text-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    border: none;
    overflow: hidden;
}

.hover-item:hover {
    background-color: #005aa1;
    color: #fff;
    transition: 0.3s;
}