﻿/* ATAPIC Home page specific styles */

/* Hero Section */
.hero-section {
    padding: 7rem 0 4rem;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

    .hero-section h1 {
        color: var(--secondary);
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.2;
    }

.hero-subtitle {
    color: var(--gray-600);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

    .hero-image img {
        max-width: 100%;
        border-radius: 1rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Trust Badges */
.trust-badges {
    margin-top: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

    .badge-item i {
        color: var(--primary);
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }

/* Secondary Hero Banner */
.secondary-hero {
    background-color: var(--dark);
    padding: 2rem 0;
}

    .secondary-hero h2 {
        color: white;
        margin-bottom: 0;
    }

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background-color: white;
}

/* ML Training Section */
.ml-training {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.ml-graphics {
    position: relative;
    transition: all 0.5s ease;
}

    .ml-graphics img {
        border-radius: 1rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: all 0.5s ease;
    }

    .ml-graphics:hover img {
        transform: translateY(-10px);
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
    }

.ml-benefits {
    list-style: none;
    padding: 0;
}

    .ml-benefits li {
        margin-bottom: 1.5rem;
        display: flex;
        align-items: flex-start;
    }

    .ml-benefits i {
        color: var(--primary);
        margin-right: 1rem;
        font-size: 1.2rem;
        flex-shrink: 0;
        margin-top: 0.25rem;
    }

    .ml-benefits strong {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--secondary);
        font-size: 1.1rem;
    }

    .ml-benefits p {
        color: var(--gray-600);
        margin: 0;
    }

/* About Section - Custom Accordion */
.about.section {
    padding: 5rem 0;
    background-color: white;
}

.custom-accordion .accordion-item {
    border-radius: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.custom-accordion .accordion-button {
    padding: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    background-color: white;
}

    .custom-accordion .accordion-button:not(.collapsed) {
        color: var(--primary);
        background-color: var(--primary-light);
        box-shadow: none;
    }

    .custom-accordion .accordion-button:focus {
        box-shadow: none;
        border-color: var(--primary-light);
    }

.custom-accordion .accordion-body {
    padding: 1.25rem;
    color: var(--gray-600);
}

/* Showcase Section */
.showcase-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.feature-image-wrapper {
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .feature-image-wrapper img {
        width: 100%;
        transition: transform 0.5s ease;
    }

.feature-card:hover .feature-image-wrapper img {
    transform: scale(1.05);
}

/* Central Hub Styling */
.central-hub {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 3rem auto 0;
    z-index: 2;
}

.hub-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #103140, #0b2530);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 161, 167, 0.3);
    border: 2px solid rgba(0, 161, 167, 0.5);
}

.hub-icon {
    font-size: 3rem;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 161, 167, 0.7);
}

.hub-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(0, 161, 167, 0.5);
    animation: pulse 3s infinite;
}

.hub-label {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 100%;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: white;
}

/* AI Agents Section - Special Styles for Color Variants */
.security-icon i {
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.security-icon {
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 204, 0, 0.2);
}

    .security-icon .icon-glow {
        background: radial-gradient(circle, rgba(255, 204, 0, 0.2) 0%, transparent 70%);
    }

.remote-icon i {
    color: #00e676;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

.remote-icon {
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 230, 118, 0.2);
}

    .remote-icon .icon-glow {
        background: radial-gradient(circle, rgba(0, 230, 118, 0.2) 0%, transparent 70%);
    }

.support-icon i {
    color: #ff5252;
    text-shadow: 0 0 10px rgba(255, 82, 82, 0.5);
}

.support-icon {
    border-color: rgba(255, 82, 82, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 82, 82, 0.2);
}

    .support-icon .icon-glow {
        background: radial-gradient(circle, rgba(255, 82, 82, 0.2) 0%, transparent 70%);
    }

.inventory-icon i {
    color: #aa00ff;
    text-shadow: 0 0 10px rgba(170, 0, 255, 0.5);
}

.inventory-icon {
    border-color: rgba(170, 0, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(170, 0, 255, 0.2);
}

    .inventory-icon .icon-glow {
        background: radial-gradient(circle, rgba(170, 0, 255, 0.2) 0%, transparent 70%);
    }

.analytics-icon i {
    color: #64b5f6;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

.analytics-icon {
    border-color: rgba(100, 181, 246, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(100, 181, 246, 0.2);
}

    .analytics-icon .icon-glow {
        background: radial-gradient(circle, rgba(100, 181, 246, 0.2) 0%, transparent 70%);
    }

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .central-hub {
        width: 120px;
        height: 120px;
    }

    .hub-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 5rem 0 2rem;
    }

    .ml-graphics {
        margin-bottom: 2rem;
    }

    .custom-accordion {
        margin-bottom: 2rem;
    }

    .central-hub {
        width: 100px;
        height: 100px;
    }

    .hub-icon {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .badge-item {
        width: 100%;
    }

    .central-hub {
        width: 80px;
        height: 80px;
    }

    .hub-icon {
        font-size: 1.75rem;
    }
}

/* Utility Classes */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .py-6 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.z-1 {
    z-index: 1;
}

.rounded-4 {
    border-radius: 1rem;
}

.animated-element {
    transition: all 0.5s ease;
}
.feature-swiper {
    padding: 20px 0 50px;
}

.swiper-slide {
    height: auto;
    transition: transform 0.3s ease;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
}

.feature-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    }



/* How It Works - Clickable Cards */
.how-it-works-section .feature-card {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.how-it-works-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,179,212,0.05), rgba(23,162,184,0.05));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.how-it-works-section .feature-card:hover::before {
    opacity: 1;
}

.how-it-works-section .feature-card > * {
    position: relative;
    z-index: 2;
}

/* Active card styling */
.how-it-works-section .feature-card.active {
    border-color: #00b3d4;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
    box-shadow: 0 8px 30px rgba(0,179,212,0.2);
    transform: translateY(-8px);
}

    .how-it-works-section .feature-card.active .feature-icon {
        background: linear-gradient(135deg, #00b3d4, #00c5d7);
        color: white;
        box-shadow: 0 8px 25px rgba(0,179,212,0.4);
    }

/* Bounce hint animation for non-active cards */
.how-it-works-section .feature-card.bounce-hint {
    animation: bounceHint 2s ease-in-out infinite;
}

@keyframes bounceHint {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Stop bouncing on hover */
.how-it-works-section .feature-card.bounce-hint:hover {
    animation: none;
    transform: translateY(-10px);
}

/* Click indicator */
.click-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00b3d4;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
}

.how-it-works-section .feature-card:not(.active) .click-indicator {
    opacity: 1;
}

.how-it-works-section .feature-card.active .click-indicator {
    opacity: 0;
}

.click-indicator i {
    font-size: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Benefits Content Switching */
/* REPLACE this CSS block in your <style> section */

/* Benefits Content Switching - FIXED VERSION */
.benefits-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* REMOVE absolute positioning that's hiding content */
    display: none; /* Use display instead */
}

    .benefits-content.active {
        opacity: 1;
        transform: translateY(0);
        display: block; /* Show active content */
        pointer-events: all;
    }

        /* Fix for benefit cards animation */
        .benefits-content.active .benefit-card {
            opacity: 1;
            transform: translateY(0);
            animation: slideInUp 0.6s ease forwards;
        }

/* Remove the conflicting fallback animation */
.benefit-card {
    opacity: 1; /* Make sure cards are visible by default */
    transform: translateY(0);
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 179, 212, 0.08);
    border: 1px solid rgba(0, 179, 212, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

}

.benefits-content.active .benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefits-content.active .benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefits-content.active .benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefits-content.active .benefit-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transitions for title and subtitle changes */
#benefits-title, #benefits-subtitle, #cta-title, #cta-description {
    transition: all 0.3s ease;
}

/* Enhanced feature icon styling */
.how-it-works-section .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #6c757d;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .how-it-works-section .feature-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

.how-it-works-section .feature-card:hover .feature-icon::before {
    transform: translateX(100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-it-works-section .feature-card {
        margin-bottom: 1.5rem;
    }

    .click-indicator {
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }

    .how-it-works-section .feature-card:not(.active) .click-indicator {
        opacity: 0.8;
    }
}

.benefits-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

    .benefits-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,179,212,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.5;
    }

.benefits-stack {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 179, 212, 0.08);
    border: 1px solid rgba(0, 179, 212, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #00b3d4, #00c5d7, #17a2b8);
        border-radius: 20px 20px 0 0;
    }

    .benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 50px rgba(0, 179, 212, 0.2);
        border-color: rgba(0, 179, 212, 0.3);
    }

.benefit-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

.benefit-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00b3d4, #00c5d7);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 179, 212, 0.3);
    position: relative;
    overflow: hidden;
}

    .benefit-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

