/* ==================================================
   Growth Consultancy - Custom Styles
   ================================================== */

/* ----- CSS Custom Properties ----- */
:root {
    /* Primary Colors */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-slate-950: #020617;

    /* Accent Colors */
    --color-accent: #dc2626;
    --color-success: #16a34a;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-section: 6rem;
    --spacing-container: 1.5rem;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Hero Section Styles ----- */
.hero-section {
    background: #0a1628;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #c9a227 0%, #dbb84a 40%, #f0d878 60%, #c9a227 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s ease-in-out infinite;
}

@keyframes shimmerText {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* Hero Grid Pattern */
.hero-grid-pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Hero Floating Animations */
@keyframes heroFloat1 {

    0%,
    100% {
        transform: translateY(0) rotate(12deg);
    }

    50% {
        transform: translateY(-20px) rotate(18deg);
    }
}

@keyframes heroFloat2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes heroFloat3 {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes heroCardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes heroProgressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 78%;
    }
}

.hero-float-1 {
    animation: heroFloat1 8s ease-in-out infinite;
}

.hero-float-2 {
    animation: heroFloat2 6s ease-in-out infinite;
}

.hero-float-3 {
    animation: heroFloat3 4s ease-in-out infinite;
}

.hero-glow-orb {
    animation: heroGlow 6s ease-in-out infinite;
}

.hero-glow-orb-2 {
    animation: heroGlow 8s ease-in-out infinite 2s;
}

/* Hero Cards */
.hero-cards-container {
    min-height: 480px;
}

.hero-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card-main {
    animation: heroCardFloat 7s ease-in-out infinite;
}

.hero-card-secondary {
    animation: heroCardFloat 7s ease-in-out infinite 1.5s;
}

.hero-card-tertiary {
    animation: heroCardFloat 7s ease-in-out infinite 3s;
}

.hero-progress-bar {
    animation: heroProgressFill 2s ease-out 0.8s forwards;
}

/* Hero Service Pills */
.hero-pill {
    transition: all 0.3s ease;
}

.hero-pill:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.3);
    color: #c9a227;
    transform: translateY(-1px);
}

/* Hero Content Animation */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tag-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero CTA Buttons */
.hero-cta-primary {
    transition: all 0.3s ease;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(201, 162, 39, 0.4);
}

.hero-cta-secondary {
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    transform: translateY(-2px);
}

/* Ping animation for the status dot */
@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ----- Base Styles ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ----- Typography Utilities ----- */
.font-display {
    font-family: var(--font-display);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
}

/* ----- Animation Keyframes ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ----- Animation Classes ----- */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ----- Focus Styles for Accessibility ----- */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ----- Form Styles ----- */
input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-slate-400);
}

/* ----- Button Hover Effects ----- */
.btn-primary {
    transition: all var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ----- Card Hover Effects ----- */
.card-hover {
    transition: all var(--transition-base);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

/* ----- Icon Transitions ----- */
.icon-transition {
    transition: all var(--transition-base);
}

.group:hover .icon-transition {
    transform: translateX(4px);
}

/* ----- FAQ Accordion Styles ----- */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-icon {
    transition: transform var(--transition-base);
}

/* ----- Image Cover Utility ----- */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Gradient Overlays ----- */
.gradient-overlay {
    background: linear-gradient(to right,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.7) 50%,
            transparent 100%);
}

/* ----- Statistics Card Animation ----- */
.stat-card {
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
}

/* ----- Testimonial Card Styles ----- */
.testimonial-card {
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ----- Mobile Menu Animation ----- */
.mobile-menu {
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ----- Responsive Container Padding ----- */
@media (max-width: 640px) {
    :root {
        --spacing-section: 4rem;
        --spacing-container: 1rem;
    }
}

/* ----- Selection Styles ----- */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ----- Custom Scrollbar ----- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-slate-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-slate-500);
}