/* ====================================
   Design System - CSS Custom Properties
   ==================================== */
:root {
    /* Primary Colors */
    --primary-blue: #0085FF;
    --primary-dark: #002366;
    --primary-light: #E8F4FF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0085FF 0%, #00D4FF 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);

    /* Neutral Colors */
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #F6F9FF;
    --bg-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 133, 255, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 133, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 133, 255, 0.6);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Utility Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

/* ====================================
   Landing Section - Enhanced
   ==================================== */
.landing-section {
    position: relative;
    margin-top: 4rem;
    margin-bottom: 8rem;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: -2rem;
    left: 0;
    z-index: -5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.dots-image {
    height: 20rem;
    position: absolute;
    left: 0rem;
    top: 2rem;
    z-index: 5;
}

.content {
    max-width: 40rem;
    z-index: 5;
    margin-bottom: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.content-heading {
    font-size: 3.5rem;
    font-weight: bold;

    color: #002366;
}

.content-subheading {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    color: #002366;

}

.highlight {
    color: #0085FF;
}

.subtext {
    font-size: 1.25rem;
    color: #757575;
    margin: 2rem 0rem;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: #fff;
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius-full);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 133, 255, 0.4);
    animation: gradient-shift 3s ease infinite;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ====================================
   Value Proposition Cards
   ==================================== */
.value-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 133, 255, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.value-card .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary-blue);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ====================================
   Stats Section
   ==================================== */
.stats-section {
    padding: 4rem 2rem;
    background: var(--gradient-dark);
    color: #fff;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.side-images {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    right: 0;
    top: 1rem;
}

.side-images img {
    margin-bottom: 4rem;
}

.side-images img:last-child {
    margin-bottom: 0;
}

/* Works Section */

.works-section {
    margin-top: 6rem;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtext-inner {
    font-size: 1.25rem;
    margin: 0;
    padding: 1rem 10%;
    color: #696969;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.grid-item {
    background: #ffffff;
    padding: 2rem;
    text-align: center;
    border-radius: 6px;
}

.title {
    font-size: 1.2rem;
    color: #333333;
    margin: 1rem 0;
}

.description {
    font-size: 0.9rem;
    color: #666666;
}

.decorative-paths .path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0.5;
    z-index: -1;
}

.svg-grid-item {
    padding: 0.75rem;
    border-radius: 50%;
    border: 1px solid #0085FF;
    transition: transform 0.3s, box-shadow 0.3s;
}

.svg-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Features Section */

.feature-box {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 75%;
    border: #0085FF 1.5px;
    background-color: #fff;
    border-style: dashed;
    border-radius: 10px;
    padding: 2rem;
}

.feature-box .bigdots {
    height: 8rem;
    width: 8rem;
    transform: rotateX('90');
    z-index: -5;
    margin-top: -8rem;
    left: 100%;
    position: relative;
}

.feature-box .feature-image {
    width: 100%;
}

.feature-box .subtext-inner {
    padding: 0.5rem 10%;
}

ul {
    padding: 0;
    margin: 0;
}

.py-2 {
    list-style-type: disc;
    text-align: left;
    font-size: 1.2rem;
}

/* Hover Card Styling */

.features2-section {
    margin-top: 6rem;
    margin-bottom: 6rem;
    max-width: 75%;
}

.hover-card {
    border-radius: 10px;
    padding: 2rem;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hover-card:hover {
    background-color: #0085ff;
    color: white;
}


.hover-card:hover .icon-container {
    background-color: white;
    color: #0085ff;
    border: 2px solid #0085ff;
}

.hover-card:hover .icon-hover-bg {
    background-color: white;
}

.hover-card .icon-hover-bg {
    transition: all 0.3s ease;
}

/* Text Hover */
.hover-text {
    transition: color 0.3s ease;
}

.icon-container-feature {
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0085ff;
    color: white;
    transition: all 0.3s ease;
}

.hover-card:hover .icon-container-feature {
    background-color: white;
    color: #0085ff;
    border: 2px solid #0085ff;
}

.icon-feature {
    height: 1.5rem;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(231deg) brightness(103%) contrast(104%);
}

.hover-card:hover .icon-feature {
    filter: invert(34%) sepia(58%) saturate(2733%) hue-rotate(193deg) brightness(101%) contrast(110%);
}

.job-feature-box {
    margin-bottom: 6rem;
}

.why-spehre {
    margin-top: 6rem;
    max-width: 90%;
}

.row-why-spehre {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.design-image {
    margin-top: 2rem;
    margin-right: 2rem;
    margin-bottom: 4rem;
    height: 8rem;
    width: 8rem;
}

.design-image-row {
    margin-left: 15%;
}

.join-spehre-section {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.why-spehre-image {
    width: 100%;
    height: 75%;
    margin-bottom: 2rem;
}