.benefit-card:hover .benefit-icon::before {
    transform: translateX(100%);
}

.benefit-text {
    flex: 1;
    width: 100%;
}

.benefit-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.benefit-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 179, 212, 0.1);
    color: #00b3d4;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(0, 179, 212, 0.2);
    transition: all 0.3s ease;
}

    .stat-item:hover {
        background: rgba(0, 179, 212, 0.15);
        transform: translateY(-2px);
    }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Brand color overrides for buttons */
.
/* Section title and badge styling */
.badge.bg-primary {
    background: linear-gradient(135deg, #00b3d4, #00c5d7) !important;
}

.section-title {
    color: #212529;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .benefit-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .benefit-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .benefit-title {
        font-size: 1.5rem;
    }

    .benefit-description {
        font-size: 1.1rem;
    }

    .benefit-stats {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 300px;
        }
}

@media (max-width: 576px) {
    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-title {
        font-size: 1.25rem;
    }

    .benefit-description {
        font-size: 1rem;
    }

    .stat-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* AOS Animation Fallback */
.benefit-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

    .benefit-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .benefit-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .benefit-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .benefit-card:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* If AOS is available, remove the fallback animation */
[data-aos] {
    animation: none !important;
    opacity: 1;
    transform: none;
}
/* Additional CSS for the new choose-your-path section */
.choose-path-section {
    background: #f8f9fa;
}

.path-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .path-card:hover {
        transform: translateY(-5px);
        border-color: var(--bs-primary);
        box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
    }

.path-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), #007bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto;
}

.path-title {
    font-weight: 600;
    color: #333;
}

.path-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.choose-path-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* Agent pod styling for Smart Outreach */
.outreach-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

    .outreach-icon .icon-glow {
        background: rgba(255, 107, 107, 0.3);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .path-card {
        margin-bottom: 1rem;
    }

    .choose-path-image {
        margin-top: 2rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Enhanced CTA section styling */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

    .cta-buttons .btn {
        min-width: 200px;
    }

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 300px;
        }
}

/* Fix for typed text layout shifting */
.typed-text-container {
    min-height: 4.5rem; /* Adjust based on your font size */
    display: flex;
    align-items: flex-start; /* or center if you prefer */
    margin-bottom: 1.5rem;
}

.typed-text {
    line-height: 1.2;
    /* Ensure consistent spacing */
}

/* Alternative: Reserve space for the entire hero content */
.choose-path-section .col-lg-6:first-child {
    min-height: 600px; /* Reserve minimum space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Prevent layout shifts in hero section */
.hero-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-text-section {
    flex: 0 0 auto; /* Don't grow/shrink */
    min-height: 5rem; /* Reserve space for typed text */
}