/* Self-hosted Inter font */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url('../fonts/inter/inter-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/inter/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('../fonts/inter/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('../fonts/inter/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('../fonts/inter/inter-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('../fonts/inter/inter-latin-800-normal.woff2') format('woff2');
}

/* Modern Typography - Inter is loaded via Google Fonts */
:root {
    --brand-orange: #eb6928;
    --brand-blue: #ea580c; /* Deep Orange instead of Blue */
    --brand-navy: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-dark-bg: rgba(15, 23, 42, 0.6);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
}

.text-brand-orange {
    color: var(--brand-orange) !important;
}

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

/* Offset for fixed navbar when navigating to anchors */
[id] {
    scroll-margin-top: 120px;
}


/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-dark-border);
}

/* Advanced Backgrounds */
.mesh-gradient {
    background: radial-gradient(at 0% 0%, rgba(235, 105, 40, 0.1) 0, transparent 50%),
                radial-gradient(at 100% 100%, rgba(71, 138, 201, 0.1) 0, transparent 50%);
}

.text-gradient {
    background: linear-gradient(to right, #eb6928, #ff8c42);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Component Styles */
.btn-premium {
    background: var(--brand-orange);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(235, 105, 40, 0.3);
    filter: brightness(1.1);
}

.btn-cta-orange {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--brand-orange) !important;
    color: white !important;
    font-weight: 700;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(235, 105, 40, 0.3);
}

.btn-cta-orange:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 15px 30px -5px rgba(235, 105, 40, 0.4);
}

.card-rich {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.card-rich:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.1);
    border-color: rgba(235, 105, 40, 0.2);
}

/* Video Containers */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-orange);
}

/* Bento Grid Specifics */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

/* Timeline Component */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    border-left: 2px solid rgba(235, 105, 40, 0.2);
    padding-bottom: 3rem;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #eb6928;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(235, 105, 40, 0.1);
}

.timeline-item:hover {
    border-left-color: #eb6928;
}

/* Tech Chips */
.tech-chip {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(235, 105, 40, 0.1);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tech-chip:hover {
    background: #eb6928;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(235, 105, 40, 0.3);
}

/* Case Study Highlights */
.outcome-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Carousel & Scroll Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-start {
    scroll-snap-align: start;
}

/* Carousel Navigation */
.carousel-nav-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px border rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-nav-btn:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(235, 105, 40, 0.3);
}

.carousel-nav-btn:active {
    transform: translateY(0);
}

.carousel-nav-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Unified Navbar Styles */
.nav-dark .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-dark .nav-link:hover {
    color: var(--brand-orange) !important;
}

.nav-dark #mobile-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-dark .logo-light {
    display: block;
    filter: invert(1) hue-rotate(180deg) brightness(1.4);
}

.nav-dark .logo-dark {
    display: none;
}

#navbar .logo-light {
    display: none;
}

#navbar .logo-dark {
    display: block;
}
