:root {
    --primary-color: #f57119;
    --primary-color-hover: #e06010;
    --primary-rgb: 245, 113, 25;
    
    --dark-slate: #0f172a;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    
    --border-color: #e2e8f0;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7; /* Enhanced readability */
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* Crisper text on macOS */
    scroll-behavior: smooth;
    padding-top: 76px; /* For fixed navbar */
}

/* Professional Typography Defaults */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--dark-slate);
}

.display-3 {
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.15 !important;
    font-size: 3.25rem;
}

h2 {
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
}

p {
    margin-bottom: 1.25rem;
}

/* Global button typography */
.btn {
    font-family: var(--font-heading);
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

/* Utilities */
.font-heading {
    font-family: var(--font-heading);
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.text-dark-slate { color: var(--dark-slate) !important; }
.bg-dark-slate { background-color: var(--dark-slate) !important; }

.text-muted { color: var(--text-muted) !important;font-size: 1.0rem !important; }
.bg-light { background-color: var(--bg-light) !important; }

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
}

.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease; }

.tracking-wide { letter-spacing: 0.06em !important; }
.tracking-wider { letter-spacing: 0.12em !important; }
.leading-relaxed { 
    line-height: 1.8 !important; 
    letter-spacing: 0.01em; 
}

.fs-sm { font-size: 0.875rem; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }

.fill-current { fill: currentColor; }

.max-w-700 { max-width: 700px; }
.max-w-900 { max-width: 900px; }

.bg-primary-subtle { background-color: rgba(var(--primary-rgb), 0.1) !important; }
.bg-primary-transparent { background-color: rgba(var(--primary-rgb), 0.2) !important; }

.tag-text {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .section-padding {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.98);
}
.navbar-brand {
    font-size: 2.25rem;
}
.nav-link {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--bg-light);
    min-height: calc(100vh - 76px);
}
.hero-glow {
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0) 70%);
    z-index: 0;
}
.stats-hero h3 {
    letter-spacing: -0.02em;
}

/* Icons & Cards */
.icon-box-primary {
    width: 44px;
    height: 44px;
}
.icon-box-primary-lg {
    width: 48px;
    height: 48px;
}

.service-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}
.service-card:hover .icon-box-hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.shadow-sm-hover:hover {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* Case Studies */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
}

/* Process Timeline (Stepper) */
.timeline-line {
    width: 1px;
    background-color: var(--border-color);
    left: 24px;
}
.timeline-circle {
    width: 48px;
    height: 48px;
    z-index: 2;
}
.start-24px {
    left: 24px;
}

/* Accordion */
.custom-accordion .accordion-button {
    box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bg-white);
    color: var(--dark-slate);
    box-shadow: none;
}
.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* Border radius utility overrides */
.rounded-4 { border-radius: 1rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* Form inputs styling */
.form-control:focus, .form-select:focus {
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

/* Footer & Socials */
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.text-white-70 { color: rgba(255, 255, 255, 0.7); }
.text-white-50 { color: rgba(255, 255, 255, 0.5); }
.hover-white:hover { color: #ffffff !important; }

.social-btn {
    width: 36px;
    height: 36px;
}
.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.05);
    color: white;
}
.whatsapp-float:active {
    transform: scale(0.95);
}

/* Brands Logo Slider */
.logo-slider-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #f8fafc;
    padding: 3rem 0;
}
.logo-slider-container::before,
.logo-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.logo-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, rgba(248,250,252,0) 100%);
}
.logo-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, rgba(248,250,252,0) 100%);
}

.logo-slide-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}
.logo-slide-track.reverse {
    animation: scroll-right 40s linear infinite;
}
.logo-slide-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 110px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.logo-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.logo-slide img {
    max-width: 70%;
    max-height: 60px;
    object-fit: contain;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); } /* gap offset */
}
@keyframes scroll-right {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

/* About Counter Cards */
.about-counter-card {
    border: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 1.25rem !important;
}
.about-counter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.1), 0 5px 15px rgba(0,0,0,0.05) !important;
    border-color: rgba(var(--primary-rgb), 0.2);
}
.about-counter-card .icon-box {
    transition: all 0.3s ease;
}
.about-counter-card:hover .icon-box {
    transform: scale(1.1);
    background-color: var(--primary-color) !important;
    color: white !important;
}
