/* Custom Modern Homepage Styles for Goodies Rides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --gr-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --gr-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --gr-navy: #011750;
    --gr-primary: #002C87;
    --gr-primary-hover: #011750;
    --gr-primary-light: #f0f4ff;
    --gr-accent: #BE8C34;
    --gr-accent-hover: #D9A62E;
    --gr-success: #10b981;
    --gr-dark: #011750;
    --gr-dark-surface: #002C87;
    --gr-light-surface: #f8fafc;
    --gr-border: #e2e8f0;
    --gr-shadow-sm: 0 2px 8px rgba(1, 23, 80, 0.04);
    --gr-shadow-md: 0 10px 25px -5px rgba(1, 23, 80, 0.08);
    --gr-shadow-lg: 0 20px 35px -10px rgba(1, 23, 80, 0.12);
    --gr-shadow-glow: 0 12px 30px rgba(0, 44, 135, 0.25);
    
    --gr-radius-sm: 10px;
    --gr-radius-md: 16px;
    --gr-radius-lg: 24px;
    --gr-radius-pill: 9999px;
}


body {
    font-family: var(--gr-font-body) !important;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

#spinner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--gr-font-heading) !important;
    letter-spacing: -0.02em;
    color: var(--gr-dark);
}

/* Glassmorphism Navbar */
.gr-navbar-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.gr-navbar-wrapper.sticky-top,
.gr-navbar-wrapper.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    padding: 0.75rem 0;
}

.gr-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.gr-brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gr-primary) 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: var(--gr-shadow-glow);
}

.gr-brand-text {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--gr-dark);
    margin: 0;
}

.gr-brand-text span {
    color: var(--gr-primary);
}

.gr-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: var(--gr-radius-pill);
    transition: all 0.25s ease;
}

.gr-nav-link:hover,
.gr-nav-link.active {
    color: var(--gr-primary) !important;
    background: var(--gr-primary-light);
}

.gr-btn-primary {
    background: linear-gradient(135deg, var(--gr-primary) 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: var(--gr-radius-pill);
    border: none;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
}

.gr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.45);
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.gr-btn-secondary {
    background: #ffffff;
    color: var(--gr-dark) !important;
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: var(--gr-radius-pill);
    border: 1px solid var(--gr-border);
    box-shadow: var(--gr-shadow-sm);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
}

.gr-btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--gr-primary);
    color: var(--gr-primary) !important;
    box-shadow: var(--gr-shadow-md);
}

.gr-btn-accent {
    background: linear-gradient(135deg, var(--gr-accent) 0%, #ea580c 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: var(--gr-radius-pill);
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.gr-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
}

/* Modern Hero Section */
.gr-hero-section {
    position: relative;
    padding: 9rem 0 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.gr-hero-bg-orb {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(245, 158, 11, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.gr-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(29, 78, 216, 0.08);
    border: 1px solid rgba(29, 78, 216, 0.15);
    border-radius: var(--gr-radius-pill);
    color: var(--gr-primary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.gr-hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.gr-gradient-text {
    background: linear-gradient(135deg, var(--gr-primary) 0%, #2563eb 50%, var(--gr-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gr-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 580px;
}

.gr-hero-img-box {
    position: relative;
    border-radius: var(--gr-radius-lg);
    overflow: hidden;
    box-shadow: var(--gr-shadow-lg);
    border: 4px solid #ffffff;
    background: #ffffff;
    padding: 1rem;
}

.gr-hero-img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.gr-hero-img-box:hover img {
    transform: scale(1.03);
}

.gr-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    border-radius: var(--gr-radius-md);
    box-shadow: var(--gr-shadow-lg);
    border: 1px solid var(--gr-border);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    max-width: 260px;
}

.gr-floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Stats Ribbon */
.gr-stats-section {
    background: var(--gr-dark);
    padding: 4rem 0;
    color: #ffffff;
    position: relative;
    border-radius: var(--gr-radius-lg);
    margin-top: -2rem;
    z-index: 10;
    box-shadow: var(--gr-shadow-lg);
}

.gr-stat-item {
    text-align: center;
    padding: 1rem;
}

.gr-stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-family: var(--gr-font-heading);
}

.gr-stat-number span {
    color: var(--gr-accent);
}

.gr-stat-label {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Section Header */
.gr-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.gr-badge-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gr-primary-light);
    color: var(--gr-primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--gr-radius-pill);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gr-section-title {
    font-size: 2.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.gr-section-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
}

/* Feature Cards */
.gr-feature-card {
    background: #ffffff;
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius-md);
    padding: 2rem;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
}

.gr-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: var(--gr-shadow-lg);
}

.gr-feature-icon-box {
    width: 60px;
    height: 60px;
    background: var(--gr-primary-light);
    color: var(--gr-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.gr-feature-card:hover .gr-feature-icon-box {
    background: var(--gr-primary);
    color: #ffffff;
    box-shadow: var(--gr-shadow-glow);
}

.gr-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gr-feature-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Service Cards */
.gr-service-card {
    background: #ffffff;
    border-radius: var(--gr-radius-md);
    border: 1px solid var(--gr-border);
    overflow: hidden;
    box-shadow: var(--gr-shadow-sm);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gr-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--gr-shadow-lg);
    border-color: rgba(29, 78, 216, 0.25);
}

.gr-service-img-wrapper {
    position: relative;
    height: 230px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid var(--gr-border);
}

.gr-service-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gr-service-card:hover .gr-service-img-wrapper img {
    transform: scale(1.06);
}

.gr-service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--gr-radius-pill);
}

.gr-service-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gr-service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gr-service-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.gr-service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.gr-service-list li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gr-service-list li i {
    color: var(--gr-success);
    font-size: 0.95rem;
}

/* Roadmap / Process Steps */
.gr-process-section {
    background: var(--gr-light-surface);
    padding: 6rem 0;
    border-top: 1px solid var(--gr-border);
    border-bottom: 1px solid var(--gr-border);
}

.gr-step-card {
    background: #ffffff;
    border-radius: var(--gr-radius-md);
    padding: 2rem;
    border: 1px solid var(--gr-border);
    position: relative;
    box-shadow: var(--gr-shadow-sm);
    transition: all 0.3s ease;
}

.gr-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gr-shadow-md);
}

