/* ==========================================================================
   Omishtu-Joy Tech Solutions - Home Page Styles
   Based on home.png design specifications
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-serif: 'Playfair Display', serif;

    --color-primary: #00b894;
    --color-primary-dark: #009f75;
    --color-primary-light: #e6f8f4;
    --color-dark-bg: #0b111e;
    --color-dark-card: #161f33;
    --color-dark-card-hover: #1e293b;
    --color-border: #e2e8f0;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Glass Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Stunning Animated Background & Aurora Keyframes
   ========================================================================== */

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(40px, -50px) scale(1.12) rotate(6deg);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.92) rotate(-4deg);
    }
}

@keyframes float-reverse {

    0%,
    100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(-45px, 35px) scale(1.08) rotate(-6deg);
    }

    66% {
        transform: translate(35px, -30px) scale(0.94) rotate(5deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes grid-pan {
    0% {
        background-position: 0 0;
    }

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

@keyframes float-badge-1 {

    0%,
    100% {
        transform: translateY(0px) rotate(-3deg);
    }

    50% {
        transform: translateY(-16px) rotate(-1deg);
    }
}

@keyframes float-badge-2 {

    0%,
    100% {
        transform: translateY(0px) rotate(4deg);
    }

    50% {
        transform: translateY(-20px) rotate(7deg);
    }
}

@keyframes float-badge-3 {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(-5deg);
    }
}

@keyframes dark-aurora {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(60px, -40px) scale(1.3);
        opacity: 0.3;
    }
}

/* Hero Decorative Background */
.hero-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 15%, rgba(0, 184, 148, 0.08) 0%, rgba(14, 165, 233, 0.04) 50%, rgba(255, 255, 255, 0) 80%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Animated Cyber Grid Overlay */
.animated-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0, 184, 148, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 184, 148, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-pan 25s linear infinite;
    mask-image: radial-gradient(circle at 50% 35%, black 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 35%, black 25%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

/* Glowing Aurora Orbs */
.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    pointer-events: none;
    z-index: 0;
}

.aurora-teal {
    width: 550px;
    height: 550px;
    top: -10%;
    left: 10%;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.25) 0%, rgba(0, 184, 148, 0) 70%);
    animation: float-slow 15s ease-in-out infinite;
}

.aurora-blue {
    width: 600px;
    height: 600px;
    top: 5%;
    right: 5%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0) 70%);
    animation: float-reverse 19s ease-in-out infinite;
}

.aurora-purple {
    width: 480px;
    height: 480px;
    top: 35%;
    left: 38%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    animation: pulse-glow 11s ease-in-out infinite;
}

/* Dark Section Aurora Glows */
.aurora-dark-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -20%;
    left: -10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.35) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: dark-aurora 16s ease-in-out infinite;
    z-index: 0;
}

.aurora-dark-2 {
    position: absolute;
    width: 550px;
    height: 550px;
    bottom: -20%;
    right: -10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    animation: dark-aurora 20s ease-in-out infinite reverse;
    z-index: 0;
}

/* ==========================================================================
   Hero Section Exact Clone Styles (Matches Screenshot)
   ========================================================================== */

/* The 4 Large Floating White Background Cards */
.hero-card-clone {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(241, 245, 249, 0.95);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 40px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  transition: all 0.5s ease-out;
}

.hero-card-1 {
  width: 350px;
  height: 350px;
  border-radius: 44px;
  top: 6%;
  left: 6%;
  transform: rotate(-14deg);
  animation: float-shape-1 9s ease-in-out infinite;
  z-index: 1;
}

.hero-card-2 {
  width: 250px;
  height: 290px;
  border-radius: 36px;
  bottom: 8%;
  left: 12%;
  transform: rotate(6deg);
  animation: float-shape-2 11s ease-in-out infinite;
  z-index: 1;
}

.hero-card-3 {
  width: 420px;
  height: 420px;
  border-radius: 56px;
  top: 4%;
  right: 4%;
  transform: rotate(8deg);
  animation: float-shape-3 10s ease-in-out infinite;
  z-index: 1;
}

