/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Box Model Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Full-width layout fix */
header,
main,
section,
footer {
    width: 100%;
    max-width: 100%;
}

:root {
    --color-primary: #714684;
    --color-primary-light: #8b5a9f;
    --color-primary-dark: #583667;
    --color-secondary: #0F172A;
    --color-accent: #FECC00;
    --color-accent-orange: #F39314;
    --color-light: #F8FAFC;
    --color-dark: #111827;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-light);
    color: #334155; /* slate-700 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Gradients */
.gradient-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
}

.gradient-hero {
    background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 50%, #0f172a 100%);
}

.gradient-card-hover:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(113, 70, 132, 0.03) 100%);
}

/* Micro-animations and transitions */
.transition-custom {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.hover-grow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-grow:hover {
    transform: scale(1.03);
}

/* Keyframes & Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

.animate-pulse-soft {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* Infinite client logo slide animation */
@keyframes slide-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-slide-infinite {
    animation: slide-infinite 25s linear infinite;
}

.animate-slide-infinite:hover {
    animation-play-state: paused;
}

/* LightGallery Customizations */
.lg-backdrop {
    background-color: rgba(15, 23, 42, 0.95) !important;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #cbd5e1; /* slate-300 */
    background-color: #ffffff;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(113, 70, 132, 0.15);
}

.form-error {
    color: #ef4444; /* red-500 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* Dynamic job/service content height transitions */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.active {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Navbar Link Uppercase Styling */
.nav-link {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom navigation background filter */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}
.nav-scrolled-dark {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

/* Page content top offset to match header height precisely and eliminate gaps */
main {
    padding-top: 60px !important;
}
@media (min-width: 1024px) {
    main {
        padding-top: 88px !important;
    }
}