.gr-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gr-primary) 0%, #3b82f6 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--gr-shadow-glow);
}

/* Callback / Lead Form */
.gr-callback-card {
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    box-shadow: var(--gr-shadow-lg);
    border: 1px solid var(--gr-border);
    padding: 3rem;
}

.form-floating .form-control {
    border-radius: var(--gr-radius-sm);
    border: 1px solid var(--gr-border);
}

.form-floating .form-control:focus {
    border-color: var(--gr-primary);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

/* Footer Styling */
.gr-footer {
    background: #090d16;
    color: #94a3b8;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.gr-footer h4, .gr-footer h5 {
    color: #ffffff !important;
}

.gr-footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s ease;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.gr-footer-link:hover {
    color: var(--gr-accent);
    transform: translateX(4px);
}

.gr-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4rem;
    padding-top: 2rem;
    font-size: 0.9rem;
    text-align: center;
    color: #64748b;
}

/* Page Header Banner */
.gr-page-header {
    background: linear-gradient(135deg, var(--gr-dark) 0%, #1e293b 100%);
    padding: 7.5rem 0 4rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.gr-page-header::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.gr-page-header h1 {
    color: #ffffff !important;
    font-size: 2.75rem;
    font-weight: 800;
}

.breadcrumb-item a {
    color: #94a3b8;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--gr-accent);
}

.breadcrumb-item.active {
    color: #ffffff;
}

/* Core Values & Mission */
.gr-value-card {
    background: #ffffff;
    border-radius: var(--gr-radius-md);
    border: 1px solid var(--gr-border);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
}

.gr-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gr-shadow-md);
    border-color: rgba(29, 78, 216, 0.3);
}

.gr-value-icon {
    width: 64px;
    height: 64px;
    background: var(--gr-primary-light);
    color: var(--gr-primary);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

/* Team Card */
.gr-team-card {
    background: #ffffff;
    border-radius: var(--gr-radius-md);
    border: 1px solid var(--gr-border);
    overflow: hidden;
    transition: all 0.35s ease;
    text-align: center;
    padding: 2rem 1.5rem;
}

.gr-team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gr-shadow-lg);
}

.gr-team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gr-primary) 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: var(--gr-shadow-glow);
}

/* FAQ Accordion */
.gr-accordion .accordion-item {
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.gr-accordion .accordion-button {
    font-family: var(--gr-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gr-dark);
    padding: 1.25rem 1.5rem;
}

.gr-accordion .accordion-button:not(.collapsed) {
    background: var(--gr-primary-light);
    color: var(--gr-primary);
    box-shadow: none;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .gr-hero-title {
        font-size: 2.4rem;
    }
    .gr-floating-card {
        display: none;
    }
    .gr-hero-section {
        padding-top: 7rem;
    }
}

/* Authentication Page Styles */
.gr-auth-wrapper {
    min-height: 100vh;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-auth-container {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    box-shadow: var(--gr-shadow-lg);
    border: 1px solid var(--gr-border);
    overflow: hidden;
}

.gr-auth-brand-side {
    background: linear-gradient(135deg, var(--gr-dark) 0%, #1e293b 100%);
    padding: 3.5rem 3rem;
    color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.gr-auth-brand-side::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gr-auth-form-side {
    padding: 3.5rem 3rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gr-input-wrap {
    position: relative;
    margin-bottom: 1.25rem;
}

.gr-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    transition: color 0.25s ease;
}

.gr-input-wrap .form-control {
    padding-left: 46px;
    height: 52px;
    border-radius: var(--gr-radius-sm);
    border: 1px solid var(--gr-border);
    font-size: 0.95rem;
}

.gr-input-wrap .form-control:focus {
    border-color: var(--gr-primary);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.gr-input-wrap .form-control:focus + i,
.gr-input-wrap:focus-within i {
    color: var(--gr-primary);
}

@media (max-width: 991.98px) {
    .gr-auth-brand-side {
        padding: 2.5rem 2rem;
    }
    .gr-auth-form-side {
        padding: 2.5rem 2rem;
    }
}