.hero-card-4 {
  width: 320px;
  height: 320px;
  border-radius: 48px;
  bottom: -2%;
  right: 12%;
  transform: rotate(-28deg);
  animation: float-shape-1 12s ease-in-out infinite reverse;
  z-index: 1;
}

/* Floating Soft Teal Dots in Hero Background */
.hero-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #7ee7c8;
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 12px rgba(126, 231, 200, 0.6);
}

.hero-dot-1 {
  top: 32%;
  right: 22%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-dot-2 {
  bottom: 35%;
  left: 23%;
  animation: pulse-glow 5s ease-in-out infinite 1s;
}

.hero-dot-3 {
  bottom: 15%;
  right: 30%;
  animation: pulse-glow 6s ease-in-out infinite 2s;
}

/* Title Word Highlight Box (Behind 'Systems') */
.hero-title-highlight {
  position: relative;
  display: inline-block;
  color: #0f172a;
  z-index: 10;
}

.hero-title-highlight::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 10%;
  height: 45%;
  background: linear-gradient(90deg, #008f68 0%, #7ee7c8 100%);
  z-index: -1;
  border-radius: 4px;
}

/* Cloned Hero Buttons */
.btn-hero-primary {
  background: linear-gradient(90deg, #00b894 0%, #00d2ff 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -5px rgba(0, 200, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(0, 200, 255, 0.6);
  background: linear-gradient(90deg, #00c69f 0%, #1ae0ff 100%);
  color: #ffffff;
}

.btn-hero-secondary {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

/* Button Gradients & Hover Effects */
.btn-primary {
    background: linear-gradient(135deg, #00b894 0%, #009f75 100%);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(0, 184, 148, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.45);
    background: linear-gradient(135deg, #00c49f 0%, #00a87d 100%);
}

.btn-secondary {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Card Hover Enhancements */
.capability-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 30px -10px rgba(0, 184, 148, 0.15);
}

.capability-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.capability-card:hover .capability-icon-box {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

/* Challenge Cards (Dark Section) */
.challenge-card {
    background-color: var(--color-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.challenge-card:hover {
    background-color: var(--color-dark-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 184, 148, 0.2);
}

.challenge-cta-card {
    background: linear-gradient(135deg, #008f68 0%, #047857 100%);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 143, 104, 0.4);
}

.challenge-cta-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(0, 143, 104, 0.6);
    background: linear-gradient(135deg, #009e73 0%, #058862 100%);
}

/* Case Study Cards */
.project-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.project-preview {
    background: #f1f5f9;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-card:hover .project-preview {
    background: #e2e8f0;
}

/* Workflow Timeline Connectors */
.workflow-step {
    position: relative;
    z-index: 1;
}

.workflow-connector {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%);
    transform: translateY(-50%);
    z-index: 0;
}

@media (max-width: 1024px) {
    .workflow-connector {
        display: none;
    }
}

.workflow-box {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 110px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.workflow-box.highlight {
    border: 2px solid #0f172a;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    transform: scale(1.08);
    background: #fafcff;
}

.workflow-box:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.workflow-box.highlight:hover {
    transform: scale(1.08) translateY(-4px);
}

/* Lifecycle Accordion Rows */
.lifecycle-row {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 22px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.lifecycle-row:hover {
    background: #fcfdfe;
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px -5px rgba(0, 184, 148, 0.08);
    transform: translateX(6px);
}

.lifecycle-number {
    font-family: var(--font-mono);
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.lifecycle-row:hover .lifecycle-number {
    color: var(--color-primary);
    font-weight: 500;
}

/* Testimonial Cards & Quote Watermark */
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.quote-watermark {
    position: absolute;
    top: 10px;
    right: 24px;
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1;
    color: #f1f5f9;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    transition: color 0.3s ease;
}

.testimonial-card:hover .quote-watermark {
    color: #e2e8f0;
}

.author-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: -0.5px;
}

.author-badge.primary {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

/* CTA Banner Container */
.cta-banner {
    background: linear-gradient(145deg, #0b111e 0%, #162034 100%);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(11, 17, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Footer Styling */
.footer-dark {
    background-color: #121824;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-link {
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}