/* 
   Jagam Technologies - Home Page Styles
*/

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Pillars Dashboard on Hero Banner */
.pillar-dashboard {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.pillar-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.pillar-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.08);
    background: var(--bg-surface);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.pillar-card:hover .pillar-icon {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.pillar-card:nth-child(even) .pillar-icon {
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.15);
}

.pillar-card:nth-child(even):hover .pillar-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.pillar-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.pillar-meta p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Stats Section */
.stats-banner {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 0;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-white), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Home Page Sections */
.intro-text-block {
    max-width: 800px;
    margin: 0 auto;
}

.intro-large-quote {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 1.5rem;
}


.intro-large-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 4rem;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Split Showcase Feature */
.showcase-block {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.problem-side {
    background: rgba(220, 38, 38, 0.03);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.problem-side:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.05);
}

.solution-side {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.solution-side:hover {
    border-color: var(--success);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08);
}

.solution-list,
.problem-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.problem-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.problem-list li::before {
    content: '\F62A';
    /* Bootstrap icon X-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: #bc3327;
}

.solution-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.solution-list li::before {
    content: '\F2E5';
    /* Bootstrap icon Check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Call To Action Banner */
.cta-banner-wrapper {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%),
        var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 0;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

/* Responsive Overrides */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.75rem;
        text-align: center;
    }

    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        text-align: center;
    }

    .pillar-dashboard {
        margin-top: 3rem;
    }

    .cta-banner-wrapper {
        padding: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.75rem;
    }

    .intro-large-quote {
        font-size: 1.4rem;
    }
}

/* Hero Banner Floating Image Animation */
.hero-banner-img {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }

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

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

/* =========================================
   Trusted Clients
   ========================================= */

.glass-card img {
    max-height: 70px;
    width: auto;
    object-fit: contain;

    filter: none;
    opacity: 1;

    transition: all 0.35s ease;
}

.glass-card:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.hero-bg1 {
    opacity: 1;
}

.hero-bg2 {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: background 0.5s ease;
}

/* Light Mode */
:root .hero-overlay,
[data-theme="light"] .hero-overlay {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.94) 15%,
            rgba(255, 255, 255, 0.70) 45%,
            rgba(255, 255, 255, 0.15) 100%);
}

/* Dark Mode */
[data-theme="dark"] .hero-overlay {
    background: linear-gradient(90deg,
            rgba(18, 18, 18, 0.94) 15%,
            rgba(18, 18, 18, 0.70) 45%,
            rgba(18, 18, 18, 0.20) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* =========================================
   Innovation Showcase
   ========================================= */

.innovation-showcase {
    width: 100%;
}

.innovation-label {
    display: inline-block;
    margin-bottom: 0.6rem;
}

.innovation-showcase h2 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.innovation-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.innovation-description {
    line-height: 1.75;
    margin-bottom: 1.5rem;
}


/* =========================================
   Bullet Points + Image Side by Side
   ========================================= */

.innovation-feature-row {
    display: grid;

    /* Bullets on left, image on right */
    grid-template-columns: minmax(0, 1fr) 170px;

    gap: 1.25rem;

    align-items: center;
}


/* =========================================
   Feature Bullets
   ========================================= */

.innovation-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.innovation-feature {
    display: flex;
    align-items: center;

    gap: 0.7rem;

    color: var(--text-light);

    font-size: 0.9rem;
    line-height: 1.35;

    transition: transform 0.25s ease;
}

.innovation-feature i {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(var(--accent-rgb), 0.08);

    border: 1px solid rgba(var(--accent-rgb), 0.18);

    color: var(--accent);

    font-size: 0.95rem;
}

.innovation-feature:hover {
    transform: translateX(4px);
}


/* =========================================
   Innovation Showcase
   ========================================= */

.innovation-showcase {
    width: 100%;
}

.innovation-label {
    display: inline-block;
    margin-bottom: 0.6rem;
}

.innovation-showcase h2 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.innovation-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.innovation-description {
    line-height: 1.75;
    margin-bottom: 1.5rem;
}


/* =========================================
   Features + Image
   ========================================= */

.innovation-feature-row {
    display: grid;

    /* Bullet points on left / image on right */
    grid-template-columns: 360px 155px;

    /* Keep them close together */
    gap: 0.5rem;

    align-items: center;

    /* Do not stretch across the entire column */
    width: fit-content;
    max-width: 100%;
}


/* =========================================
   Feature Bullets
   ========================================= */

.innovation-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.innovation-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.35;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.innovation-feature i {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(var(--accent-rgb), 0.08);

    border: 1px solid rgba(var(--accent-rgb), 0.18);

    color: var(--accent);

    font-size: 0.95rem;
}

.innovation-feature:hover {
    transform: translateX(4px);
}

.innovation-feature:hover i {
    background: rgba(var(--accent-rgb), 0.15);
}


/* =========================================
   Smart Post Box Image
   ========================================= */

.innovation-image-wrapper {
    width: 200px;
    height: 200px;

    margin-left: 0;

    overflow: hidden;

    border-radius: 16px;

    border: 1px solid var(--border-color);

    background: var(--bg-surface);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.innovation-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}

.innovation-image-wrapper:hover {
    transform: translateY(-3px);

    border-color: var(--accent);

    box-shadow:
        0 14px 35px rgba(var(--accent-rgb), 0.15);
}

.innovation-image-wrapper:hover .innovation-image {
    transform: scale(1.04);
}


/* =========================================
   Deployment Information
   ========================================= */

.innovation-deployment {
    display: flex;
    flex-direction: column;

    gap: 0.7rem;

    margin-top: 1.5rem;
    padding-top: 1.25rem;

    border-top: 1px solid var(--border-color);
}

.deployment-item {
    display: flex;
    align-items: flex-start;

    gap: 0.7rem;

    color: var(--text-muted);

    font-size: 0.88rem;
    line-height: 1.5;
}

.deployment-item i {
    flex-shrink: 0;

    margin-top: 0.2rem;

    color: var(--accent);
}

.deployment-item strong {
    color: var(--text-light);
}


/* =========================================
   Dark Mode
   ========================================= */

[data-theme="dark"] .innovation-image-wrapper {
    border-color: rgba(255, 255, 255, 0.10);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35);
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 991.98px) {

    .innovation-feature-row {
        grid-template-columns: minmax(0, 1fr) 145px;
        gap: 0.5rem;
        width: 100%;
    }

    .innovation-image-wrapper {
        width: 145px;
        height: 145px;
    }

}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767.98px) {

    .innovation-feature-row {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .innovation-image-wrapper {
        width: 100%;
        height: 240px;
        margin-top: 0.75rem;
    }

}